aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2014-11-19 21:16:19 +0300
committerValentin Bartenev <vbart@nginx.com>2014-11-19 21:16:19 +0300
commit41ed9734561fc957a64ca7e4dab5a8c6e3ac3c0b (patch)
treee9cff324d0e8936c25ad8218ac8f7aa155185ecc /src/os/unix
parent3ecac9eaba3b1392523ca36554b4db1405fbf914 (diff)
downloadnginx-41ed9734561fc957a64ca7e4dab5a8c6e3ac3c0b.tar.gz
nginx-41ed9734561fc957a64ca7e4dab5a8c6e3ac3c0b.zip
Renamed ngx_handle_sent_chain() to ngx_chain_update_sent().
No functional changes.
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_darwin_sendfile_chain.c2
-rw-r--r--src/os/unix/ngx_freebsd_sendfile_chain.c2
-rw-r--r--src/os/unix/ngx_linux_sendfile_chain.c2
-rw-r--r--src/os/unix/ngx_solaris_sendfilev_chain.c2
-rw-r--r--src/os/unix/ngx_writev_chain.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/os/unix/ngx_darwin_sendfile_chain.c b/src/os/unix/ngx_darwin_sendfile_chain.c
index 8485f9749..d28f6e150 100644
--- a/src/os/unix/ngx_darwin_sendfile_chain.c
+++ b/src/os/unix/ngx_darwin_sendfile_chain.c
@@ -305,7 +305,7 @@ ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent;
- in = ngx_handle_sent_chain(in, sent);
+ in = ngx_chain_update_sent(in, sent);
if (eintr) {
send = prev_send + sent;
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c
index 88eacc2d1..666e0c57b 100644
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c
+++ b/src/os/unix/ngx_freebsd_sendfile_chain.c
@@ -356,7 +356,7 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent;
- in = ngx_handle_sent_chain(in, sent);
+ in = ngx_chain_update_sent(in, sent);
#if (NGX_HAVE_AIO_SENDFILE)
if (c->busy_sendfile) {
diff --git a/src/os/unix/ngx_linux_sendfile_chain.c b/src/os/unix/ngx_linux_sendfile_chain.c
index 60867c51e..99d00bfea 100644
--- a/src/os/unix/ngx_linux_sendfile_chain.c
+++ b/src/os/unix/ngx_linux_sendfile_chain.c
@@ -313,7 +313,7 @@ ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent;
- in = ngx_handle_sent_chain(in, sent);
+ in = ngx_chain_update_sent(in, sent);
if (eintr) {
send = prev_send;
diff --git a/src/os/unix/ngx_solaris_sendfilev_chain.c b/src/os/unix/ngx_solaris_sendfilev_chain.c
index 1b71f1dd8..e618379a7 100644
--- a/src/os/unix/ngx_solaris_sendfilev_chain.c
+++ b/src/os/unix/ngx_solaris_sendfilev_chain.c
@@ -197,7 +197,7 @@ ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent;
- in = ngx_handle_sent_chain(in, sent);
+ in = ngx_chain_update_sent(in, sent);
if (eintr) {
send = prev_send + sent;
diff --git a/src/os/unix/ngx_writev_chain.c b/src/os/unix/ngx_writev_chain.c
index c7b6ebf7c..2f5b175ae 100644
--- a/src/os/unix/ngx_writev_chain.c
+++ b/src/os/unix/ngx_writev_chain.c
@@ -131,7 +131,7 @@ ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent;
- in = ngx_handle_sent_chain(in, sent);
+ in = ngx_chain_update_sent(in, sent);
if (eintr) {
send = prev_send;