[erlang-questions] making http client close connections

Oscar Hellström <>
Tue Jun 9 19:43:14 CEST 2009


The client can also send the Connection: close header....

Joel Reymont wrote:
> Oscar,
>
> On Jun 9, 2009, at 6:40 PM, Oscar Hellström wrote:
>
>> I think someone else pointed out two ways of doing this with inets. One
>> is to specify a version < 1.1, the other is to include the Connection:
>> close header. However, as mentioned before, I wouldn't recommend using
>> the inets http client for any serious work.
>
>
> I'm using the "Connection: close" header for closing the connection
> from the server side. I'm asking about closing the connection from the
> _client_ side,  though!
>
>     Thanks, Joel
>
> ---
> Mac hacker with a performance bent
> http://www.linkedin.com/in/joelreymont
>


-- 
Oscar Hellström, 
Office: +44 20 7655 0337
Mobile: +44 798 45 44 773
Erlang Training and Consulting Ltd
http://www.erlang-consulting.com/



More information about the erlang-questions mailing list