summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-01-27 16:07:58 +0000
committerDmitry Stogov <dmitry@php.net>2004-01-27 16:07:58 +0000
commitc10038a9eed09f4b4eae441b603c25aa62f2a609 (patch)
tree45eec5073b8a2ff8d829e5628d0b69e9fcd760ec /ext/soap/php_http.c
parenta6c94a8bf96adbdf1adae579f754c32447edd444 (diff)
downloadphp-git-c10038a9eed09f4b4eae441b603c25aa62f2a609.tar.gz
enabling HTTP status code 100 (used by Delphi SOAP)
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 1e7c61255d..57d420c665 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -279,8 +279,8 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
}
*/
- /* Try and get headers again
- if (http_status == 100") {
+ /* Try and get headers again */
+ if (http_status == 100) {
efree(http_headers);
if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) {
php_stream_close(stream);
@@ -289,7 +289,6 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
return FALSE;
}
}
- */
if (strncmp(http_version,"1.1", 3)) {
http_1_1 = 1;