changeset 5019:69693a098655

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.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 28 Jan 2013 15:35:12 +0000
parents 0ea36741bb35
children 587dbe2edc5f
files src/event/ngx_event_openssl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -1232,6 +1232,8 @@ ngx_ssl_send_chain(ngx_connection_t *c, 
             break;
         }
 
+        flush = 0;
+
         buf->pos = buf->start;
         buf->last = buf->start;