mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
Renamed ngx_handle_sent_chain() to ngx_chain_update_sent().
No functional changes.
This commit is contained in:
parent
3ecac9eaba
commit
41ed973456
@ -221,7 +221,7 @@ ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free, ngx_chain_t **busy,
|
||||
|
||||
|
||||
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;
|
||||
|
||||
|
@ -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,
|
||||
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_ */
|
||||
|
@ -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;
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -113,7 +113,7 @@ ngx_wsasend_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 (send - prev_send != sent) {
|
||||
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;
|
||||
|
||||
in = ngx_handle_sent_chain(in, sent);
|
||||
in = ngx_chain_update_sent(in, sent);
|
||||
|
||||
if (in) {
|
||||
wev->ready = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user