|
|
| Author |
Message |
|
| goryachev |
Posted: Tue Aug 21, 2007 11:34 am |
|
|
|
User
Joined: 15 Aug 2007
Posts: 16
Location: Moscow, Russia
|
Hello.
yaws_revproxy.erl didn't work properly with upstream's unspecified
content lenght:
=ERROR REPORT==== 21-Aug-2007::14:51:32 ===
Yaws process died: {function_clause,
[{prim_inet,recv0,[#Port<0.141>,undefined,30000]},
{yaws_revproxy,ploop,3},
{yaws_server,aloop,3},
{yaws_server,acceptor0,2},
{proc_lib,init_p,5}]}
Here is a tiny patch which fixes a bug.
==========
--- yaws_revproxy.erl.old 2006-03-10 00:58:10.000000000 +0300
+++ yaws_revproxy.erl 2007-08-21 15:22:18.000000000 +0400
@@ -182,7 +182,7 @@
undefined when Psock#psock.type == client ->
Psock#psock{mode = expectheaders, state =
undefined};
undefined when Psock#psock.type == server ->
- Psock#psock{mode = undefined, state = undefined}
+ Psock#psock{mode = undefined, state = 0}
end;
Int when integer(Int) ->
Psock#psock{mode = len,
==========
--
Igor Goryachev E-Mail/Jabber: igor@goryachev.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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 can attach files in this forum You can download files in this forum
|
|
|