#30329 [Csd->Opn]: Error Fetching http body, No Content-Length, connection closed or chunked data

From: Date: Thu, 15 Feb 2007 09:15:14 +0000
Subject: #30329 [Csd->Opn]: Error Fetching http body, No Content-Length, connection closed or chunked data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108943@lists.php.net to get a copy of this message
ID: 30329 Updated by: lsmith@php.net Reported By: thetaphi@php.net -Status: Closed +Status: Open Bug Type: SOAP related Operating System: Solaris 9 PHP Version: 5.0.2 Assigned To: dmitry New Comment: I am seeing the same issue on PHP 5.1.6 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5 Set-Cookie: JSESSIONID=DB0CD599DFF853F3A04B4B64819C4A7A; Path=/ Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Thu, 15 Feb 2007 09:11:56 GMT 176 <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> Previous Comments: ------------------------------------------------------------------------ [2004-12-01 19:48:15] thetaphi@php.net Works fine. You even found the new URL of weservice during testing with our application server... :) -- Uwe ------------------------------------------------------------------------ [2004-12-01 19:23:25] dmitry@php.net Fixed in CVS HEAD and PHP_5_0. ------------------------------------------------------------------------ [2004-10-05 15:02:48] thetaphi@php.net incorrect. The EAServer does respond with HTTP/1.0. And in HTTP/1.0 you can leave out the Content-Length (if unknown), because chunked encoding cannot be used with 1.0 ------------------------------------------------------------------------ [2004-10-05 14:50:22] derick@php.net I don't think we should add workarounds around other buggy products. This is violating the RFC iirc. ------------------------------------------------------------------------ [2004-10-05 14:45:17] thetaphi@php.net The problem also sometimes occurs even with HTTP/1.0. After checking this, it seems that EAServer does not send a Content-Length! Can we change this in a way that get_http_body also accepts a zero content-length? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30329 -- Edit this bug report at http://bugs.php.net/?id=30329&edit=1

« previous php.bugs (#108943) next »