Rev 2097 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2097 | Rev 2126 | ||
---|---|---|---|
Line 531... | Line 531... | ||
531 | .end_of_headers: |
531 | .end_of_headers: |
532 | ; here we look at headers and search content-length or transfer-encoding headers |
532 | ; here we look at headers and search content-length or transfer-encoding headers |
533 | ;dps "eoh " |
533 | ;dps "eoh " |
534 | ;newline |
534 | ;newline |
535 | sub edi,[buf_ptr] |
535 | sub edi,[buf_ptr] |
536 | add edi,3 |
536 | add edi,4 |
537 | mov [body_pos],edi ; store position where document body starts |
537 | mov [body_pos],edi ; store position where document body starts |
538 | mov [is_chunked],0 |
538 | mov [is_chunked],0 |
539 | ; find content-length in headers |
539 | ; find content-length in headers |
540 | ; not good method, but should work for 'Content-Length:' |
540 | ; not good method, but should work for 'Content-Length:' |
541 | mov esi,[buf_ptr] |
541 | mov esi,[buf_ptr] |