Renamed ngx_handle_sent_chain() to ngx_chain_update_sent().

No functional changes.
This commit is contained in:
Valentin Bartenev 2014-11-19 21:16:19 +03:00
parent 3ecac9eaba
commit 41ed973456
8 changed files with 9 additions and 9 deletions

View File

@ -221,7 +221,7 @@ ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free, ngx_chain_t **busy,
ngx_chain_t * ngx_chain_t *
ngx_handle_sent_chain(ngx_chain_t *in, off_t sent) ngx_chain_update_sent(ngx_chain_t *in, off_t sent)
{ {
off_t size; off_t size;

View File

@ -158,6 +158,6 @@ ngx_chain_t *ngx_chain_get_free_buf(ngx_pool_t *p, ngx_chain_t **free);
void ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free, void ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free,
ngx_chain_t **busy, ngx_chain_t **out, ngx_buf_tag_t tag); ngx_chain_t **busy, ngx_chain_t **out, ngx_buf_tag_t tag);
ngx_chain_t *ngx_handle_sent_chain(ngx_chain_t *in, off_t sent); ngx_chain_t *ngx_chain_update_sent(ngx_chain_t *in, off_t sent);
#endif /* _NGX_BUF_H_INCLUDED_ */ #endif /* _NGX_BUF_H_INCLUDED_ */

View File

@ -305,7 +305,7 @@ ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (eintr) { if (eintr) {
send = prev_send + sent; send = prev_send + sent;

View File

@ -356,7 +356,7 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
#if (NGX_HAVE_AIO_SENDFILE) #if (NGX_HAVE_AIO_SENDFILE)
if (c->busy_sendfile) { if (c->busy_sendfile) {

View File

@ -313,7 +313,7 @@ ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (eintr) { if (eintr) {
send = prev_send; send = prev_send;

View File

@ -197,7 +197,7 @@ ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (eintr) { if (eintr) {
send = prev_send + sent; send = prev_send + sent;

View File

@ -131,7 +131,7 @@ ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (eintr) { if (eintr) {
send = prev_send; send = prev_send;

View File

@ -113,7 +113,7 @@ ngx_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (send - prev_send != sent) { if (send - prev_send != sent) {
wev->ready = 0; wev->ready = 0;
@ -279,7 +279,7 @@ ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->sent += sent; c->sent += sent;
in = ngx_handle_sent_chain(in, sent); in = ngx_chain_update_sent(in, sent);
if (in) { if (in) {
wev->ready = 0; wev->ready = 0;