Mercurial > hg > nginx
comparison src/http/ngx_http_parse.c @ 9:6f58641241bb
nginx-0.0.1-2002-09-07-14:14:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 07 Sep 2002 10:14:25 +0000 |
parents | b5481d6fbbd4 |
children | 055ed05235ae |
comparison
equal
deleted
inserted
replaced
8:708f8bb772ec | 9:6f58641241bb |
---|---|
30 /* | 30 /* |
31 printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s", | 31 printf("\nstate: %d, pos: %x, end: %x, char: '%c' buf: %s", |
32 state, p, r->header_in->last, ch, p); | 32 state, p, r->header_in->last, ch, p); |
33 */ | 33 */ |
34 | 34 |
35 /* GCC compiles switch as jump table */ | 35 /* GCC 2.95.2 and VC 6.0 compiles switch as jump table */ |
36 | 36 |
37 switch (state) { | 37 switch (state) { |
38 | 38 |
39 /* HTTP methods: GET, HEAD, POST */ | 39 /* HTTP methods: GET, HEAD, POST */ |
40 case sw_start: | 40 case sw_start: |