Klaus Demo nginx / 733e6d2
SSL: take into account data in the buffer while limiting output. In some rare cases this can result in a more smooth sending rate. Valentin Bartenev 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11671167 buf->end = buf->start + NGX_SSL_BUFSIZE;
11681168 }
11691169
1170 send = 0;
1170 send = buf->last - buf->pos;
11711171 flush = (in == NULL) ? 1 : buf->flush;
11721172
11731173 for ( ;; ) {