Commit Graph

517 Commits

Author SHA1 Message Date
Nuno Lopes
37960644df fix access to already free'ed memory 2007-01-29 19:36:53 +00:00
Sara Golemon
cc1b19cf0e Expand allow_url_fopen/allow_url_include functionality 2007-01-24 21:43:47 +00:00
Antony Dovgal
97c8b1d13e more snprintf() 2007-01-18 16:21:00 +00:00
Sara Golemon
8ca1ed346d INI options should not be modified directly.
Bad extension.  No cookie for you.
2007-01-17 00:22:48 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Antony Dovgal
184406c016 fix proto 2006-12-25 19:12:39 +00:00
Ilia Alshanetsky
5da2c7a6df MFB: Optimize out zend_hash_num_elements() call 2006-12-21 01:16:36 +00:00
Antony Dovgal
7565c841c8 MFB 2006-12-19 21:40:59 +00:00
Antony Dovgal
a38ccf3969 add check for setlocale() and sv_SE to SKIPIF section 2006-12-19 20:46:48 +00:00
Dmitry Stogov
869003830b Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:55:16 +00:00
Dmitry Stogov
94527816f4 Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0) 2006-12-18 14:39:39 +00:00
Ilia Alshanetsky
820b30bcb8 MFB: Replace non-threadsafe rand() with php_rand_r() 2006-11-28 00:24:16 +00:00
Dmitry Stogov
ea40c01459 Fixed bug #39454 (Returning a SOAP array segfaults PHP) 2006-11-10 15:05:38 +00:00
Dmitry Stogov
6cb3fad99b Fixed bug #38536 (SOAP returns an array of values instead of an object) 2006-11-08 10:05:33 +00:00
Dmitry Stogov
ae2fc4c4ab Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client) 2006-11-06 16:36:54 +00:00
Dmitry Stogov
a0407cf588 Fixed decoding list of arrays (related to bug #39121) 2006-10-23 06:49:49 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
15e5832c26 MFB: Last set of zend_hash_init() optimizations 2006-10-03 19:52:34 +00:00
Dmitry Stogov
0bc5b98d2e Fixed possible crash with default namespaces 2006-10-03 07:00:57 +00:00
Hannes Magnusson
67234dc2b7 Fix arginfo&proto 2006-09-25 21:16:51 +00:00
Dmitry Stogov
e5b5342df4 Removed warning about unreferenced local variable 2006-09-25 08:19:06 +00:00
Dmitry Stogov
d365bd66c2 Prevent access to dead zval 2006-09-22 13:39:17 +00:00
Dmitry Stogov
90ff4f8f52 Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:43:04 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Dmitry Stogov
251bb2d7e1 Fixed memory leak 2006-09-15 07:11:09 +00:00
Dmitry Stogov
4cd00c73fc Fixed unicode support 2006-09-07 13:25:46 +00:00
Dmitry Stogov
ba833d2bc0 Fixed support for endpoint's URL without <path> part (Rob) 2006-09-06 11:03:59 +00:00
Dmitry Stogov
e9cf79d23d Fixed bug #38700 (SoapClient::__getTypes never returns) 2006-09-04 10:52:44 +00:00
Dmitry Stogov
47cab28ab3 Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-24 06:18:45 +00:00
Antony Dovgal
dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Rob Richards
9bd82acc33 fix compile 2006-08-04 13:40:12 +00:00
Dmitry Stogov
fd22843513 Unicode support 2006-08-04 07:38:21 +00:00
Dmitry Stogov
31c0eb37f6 Unicode support. 2006-08-03 16:13:06 +00:00
Dmitry Stogov
e0b7e95935 Unicode support 2006-08-01 16:10:25 +00:00
Dmitry Stogov
ac7333ce60 Reimplemented SoapServer and SoapClient classes using ZE2 object API.
All internal properties are hidden now.
2006-07-31 16:02:04 +00:00
Dmitry Stogov
1dcb726c5a Removed deprecated #ifdef ZEND_ENGINE_2 2006-07-27 15:23:04 +00:00
Dmitry Stogov
83f54a2592 Unicode support (not finished) 2006-07-27 14:56:46 +00:00
Marcus Boerger
eb0fd63012 - zend_(u_)_unmangle_property_name() has changed 2006-07-24 17:55:41 +00:00
Dmitry Stogov
98799bdc16 Unicode support (not finished) 2006-07-18 15:05:07 +00:00
Dmitry Stogov
d6cd18c083 Fixed compilation error 2006-07-18 09:24:54 +00:00
Dmitry Stogov
2d0539e2ba Unicode support (not finished) 2006-07-13 16:47:26 +00:00
Dmitry Stogov
6a12b2de74 Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 09:00:15 +00:00
Dmitry Stogov
1e0999fd46 Nuke signed/unsigned compiler warnings 2006-07-11 14:36:05 +00:00
Dmitry Stogov
c429225904 Nuke signed/unsigned compiler warnings 2006-07-11 14:24:39 +00:00
Dmitry Stogov
f32a21b112 Fixed bug #38055 (Wrong interpretation of boolean parameters) 2006-07-10 10:33:55 +00:00
Dmitry Stogov
517c39a035 Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) 2006-07-10 07:41:52 +00:00
Dmitry Stogov
00d9e00ee4 Fixed test 2006-07-10 07:26:31 +00:00
Dmitry Stogov
ae8d24392e Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:23:12 +00:00
Ilia Alshanetsky
7eccf9120e MFB: Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:33:19 +00:00
Dmitry Stogov
ce56c376df Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 13:31:37 +00:00
Antony Dovgal
26713e9afe fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:36 +00:00
Rasmus Lerdorf
9e0cedcdd6 Optimize the other string conversion functions here to just create raw
text nodes.
2006-06-15 22:44:55 +00:00
Rasmus Lerdorf
c0c6e9944f I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.  As far as I can tell
all the tests pass with this patch.
2006-06-15 18:03:30 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Dmitry Stogov
2fd6c8607a Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 09:04:54 +00:00
Dmitry Stogov
d5236aaf96 Fixed bug #37278 (SOAP not respecting uri in __soapCall) 2006-05-25 08:15:57 +00:00
Frank M. Kromann
eb7d1077db Add missing ZSTR() 2006-04-29 18:29:14 +00:00
Dmitry Stogov
a4f2165295 Fixed win32 build 2006-04-24 07:04:25 +00:00
Dmitry Stogov
c83968d4fc Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache.
Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/Soa
pServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH))
Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl".
Configuration directive "soap.wsdl_cache_limit" restricts the number of cached w
sdl files in memory. Adding new files into full memory cache will delete oldest files from it.
Note that, each PHP process or thread uses it's own memory cache.
2006-04-19 10:49:16 +00:00
Dmitry Stogov
b5dab1b9dc Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry) 2006-04-18 13:08:11 +00:00
Andrei Zmievski
f7881d3fe2 MFB 2006-04-17 16:09:42 +00:00
Dmitry Stogov
a7fd5d2357 Fixed several bugs in new "caching WSDL in memory" code
Re-enabled disk cache
2006-04-17 13:16:15 +00:00
Dmitry Stogov
930bf30460 Fixed calling header functions through __call() 2006-04-14 09:11:48 +00:00
Dmitry Stogov
fa9135ff2d Fixed bug #37054 (SoapClient Error Fetching http headers) 2006-04-13 08:18:54 +00:00
Dmitry Stogov
1c4d488cc8 Fixed bug #36908 (wsdl default value overrides value in soap request). 2006-04-10 13:29:57 +00:00
Dmitry Stogov
d532322b72 Fixed test 2006-04-10 12:50:14 +00:00
Dmitry Stogov
159008041c ZTS fix 2006-04-10 10:11:29 +00:00
Andrei Zmievski
909a0f5cd0 MFB 2006-04-09 23:38:30 +00:00
Antony Dovgal
0b0fff07b2 fix spelling in error messages:
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Dmitry Stogov
0623f8471a Fixed SoapFault::getMessage() 2006-03-24 08:46:14 +00:00
Dmitry Stogov
82864571ad Fixed compatibility with auto_globals_jit 2006-03-21 12:27:10 +00:00
Dmitry Stogov
089646babf Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive) 2006-03-21 12:05:10 +00:00
Dmitry Stogov
323a2d30ed Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy) 2006-03-20 10:37:09 +00:00
Dmitry Stogov
09619a30cb Fixed Bug #36614 (Segfault when using Soap) 2006-03-15 16:14:40 +00:00
Dmitry Stogov
315dd834a3 Fixed bug #36629 (SoapServer::handle() exits on SOAP faults) 2006-03-10 11:47:06 +00:00
Marcus Boerger
20273c4fe9 - Fix build 2006-03-05 17:31:44 +00:00
Dmitry Stogov
43621bdc7a Fixed crash 2006-03-03 10:28:58 +00:00
Dmitry Stogov
1facee1b94 Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies) 2006-03-03 09:20:51 +00:00
Dmitry Stogov
63116203d7 Fixed bug #36388 (ext/soap crashes when throwing exception and session persistence). (David) 2006-03-02 14:08:04 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Dmitry Stogov
018fc87344 Compression level shouldn't be greatr then 9. 2006-02-07 12:57:43 +00:00
Dmitry Stogov
a13e2c5784 Fixed bug #36083 (SoapClient waits for responses on one-way operations) 2006-02-07 12:49:30 +00:00
Dmitry Stogov
ba96a4032c typo 2006-02-06 13:17:20 +00:00
Antony Dovgal
96543b01ad initialize variables and reduce the number of warnings 2006-02-06 11:28:20 +00:00
Antony Dovgal
01937aa77f initialize variable and make gcc happy 2006-02-06 11:00:51 +00:00
Dmitry Stogov
529a315637 Fixed bug #36283 (SOAPClient Compression Broken). 2006-02-06 10:16:15 +00:00
Dmitry Stogov
edbb459290 Bug #36226 Inconsistent handling when passing potential arrays 2006-02-02 11:42:12 +00:00
Dmitry Stogov
d4a61bb8de Fixed encoding of inhereted objects 2006-02-01 17:18:38 +00:00
foobar
d99d22dc11 oops 2006-01-01 13:25:34 +00:00
foobar
3631df802d - fix typo 2006-01-01 13:13:11 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Dmitry Stogov
c354d5e0f6 Fixed bug #35570 (segfault when re-using soap client object) 2005-12-12 09:25:07 +00:00
Dmitry Stogov
c548f7d610 Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:28:57 +00:00
Dmitry Stogov
2e83748cfc Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process). 2005-12-07 13:55:52 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Dmitry Stogov
a859b67027 Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails) 2005-11-28 10:09:07 +00:00
Dmitry Stogov
2d95730e89 Fixed bug #35273 (Error in mapping soap - java types) 2005-11-18 10:59:55 +00:00