Mercurial > hg > nginx
comparison src/http/ngx_http_parse.c @ 239:574bea0142be
nginx-0.0.1-2004-01-26-11:52:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Jan 2004 08:52:49 +0000 |
parents | f1d0e5f09c1e |
children | 70e1c7d2b83d |
comparison
equal
deleted
inserted
replaced
238:674f85a4d00f | 239:574bea0142be |
---|---|
461 c = ch | 0x20; | 461 c = ch | 0x20; |
462 if (c >= 'a' && c <= 'z') { | 462 if (c >= 'a' && c <= 'z') { |
463 break; | 463 break; |
464 } | 464 } |
465 | 465 |
466 if (ch == '-' || ch == '_' || ch == '~') { | 466 if (ch == '-' || ch == '_' || ch == '~' || ch == '.') { |
467 break; | 467 break; |
468 } | 468 } |
469 | 469 |
470 if (ch >= '0' && ch <= '9') { | 470 if (ch >= '0' && ch <= '9') { |
471 break; | 471 break; |
487 r->header_name_end = p - 1; | 487 r->header_name_end = p - 1; |
488 state = sw_space_before_value; | 488 state = sw_space_before_value; |
489 break; | 489 break; |
490 } | 490 } |
491 | 491 |
492 if (ch == '-' || ch == '_' || ch == '~') { | 492 if (ch == '-' || ch == '_' || ch == '~' || ch == '.') { |
493 break; | 493 break; |
494 } | 494 } |
495 | 495 |
496 if (ch >= '0' && ch <= '9') { | 496 if (ch >= '0' && ch <= '9') { |
497 break; | 497 break; |