comparison src/event/ngx_event_openssl.c @ 4720:e92582b7da05 stable-1.2

Merge of r4652: ssl without buffer should not set c->buffered. Removed mistaken setting of NGX_SSL_BUFFERED flag in ngx_ssl_send_chain() if SSL buffer is not used.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 02 Jul 2012 15:51:02 +0000
parents 56c98fb06bb3
children b43fe2deb053
comparison
equal deleted inserted replaced
4719:1eab1a2c661e 4720:e92582b7da05
988 if (n == NGX_ERROR) { 988 if (n == NGX_ERROR) {
989 return NGX_CHAIN_ERROR; 989 return NGX_CHAIN_ERROR;
990 } 990 }
991 991
992 if (n == NGX_AGAIN) { 992 if (n == NGX_AGAIN) {
993 c->buffered |= NGX_SSL_BUFFERED;
994 return in; 993 return in;
995 } 994 }
996 995
997 in->buf->pos += n; 996 in->buf->pos += n;
998 c->sent += n; 997 c->sent += n;