Inets HTTP client stability
Sean Hinde
sean.hinde@REDACTED
Fri Oct 28 14:09:02 CEST 2005
On 28 Oct 2005, at 12:10, Matthias Lang wrote:
> Martin Carlson writes:
>
>
>> If you looking for passing http requests from one end to another,
>> why not use a pure tcp based solution, you can still inspect the
>> data and headers. I can't see any real reason to parse the protocol
>> pass it through the system then assemble it again.
>>
>
> Without getting into the details of what needs to be parsed and what
> doesn't need to be parsed, it's probably worth spending a few minutes
> playing with the undocumented {packet, http} format in gen_tcp.
>
> Matthias
>
There is a tutorial on this subject at trapexit.org.
If you look at the tutorial then try to spot the bug in the
implementation there !
Sean
More information about the erlang-questions
mailing list