[erlang-questions] gen_tcp and large HTTP headers

Roberto Ostinelli roberto@REDACTED
Thu Jun 23 00:34:51 CEST 2011


steve,

your intuition is correct: version is {0, 9}.

i guess the only solution is to avoid {packet, http} and handle these
manually? seems such a waste.

2011/6/22 Steve Vinoski <vinoski@REDACTED>

> Looking at the packet parser, I'm thinking it always treats this case
> as HTTP version 0.9, so that's wrong as well. Can you verify that
> major and minor are set to 0 and 9 respectively in the version tuple
> within the http_request tuple you get?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110623/a39ee7c5/attachment.htm>


More information about the erlang-questions mailing list