diff options
author | Wez Furlong <wez@php.net> | 2003-03-05 14:23:56 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-03-05 14:23:56 +0000 |
commit | b68739f7f9c9838bed94dae6ef614059c1302ecf (patch) | |
tree | 39ea6a4fe3dda0bfcbaaa76d9f8b1ac28f5037c1 /ext/soap/php_http.h | |
parent | 6ad2420d2d5797545e288a937f5eb35f4f46a5cf (diff) | |
download | php-git-b68739f7f9c9838bed94dae6ef614059c1302ecf.tar.gz |
- Remove legacy non-streams code (as discussed with Brad).
- Make get_http_header_value() work using case-insensitive compares
for the header names, as per relevant RFC's.
- General performance boost for get_http_headers().
- Fix a crash bug when a malformed URL is passed to the soap client.
- Implement https:// support in the the soap client. (does not verify
the remote server certificate; it provides an encrypted link only).
- Provide a hook for libxml to parse files using any registered PHP
wrapper, including https://, ftps:// and any user-space streams.
Diffstat (limited to 'ext/soap/php_http.h')
-rw-r--r-- | ext/soap/php_http.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/ext/soap/php_http.h b/ext/soap/php_http.h index d7f5b44c7a..2aa3f75ae1 100644 --- a/ext/soap/php_http.h +++ b/ext/soap/php_http.h @@ -5,21 +5,7 @@ void send_http_soap_request(zval *this_ptr, xmlDoc *doc, char *function_name, ch void get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS_DC); char *get_http_header_value(char *headers, char *type); -int get_http_body(SOAP_STREAM socketd, char *headers, char **response, int *out_size TSRMLS_DC); -int get_http_headers(SOAP_STREAM socketd,char **response, int *out_size TSRMLS_DC); - -#ifndef PHP_HAVE_STREAMS -#ifndef ZEND_WIN32 -# ifndef closesocket -# define closesocket close -# endif -#endif - -#ifndef SOCK_CLOSE -# define SOCK_CLOSE(s) shutdown(s, 0); closesocket(s) -#endif - -SOCKET get_socket(char* host,int portno,int timeout); -#endif +int get_http_body(php_stream *socketd, char *headers, char **response, int *out_size TSRMLS_DC); +int get_http_headers(php_stream *socketd,char **response, int *out_size TSRMLS_DC); #endif |