Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 323:ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 Apr 2004 18:54:33 +0000 |
parents | d71c87d11b16 |
children | 8733703a37f3 |
comparison
equal
deleted
inserted
replaced
322:ab2f8c9a2a45 | 323:ba876b26b76d |
---|---|
726 | 726 |
727 } else if (rc != NGX_AGAIN) { | 727 } else if (rc != NGX_AGAIN) { |
728 | 728 |
729 /* there was error while a header line parsing */ | 729 /* there was error while a header line parsing */ |
730 | 730 |
731 #if (NGX_LOG_DEBUG) | 731 #if (NGX_DEBUG) |
732 if (rc == NGX_HTTP_PARSE_INVALID_HEADER) { | 732 if (rc == NGX_HTTP_PARSE_INVALID_HEADER |
733 && (rev->log->log_level & NGX_LOG_DEBUG_HTTP)) | |
734 { | |
733 u_char *p; | 735 u_char *p; |
734 for (p = r->header_name_start; | 736 for (p = r->header_name_start; |
735 p < r->header_in->last - 1; | 737 p < r->header_in->last - 1; |
736 p++) | 738 p++) |
737 { | 739 { |
1247 h = c->buffer; | 1249 h = c->buffer; |
1248 wev = c->write; | 1250 wev = c->write; |
1249 wev->event_handler = ngx_http_empty_handler; | 1251 wev->event_handler = ngx_http_empty_handler; |
1250 | 1252 |
1251 | 1253 |
1252 /* skip the tralling "\r\n" before the possible pipelined request */ | |
1253 | |
1254 while (h->pos < h->last && (*h->pos == CR || *h->pos == LF)) { | |
1255 h->pos++; | |
1256 } | |
1257 | |
1258 if (h->pos < h->last) { | 1254 if (h->pos < h->last) { |
1259 | 1255 |
1260 /* | 1256 /* |
1261 * The pipelined request. | 1257 * The pipelined request. |
1262 * | 1258 * |