Commit Graph

418 Commits

Author SHA1 Message Date
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