comparison src/event/ngx_event_openssl.c @ 1756:f28ba0f698f3

remove SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER, we never need it, the "bad write retry" error was caused by SSL_shutdown() error
author Igor Sysoev <igor@sysoev.ru>
date Thu, 20 Dec 2007 13:49:07 +0000
parents 59e36c1c6296
children 7ab8bd535eed
comparison
equal deleted inserted replaced
1755:59e36c1c6296 1756:f28ba0f698f3
184 184
185 185
186 if (ngx_ssl_protocols[protocols >> 1] != 0) { 186 if (ngx_ssl_protocols[protocols >> 1] != 0) {
187 SSL_CTX_set_options(ssl->ctx, ngx_ssl_protocols[protocols >> 1]); 187 SSL_CTX_set_options(ssl->ctx, ngx_ssl_protocols[protocols >> 1]);
188 } 188 }
189
190 SSL_CTX_set_mode(ssl->ctx, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
191 189
192 SSL_CTX_set_read_ahead(ssl->ctx, 1); 190 SSL_CTX_set_read_ahead(ssl->ctx, 1);
193 191
194 return NGX_OK; 192 return NGX_OK;
195 } 193 }