You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/03/25 21:13:16 UTC

[jira] [Assigned] (TS-1298) http_parser_parse_req appears inconsistent

     [ https://issues.apache.org/jira/browse/TS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-1298:
---------------------------------

    Assignee: Alan M. Carroll

Alan, I'm assigning this to you. If you don't think this will be worked on for v3.3/v3.4, please move this out to v3.5 or "sometimes".
                
> http_parser_parse_req appears inconsistent
> ------------------------------------------
>
>                 Key: TS-1298
>                 URL: https://issues.apache.org/jira/browse/TS-1298
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.0.2
>            Reporter: Aidan McGurn
>            Assignee: Alan M. Carroll
>             Fix For: 3.3.3
>
>
> when using IPT setup i test as follows:
> 1. telnet <OS IP> 80 from client machine   //this will be routed via ATS as IPT env
> 2. write "test" in telnet window and hit return
> 3. i *correctly* get a PARSE ERROR inside HTTP.cc/http_parser_parse_req
> 1051        if (!method_start || !method_end)
> (gdb)
> 1052          return PARSE_ERROR;
> (gdb) p method_end
> $4 = 0x0
> (gdb) p method_start
> $5 = 0x12741000 "test\r\n"
> However of i repeat step 2, with "test 2" method_end gets set and i end up with a PARSE_DONE and it thinks *INCORRECTLY* therefore this is a HTTP request.
> Assume this is a bug and we are missing validation here or is this making assumption the request is correct HTTP header format?
> thanks for any assistance,
> /aidan

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira