|
From: <php...@li...> - 2010-04-13 15:49:23
|
Hi, > C:\wamp\www\JavaBridge\java\Java.inc* on line *1027* thank you very much for the bug report. This is a regression. Since PHP/Java Bridge 6 the bridge requires HTTP/1.1 chunked connections. So the code in line 1026ff is now completely wrong: Line 1027 is: $len=$this->headers['content_length']; for($str=fread($this->socket,$len); strlen($str)<$len; $str.=fread($this->socket,$len-strlen($str))); I guess we've tested the code against servers which send both, the CONTENT_LENGTH and Transfer-Encoding: chunked header fields. I will fix this for the upcoming version 6.1.2. Thanks again for this bug report. Regards, Jost Bökemeier |