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;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel