incubator-awf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Séven Le Mesle (JIRA) <j...@apache.org>
Subject [jira] [Commented] (DEFT-144) Improved HTTP headers parsing
Date Sun, 11 Sep 2011 09:47:09 GMT

    [ https://issues.apache.org/jira/browse/DEFT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102253#comment-13102253
] 

Séven Le Mesle commented on DEFT-144:
-------------------------------------

I think this issue should be solved by a new parser system using buffered lexer instead of
those RegExp.
Some other bugs should be reported in headers parsing since multi-line headers are not supported
as well as streamed body.

> Improved HTTP headers parsing
> -----------------------------
>
>                 Key: DEFT-144
>                 URL: https://issues.apache.org/jira/browse/DEFT-144
>             Project: Deft
>          Issue Type: Bug
>             Fix For: 0.4.0
>
>
> selam pointed out: https://github.com/rschildmeijer/deft/commit/6601460362c8a3e27984a17c296c7d6d615cba6e#commitcomment-399036
> short version: "The root cause is the naive parsing in o.d.web.http.HttpRequest#of. Should
probably do something similar to the PartialHttpRequest solution. (Its dangerous to assume
that the first read from the channel will contain all headers.)"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message