#31781 [NEW]: Should read until Connection is closed when HTTP version is 1.0
| From: | joern_h at gmx dot net | Date: | Mon, 31 Jan 2005 15:32:04 +0000 |
| Subject: | #31781 [NEW]: Should read until Connection is closed when HTTP version is 1.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73122@lists.php.net to get a copy of this message | ||
From: joern_h at gmx dot net
Operating system: Windows 2000
PHP version: 5.0.2
PHP Bug Type: SOAP related
Bug description: Should read until Connection is closed when HTTP version is 1.0
Description:
------------
The SOAP extension does not handle HTTP 1.0 responses which have no
Content-Length or Connnection: CLose headers. The default behavior for
HTTP 1.0 should be to read until the connection is closed.
This problem occurs when calling a method on Apache Axis'
SimpleAxisServer.
Reproduce code:
---------------
Call a webservice runnning on Apache's SimpleAxisServer. This server
returns only the following HTTP headers:
HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Set-Cookie: 14
Set-Cookie2: 14
Expected result:
----------------
PHP should read the response until the connection is closed.
Actual result:
--------------
SoapFault exception: [HTTP] Error Fetching http body, No Content-Length,
connection closed or chunked data in
C:\home\sources\se-projekt-sem5\rv-2005-01-18\SimpleAxisTest2.php:16
Stack trace:
#0 C:\home\sources\se-projekt-sem5\rv-2005-01-18\SimpleAxisTest2.php(16):
SoapClient->__call('<?xml version="...', 'http://127.0.0....',
'http://127.0.0....', 1)
#1 {main}
--
Edit bug report at http://bugs.php.net/?id=31781&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31781&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31781&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31781&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31781&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31781&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31781&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31781&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31781&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31781&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31781&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31781&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31781&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31781&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31781&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31781&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31781&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31781&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31781&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31781&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31781&r=mysqlcfg