Wez Furlong
99e290f882
Fix for Bug #24189 : possibly unsafe select(2) usage.
...
We avoid the problem by using poll(2).
On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.
If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).
Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.
A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).
The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Dmitry Stogov
7a149080d8
Fixed crash with SoapFault and register_shutdown_function().
2004-09-16 08:12:27 +00:00
Dmitry Stogov
37a66d6d3b
Fixed invalid test name
2004-09-15 14:36:59 +00:00
Dmitry Stogov
2a63e78eed
Fixed possible crash
2004-09-15 10:43:07 +00:00
Dmitry Stogov
ffc2278d6e
Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests)
2004-09-14 12:15:30 +00:00
Dmitry Stogov
12752a4044
Change soap's ctors to __construct(),
...
rename SoapClient->__call() to SoapClinet->__soapCall().
2004-09-13 11:55:24 +00:00
Dmitry Stogov
f8181ba7b5
SoapClient->__call() is renamed to SoapClient->__soap_call().
2004-09-10 09:02:06 +00:00
Dmitry Stogov
f93560ddc9
Using php_libxml_xmlCheckUTF8() from ext/libxml.
2004-09-10 08:59:45 +00:00
Marcus Boerger
621795ef4b
Fix __call's method signature
2004-09-09 09:53:53 +00:00
Dmitry Stogov
7e53511ec8
Make ext/soap work around libxml2 bug in xmlCheckUTF8 (2.6.7-2.6.13)
2004-09-07 14:34:46 +00:00
Dmitry Stogov
dae2423d11
Fixed bug #29842 (soapclient return null value)
2004-08-27 07:07:46 +00:00
Dmitry Stogov
855f3591a6
Memory leaks were fixed
2004-08-26 18:52:57 +00:00
Dmitry Stogov
0384e2ae27
Fixed bug #29839 (incorrect convert (xml:lang to lang))
2004-08-26 18:43:06 +00:00
Dmitry Stogov
dedab09c32
Fixed bug #29839 (incorrect convert (xml:lang to lang))
2004-08-26 18:40:10 +00:00
Dmitry Stogov
0835c34572
Fixed bug #29795 (SegFault with Soap and Amazon's Web Services)
...
Fixed bug #27994 (segfault with Soapserver when WSDL-Cache is enabled)
2004-08-26 15:26:32 +00:00
Dmitry Stogov
6078001f12
Merged bug fixes from PHP_5_0.
2004-08-26 12:24:54 +00:00
Dmitry Stogov
fa6079ea25
Fixed bug #28969 (Wrong data encoding of special characters)
2004-08-10 16:18:08 +00:00
Dmitry Stogov
de46ba2ea5
Fixed bug #28969 (Wrong data encoding of special characters).
2004-08-10 16:11:41 +00:00
Dmitry Stogov
db855e2c74
Test is fixed. (__call() requires two parameters).
2004-08-10 09:57:16 +00:00
Dmitry Stogov
31757a6aa8
Fixed incorrect HTTP headers in SOAP response
2004-07-20 07:39:32 +00:00
Dmitry Stogov
96fc48b606
Fixed bug #28985 (__getTypes() returning nothing on complex WSDL).
2004-07-19 14:55:35 +00:00
Dmitry Stogov
71b7a54377
Fixed bugs #29109 and #29236 . (WSDL cache failure)
2004-07-19 13:58:10 +00:00
Dmitry Stogov
e0f33c589f
Fixed bug #29061 (soap extension segfaults).
2004-07-19 12:53:29 +00:00
Dmitry Stogov
e35bc2e2b4
Fixed memory leak (related to new implementation of empty strings)
2004-07-19 11:38:40 +00:00
Zeev Suraski
2ec89aa8e1
Add {{{ proto's
2004-07-13 20:41:55 +00:00
Sebastian Bergmann
b5aa8db6a3
Fix ZTS build.
2004-07-06 08:01:07 +00:00
Dmitry Stogov
8ad22e4279
Fixed bug #28751 (SoapServer does not call _autoload())
2004-07-06 07:30:33 +00:00
Ilia Alshanetsky
7f7f566318
Eliminate alloca() calls where they can be affected by the users.
2004-07-05 21:31:35 +00:00
Dmitry Stogov
4ea8f4b9f2
BUGFIX: Segfault if server's URL has no path. (" http://192.168.8.1:180 ")
2004-06-22 12:42:17 +00:00
Dmitry Stogov
d9226a1dd0
Support for HTTP redirection.
2004-06-21 12:56:33 +00:00
Dmitry Stogov
0282ad792a
Fixed bug #28702 (SOAP does not parse WSDL service address correctly).
2004-06-10 09:07:09 +00:00
Dmitry Stogov
99a0504a6b
Memory leaks were fixed
2004-05-27 08:19:29 +00:00
Dmitry Stogov
2b3e184245
BUGFIX: Prevent crash on error in send_http_soap_request()
2004-05-27 07:58:22 +00:00
Dmitry Stogov
b9bb0d77a0
Fixed bug #28239 (No results returned on SOAP call, no error given)
2004-05-21 14:50:19 +00:00
Dmitry Stogov
38ef28e41b
Allowing user defined SOAP transports with SoapClient::__doRequest()
2004-05-20 16:55:03 +00:00
Marcus Boerger
2d6770f0e6
- Added missing UNREGISTER_INI_ENTRIES
2004-05-12 10:15:48 +00:00
Dmitry Stogov
962ab19c99
Support for classes with __call() method on server side.
2004-05-05 10:52:33 +00:00
Dmitry Stogov
7bddbd7bd0
php_error() -> php_error_docref() (Marcus, Dmitry)
2004-05-05 10:31:26 +00:00
Dmitry Stogov
eba2aa9bd0
Support for <![CDATA[ ]]> for string/hexbinary/base64binary data
2004-04-23 12:22:41 +00:00
Dmitry Stogov
c94f0276b0
Support for multiref data
2004-04-21 16:57:18 +00:00
Dmitry Stogov
8d8c50fed3
Fixed bug #27681 (soap extension fails without HAVE_TM_GMTOFF).
2004-04-15 10:27:53 +00:00
Dmitry Stogov
0d42248ad8
Calls to zend_exception_error() were removed.
2004-04-15 09:35:27 +00:00
Stefan Esser
6b12a45247
Fixed: possible remote overflow and possible efree(NULL) crash
2004-04-08 14:58:04 +00:00
foobar
99a2a59f01
cleanup
2004-04-07 15:25:29 +00:00
Dmitry Stogov
b010daa9c4
Support for domain cookies
2004-04-02 15:43:41 +00:00
Dmitry Stogov
6f6ef6deed
SoapClint support for multiple hosts (through WSDL) with cookies.
2004-04-02 11:12:44 +00:00
Dmitry Stogov
7dae9e6cad
Fixed bug #27742 (WDSL SOAP Parsing Schema bug)
2004-04-02 06:23:51 +00:00
Dmitry Stogov
6a6096ec11
StudlyCaps fix.
2004-04-01 14:37:03 +00:00
Dmitry Stogov
f712d46b50
Fixed possible crash
2004-04-01 14:05:55 +00:00
Dmitry Stogov
9dd0826623
Fixed bug #27722 (Segfault on schema without targetNamespace).
2004-04-01 13:44:12 +00:00
Dmitry Stogov
40bb734452
Some small improvments, support for new style constructors, support for exceptions other then SoapFault
2004-04-01 10:47:44 +00:00
Dmitry Stogov
1ed6bb3e63
Using studlyCaps names.
2004-03-30 09:08:23 +00:00
Ilia Alshanetsky
d0a4801579
s/emalloc/safe_emalloc/ where appropriate.
2004-03-18 02:16:35 +00:00
Dmitry Stogov
df29576af6
win32 specific fixes
2004-02-27 14:52:24 +00:00
Dmitry Stogov
d05665a57e
fix: Incorrect error message
2004-02-27 12:49:00 +00:00
Ard Biesheuvel
81f05c18f5
Wordsize fixes
2004-02-25 20:16:27 +00:00
Dmitry Stogov
ab968b3d03
HTTP compression (memory leak was fixed)
2004-02-25 14:37:06 +00:00
Dmitry Stogov
b1fa3214f0
fix: XMLSchema <choice> support was improved to support elements with minOccurs=0
2004-02-25 14:34:50 +00:00
Dmitry Stogov
32b6d2fbf8
HTTP compression support (gzip and deflate)
2004-02-25 14:04:41 +00:00
Dmitry Stogov
6b0a18ba7b
Documentation update
2004-02-24 15:35:53 +00:00
Dmitry Stogov
0b0eb80fdf
WSDL support for <soap:headerfault> was implemented
2004-02-24 15:06:42 +00:00
Dmitry Stogov
78b63f9df1
Fixed value of attribute is default value of attribute
2004-02-24 10:14:09 +00:00
Dmitry Stogov
9da18c12cf
fix: anotaion -> anotation
2004-02-24 10:13:25 +00:00
Dmitry Stogov
f15dcfacc1
constants for MIME/DIME encoding were added
2004-02-24 10:12:45 +00:00
Dmitry Stogov
feed42e062
XML Schema support was improved: support for <element> default, fixed and nillable
2004-02-24 09:02:33 +00:00
Dmitry Stogov
8fc285275c
BUGFIX: bug in HTTP chunked encoding was fixed
2004-02-20 15:38:39 +00:00
Dmitry Stogov
8b9607cff1
Don't try to use <input> name instead of <opeartion> name for encoding RPC call
2004-02-19 18:49:50 +00:00
Dmitry Stogov
bac453038a
Reading HTTP responses without "Content-Length:" but with "Connection: close"
2004-02-19 16:49:50 +00:00
Dmitry Stogov
2d61e3622d
WSDL caching bugs were fixed
2004-02-19 16:46:52 +00:00
Dmitry Stogov
0dadb2bbab
fix: prevent possible crash
2004-02-19 16:45:25 +00:00
Dmitry Stogov
9ebc56dd50
Passing arguments to "anyType" cause passing type information in literal encoding. Receiver gets sach parameters as SoapVar objects.
2004-02-19 11:32:42 +00:00
Dmitry Stogov
15ccb3be8d
Support for SOAP Fault encoding according to WSDL <fault> and <soap:fault>
2004-02-19 08:21:13 +00:00
Dmitry Stogov
cbec795c0b
fix: SoapFault constructor fixed to confirm documentation.
2004-02-18 07:35:34 +00:00
Dmitry Stogov
9cb54cb232
BUGFIX: HTTP chunked transfer-encoding support
2004-02-18 06:58:33 +00:00
Dmitry Stogov
b17eab9a31
Using element namesapces with literal encoding.
2004-02-17 18:54:30 +00:00
Dmitry Stogov
7edf9bc2c3
support for XMLSchema <element> nillable attribute
2004-02-17 15:10:16 +00:00
Dmitry Stogov
0ecd198dc5
fix: Using proper namespace for <soap:header> if it is not specified.
2004-02-17 09:23:28 +00:00
Dmitry Stogov
168dc362df
Encoding of ommited tail parameters as NULLs
2004-02-17 08:18:53 +00:00
Dmitry Stogov
3e002aa66d
specal case of array encoding. If object has only one inner element and this element has max_occurs > 1, then array can be passed directly.
2004-02-16 16:35:59 +00:00
Dmitry Stogov
1350643b8c
BUGFIX: incorrect restoring of negative integers from WSDL cache
2004-02-16 16:32:52 +00:00
Dmitry Stogov
939a8d43cf
Prevent processing SOAP headers with invalid namespace in WSDL mode.
2004-02-16 12:04:48 +00:00
Dmitry Stogov
6aad56d4a2
fix: prevent of possible crash
2004-02-16 09:56:30 +00:00
Dmitry Stogov
b21756c1ca
Source cleanup
2004-02-13 15:19:09 +00:00
Dmitry Stogov
81af85c380
Old in-memory WSDL cache was removed (it was already switched off by #ifdef)
2004-02-13 11:03:58 +00:00
Dmitry Stogov
2d1ae249a8
Cleanup
2004-02-13 10:29:55 +00:00
Dmitry Stogov
dcb3189df2
SoapClient::__getTypes and SoapClient::__getFunctions were fixed to return proper information
2004-02-13 08:30:13 +00:00
Dmitry Stogov
9b29737f44
BUGFIX
2004-02-13 08:29:11 +00:00
Dmitry Stogov
563e769dff
WSDL support for unknown extensibility elements and wsdl:required attribute (Interop Round3 GroupF)
2004-02-12 16:42:34 +00:00
Dmitry Stogov
69eb0041b1
fix: possible crash was fixed
2004-02-12 16:41:58 +00:00
Dmitry Stogov
866816efef
Caching of temorary WSDL files was disabled.
2004-02-12 11:02:16 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Dmitry Stogov
07e3413e99
Using zend_throw_exception_object() instead of EG(exception).
2004-02-12 10:39:20 +00:00
Dmitry Stogov
71380e7d7f
"Runtime Configuration" and "Exceptions" were added.
2004-02-12 09:05:56 +00:00
Dmitry Stogov
f3ed4a27a0
support for command line interface was improved
2004-02-11 16:13:15 +00:00
Dmitry Stogov
f46638ae28
Cache files access rights were changed.
2004-02-11 16:12:31 +00:00
Dmitry Stogov
6096b09159
Now SoapClient uses excptions as default method for error reporting
2004-02-11 13:53:50 +00:00
Dmitry Stogov
20add786ae
WSDL caching was implemented
2004-02-10 13:41:21 +00:00
Dmitry Stogov
a55f6cb66c
Allowing to report SOAP Fault with "return new SoapFault(...)"
2004-02-09 09:31:18 +00:00
Dmitry Stogov
3b19e196fa
Allowing to pass request to SoapServer::handle direct (not through $HTTP_RAW_POST_DATA).
2004-02-09 07:51:07 +00:00
Dmitry Stogov
79dc8d5ef6
fix
2004-02-06 16:54:34 +00:00