Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  http-client fails when gets response w/o headers

Guest
Posted: Thu Aug 16, 2007 12:40 pm Reply with quote
Guest
Hello.

It seems there is yet another bug found in http-client while it gets
response from http-server with omitted headers (?):

23> http:request("http://shingler:7070/check?aaa=bbb").
{error,session_remotly_closed}
24>
=ERROR REPORT==== 16-Aug-2007::16:15:56 ===
** Generic server <0.871.0> terminating
** Last message in was {tcp_closed,#Port<0.696>}
** When Server state == {state,{request,
#Ref<0.0.0.16664>,
<0.31.0>,
0,
http,
{"shingler",7070},
"/check",
"?aaa=bbb",
get,
{http_request_h,
undefined,
"keep-alive",
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"shingler",
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
[],
undefined,
undefined,
undefined,
undefined,
"0",
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
[]},
{[],[]},
{http_options,
infinity,
true,
[],
undefined,
false},
"http://shingler:7070/check?aaa=bbb",
[],
none,
[]},
{tcp_session,
{{"shingler",7070},<0.871.0>},
false,
http,
#Port<0.696>,
1},
undefined,
undefined,
undefined,
{httpc_response,
parse_reason_phrase,
[<<>>,
"TSET\n\nKO",
nolimit,
[200,"HTTP/1.1"]]},
{[],[]},
new,
[],
nolimit,
nolimit,
{options,
{undefined,[]},
0,
2,
2,
disabled,
enabled,
false},
{timers,[],undefined}}
** Reason for termination ==
** session_remotly_closed



--
Igor Goryachev
Yandex development team.
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum