comparison src/http/ngx_http_request.c @ 512:e1f4748dc78e NGINX_0_7_68

nginx 0.7.68 *) Bugfix: if there was a single server for given IPv6 address:port pair, then captures in regular expressions in a "server_name" directive did not work. *) Bugfix: a segmentation fault might occur in a worker process, if the "auth_basic" directive was used. Thanks to Michail Laletin. *) Bugfix: SSI response might be truncated after include with wait="yes"; the bug had appeared in 0.7.25. Thanks to Maxim Dounin. *) Bugfix: the "sub_filter" directive might change character case on partial match. *) Bugfix: nginx treated large SSLv2 packets as plain requests. Thanks to Miroslaw Jaworski. *) Bugfix: nginx might close IPv6 listen socket during reconfiguration. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Tue, 14 Dec 2010 00:00:00 +0300
parents 68c0ae0a4959
children
comparison
equal deleted inserted replaced
511:647973d42a2a 512:e1f4748dc78e
549 549
550 return; 550 return;
551 } 551 }
552 552
553 if (n == 1) { 553 if (n == 1) {
554 if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) { 554 if (buf[0] & 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
555 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0, 555 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0,
556 "https ssl handshake: 0x%02Xd", buf[0]); 556 "https ssl handshake: 0x%02Xd", buf[0]);
557 557
558 rc = ngx_ssl_handshake(c); 558 rc = ngx_ssl_handshake(c);
559 559
750 750
751 751
752 r->unparsed_uri.len = r->uri_end - r->uri_start; 752 r->unparsed_uri.len = r->uri_end - r->uri_start;
753 r->unparsed_uri.data = r->uri_start; 753 r->unparsed_uri.data = r->uri_start;
754 754
755 r->valid_unparsed_uri = 1;
755 756
756 r->method_name.len = r->method_end - r->request_start + 1; 757 r->method_name.len = r->method_end - r->request_start + 1;
757 r->method_name.data = r->request_line.data; 758 r->method_name.data = r->request_line.data;
758 759
759 760