[erlang-questions] gen_tcp and large HTTP headers
Thu Jun 23 10:34:46 CEST 2011
Thanks for discussing this, we encountered the problem on our system
and filed the bug that originated Roberto's email .
We're currently working around the problem by setting recbuf on the
socket, this temporary solution is not too bad in real life if the
need is only to cope with requests originated by browsers as currently
fairly popular ones can't handle over 2048 characters .
While this is suitable as a temporary solution it really feels like
the current implementation of inet is incorrect as it states "The
packets are returned with the format according to HttpPacket described
in erlang:decode_packet/3"  and instead the results are different
from those one would get by calling erlang:decode_packet/3
On Thu, Jun 23, 2011 at 7:59 AM, ERLANG <> wrote:
> Hi Steve, Roberto,
> Maybe the Erlang team should consider and fix that problem
> on next releases!
More information about the erlang-questions