[erlang-patches] Patch to http_load_uri in inet_drv.c

Sverker Eriksson <>
Fri Nov 21 14:32:43 CET 2008

Thank you very much. Apparently the result of a sloppy test case. Will 
be fixed in R13.

/Sverker, Erlang/OTP Ericsson

Oscar Hellström wrote:
> Hi,
> When using {packet, http} and decoding an absolute URI in an HTTP
> request (i.e. GET http://erlang.org/ HTTP/1.1) the length of the path is
> ignored and the length of the host name is used to c'opy the path. If
> sending a host name longer than the path, the rest of the request line
> will be included, and if we make the host name longer than path + HTTP
> version, we will make the driver copy data from beond the received string.
> Best regards
> ------------------------------------------------------------------------
> _______________________________________________
> erlang-patches mailing list
> http://www.erlang.org/mailman/listinfo/erlang-patches

More information about the erlang-patches mailing list