[nginx] svn commit: r4630 - trunk/src/event

vbart at nginx.com vbart at nginx.com
Mon May 14 16:30:34 UTC 2012


Author: vbart
Date: 2012-05-14 16:30:33 +0000 (Mon, 14 May 2012)
New Revision: 4630
URL: http://trac.nginx.org/nginx/changeset/4630/nginx

Log:
Update c->sent in ngx_ssl_send_chain() even if SSL buffer is not used.


Modified:
   trunk/src/event/ngx_event_openssl.c

Modified: trunk/src/event/ngx_event_openssl.c
===================================================================
--- trunk/src/event/ngx_event_openssl.c	2012-05-14 15:52:37 UTC (rev 4629)
+++ trunk/src/event/ngx_event_openssl.c	2012-05-14 16:30:33 UTC (rev 4630)
@@ -995,6 +995,7 @@
             }
 
             in->buf->pos += n;
+            c->sent += n;
 
             if (in->buf->pos == in->buf->last) {
                 in = in->next;



More information about the nginx-devel mailing list