[erlang-bugs] Fwd: Re: httpc keep-alive bug
Ingela Anderton Andin
Ingela.Anderton.Andin@REDACTED
Thu Feb 6 16:31:01 CET 2014
For the list also!
-------- Original Message --------
Subject: Re: [erlang-bugs] httpc keep-alive bug
Date: Thu, 6 Feb 2014 16:07:28 +0100
From: Ingela Anderton Andin <Ingela.Anderton.Andin@REDACTED>
To: jan_kowalski6669 <jan_kowalski6669@REDACTED>
Hi!
I have created a ticket to look into and solve this problem, however I
alas do not have time to personally track it down just at the moment as
I am at home with my sick kid and have lots of other things to tend to
also. If you are in hurry I suggest using the observer application to
debug the situation and maybe come up with a patch.
Regards Ingela Erlang/OTP team - Ericsson AB
On 02/06/2014 03:30 PM, jan_kowalski6669 wrote:
> Hi,
>
> did you receive my e-mail?
>
> W dniu 2014-02-03 11:21:21 użytkownik jan_kowalski6669 <jan_kowalski6669@REDACTED> napisał:
>> Hi,
>>
>> Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [async-threads:10] [kernel-poll:false]
>>
>> ls /usr/local/lib/erlang/lib | grep inets
>> inets-5.9.8
>>
>> same error.
>>
>>
>> W dniu 2014-01-31 17:45:07 użytkownik Ingela Anderton Andin <Ingela.Anderton.Andin@REDACTED> napisał:
>>> Hi!
>>>
>>> Could you check if this is a problem even in the latest version,
>>> inets-5.9.8? The code handling this has been changed since inets-5.9.5.
>>>
>>> Regards Ingela Erlang/OTP team - Ericsson AB
>>>
>>>
>>> On 01/30/2014 12:14 PM, jan_kowalski6669 wrote:
>>>> Hi,
>>>>
>>>> Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
>>>>
>>>> ls /usr/lib/erlang/lib/ | grep inets
>>>> inets-5.9.5
>>>>
>>>> W dniu 2014-01-30 12:01:45 użytkownik Ingela Anderton Andin <Ingela.Anderton.Andin@REDACTED> napisał:
>>>>> Hi!
>>>>>
>>>>> Please state what version of inets application that you are using.
>>>>>
>>>>> Regards Ingela Erlang/OTP team - Ericsson AB
>>>>>
>>>>>
>>>>> On 01/30/2014 11:04 AM, jan_kowalski6669 wrote:
>>>>>> I have function:
>>>>>> some_function(Url, Cookie, Command, Command2) ->
>>>>>> httpc:request(post, {Url, [{"Cookie", Cookie}], "text/xml", Command},
>>>>>> [], [{socket_opts, [{keepalive, true}]}]),
>>>>>> httpc:request(post, {Url, [{"Cookie", Cookie}], "text/xml", Command2},
>>>>>> [], [{socket_opts, [{keepalive, true}]}]).
>>>>>> which sends two request to same Url with different command, one after
>>>>>> another.
>>>>>> Screenshot from wireshark: http://tinypic.com/view.php?pic=9s8m03&s=8
>>>>>> As you can see, in last call of some_function, first request is ok, but
>>>>>> second is send to nowhere, and i got no response because first result
>>>>>> was without keep-alive header, so second request should open new
>>>>>> connection, but it didn't
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> erlang-bugs mailing list
>>>>>> erlang-bugs@REDACTED
>>>>>> http://erlang.org/mailman/listinfo/erlang-bugs
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
More information about the erlang-bugs
mailing list