comparison src/event/ngx_event_openssl.c @ 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
comparison
equal deleted inserted replaced
5018:0ea36741bb35 5019:69693a098655
1229 c->sent += n; 1229 c->sent += n;
1230 1230
1231 if (n < size) { 1231 if (n < size) {
1232 break; 1232 break;
1233 } 1233 }
1234
1235 flush = 0;
1234 1236
1235 buf->pos = buf->start; 1237 buf->pos = buf->start;
1236 buf->last = buf->start; 1238 buf->last = buf->start;
1237 1239
1238 if (in == NULL || send == limit) { 1240 if (in == NULL || send == limit) {