summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-09-24 01:19:15 +0300
committerDmitry Stogov <dmitry@zend.com>2015-09-24 01:19:15 +0300
commit5cccd6c5b6288231c4d556174f9ea1207b2e933a (patch)
treeb872dd895e0e2b9983912f114db7939a8d31c771 /ext/soap/php_http.h
parent51cd49b2cf043f4fe2d701a28504322684bdd6f6 (diff)
downloadphp-git-5cccd6c5b6288231c4d556174f9ea1207b2e933a.tar.gz
Fixed memory leak and avoid reallocations
Diffstat (limited to 'ext/soap/php_http.h')
-rw-r--r--ext/soap/php_http.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ext/soap/php_http.h b/ext/soap/php_http.h
index a92c7c4e21..00b9fa5643 100644
--- a/ext/soap/php_http.h
+++ b/ext/soap/php_http.h
@@ -22,13 +22,12 @@
#ifndef PHP_HTTP_H
#define PHP_HTTP_H
-int make_http_soap_request(zval *this_ptr,
- char *request,
- int request_size,
- char *location,
- char *soapaction,
- int soap_version,
- zval *response);
+int make_http_soap_request(zval *this_ptr,
+ zend_string *request,
+ char *location,
+ char *soapaction,
+ int soap_version,
+ zval *response);
int proxy_authentication(zval* this_ptr, smart_str* soap_headers);
int basic_authentication(zval* this_ptr, smart_str* soap_headers);