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

Leif Hedstrom updated TS-1298:
------------------------------
    Fix Version/s:     (was: 5.2.0)
                   5.3.0

> 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: 5.3.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to