comparison src/http/ngx_http_request.c @ 584:016632f0fb18 NGINX_0_8_44

nginx 0.8.44 *) Change: now nginx does not cache by default backend responses, if they have a "Set-Cookie" header line. *) Feature: the "listen" directive supports the "setfib" parameter. Thanks to Andrew Filonov. *) Bugfix: the "sub_filter" directive might change character case on partial match. *) Bugfix: compatibility with HP/UX. *) Bugfix: compatibility with AIX xcl_r compiler. *) Bugfix: nginx treated a large SSLv2 packets as plain requests. Thanks to Miroslaw Jaworski.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Jul 2010 00:00:00 +0400
parents bc110f60c0de
children
comparison
equal deleted inserted replaced
583:39e50617266a 584:016632f0fb18
553 553
554 return; 554 return;
555 } 555 }
556 556
557 if (n == 1) { 557 if (n == 1) {
558 if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) { 558 if (buf[0] & 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
559 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0, 559 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0,
560 "https ssl handshake: 0x%02Xd", buf[0]); 560 "https ssl handshake: 0x%02Xd", buf[0]);
561 561
562 rc = ngx_ssl_handshake(c); 562 rc = ngx_ssl_handshake(c);
563 563