[nginx] svn commit: r5020 - trunk/src/event
vbart at nginx.com
vbart at nginx.com
Mon Jan 28 15:35:13 UTC 2013
Author: vbart
Date: 2013-01-28 15:35:12 +0000 (Mon, 28 Jan 2013)
New Revision: 5020
URL: http://trac.nginx.org/nginx/changeset/5020/nginx
Log:
SSL: resetting of flush flag after the data was written.
There is no need to flush next chunk of data if it does not contain a buffer
with the flush or last_buf flags set.
Modified:
trunk/src/event/ngx_event_openssl.c
Modified: trunk/src/event/ngx_event_openssl.c
===================================================================
--- trunk/src/event/ngx_event_openssl.c 2013-01-28 15:34:09 UTC (rev 5019)
+++ trunk/src/event/ngx_event_openssl.c 2013-01-28 15:35:12 UTC (rev 5020)
@@ -1232,6 +1232,8 @@
break;
}
+ flush = 0;
+
buf->pos = buf->start;
buf->last = buf->start;
More information about the nginx-devel
mailing list