ID: 35582 Updated by: [EMAIL PROTECTED] Reported By: s dot strampelli at isinet dot it Status: Closed Bug Type: SOAP related Operating System: Windows PHP Version: 5.1.1 Assigned To: dmitry New Comment:
Some news about this?? Previous Comments: ------------------------------------------------------------------------ [2005-12-07 15:01:01] [EMAIL PROTECTED] The same as #33394. ------------------------------------------------------------------------ [2005-12-07 14:37:31] [EMAIL PROTECTED] Assigned to the maintainer. ------------------------------------------------------------------------ [2005-12-07 14:26:43] s dot strampelli at isinet dot it Description: ------------ If a soap request timeout waiting http header, the program terminate abnormally. I think the bug is the call of efree without checking if http_headers is not null in ext/soap/php_http.c , function http_connect about line 182: if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC) || http_headers == NULL) { php_stream_close(stream); stream = NULL; } efree(http_headers); Reproduce code: --------------- $dati = "test"; $client = new SoapClient($wsdl); $res = $client->test($dati); If the execution time of test method is more than default_socket_timeout seconds, the php interpret terminate with a dr watson stack trace. Expected result: ---------------- A SoapException would be thrown ? Certainly, the PHP script could be expected to continue rather than die. Actual result: -------------- PHP interpret (php.exe) dies with a dr watson stack trace. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35582&edit=1