comparison src/http/ngx_http_parse.c @ 786:5dc3ba0d6388

backout r783 and add comment
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Oct 2006 12:47:14 +0000
parents 37d600dbe9f6
children 7d365efd704d
comparison
equal deleted inserted replaced
785:b5b111cc28ed 786:5dc3ba0d6388
535 sw_ignore_line, 535 sw_ignore_line,
536 sw_almost_done, 536 sw_almost_done,
537 sw_header_almost_done 537 sw_header_almost_done
538 } state; 538 } state;
539 539
540 /* the last '\0' is not needed because string is zero terminated */
541
540 static u_char lowcase[] = 542 static u_char lowcase[] =
541 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 543 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
542 "\0\0\0\0\0\0\0\0\0\0\0\0\0-\0\0" "0123456789\0\0\0\0\0\0" 544 "\0\0\0\0\0\0\0\0\0\0\0\0\0-\0\0" "0123456789\0\0\0\0\0\0"
543 "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0" 545 "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0"
544 "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0" 546 "\0abcdefghijklmnopqrstuvwxyz\0\0\0\0\0"
545 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 547 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
546 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 548 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
547 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" 549 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
548 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; 550 "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
549 551
550 state = r->state; 552 state = r->state;
551 hash = r->header_hash; 553 hash = r->header_hash;
552 i = r->lowcase_index; 554 i = r->lowcase_index;
553 555