SVN Migration [Sat, 26 Nov 2005 22:19:15 +0000 (22:19 +0000)]
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_19_0'.
Michael Wallner [Sat, 26 Nov 2005 22:19:14 +0000 (22:19 +0000)]
- release 0.19.0
Michael Wallner [Sat, 26 Nov 2005 22:05:28 +0000 (22:05 +0000)]
updated changelog and reworded package description
Michael Wallner [Sat, 26 Nov 2005 21:36:12 +0000 (21:36 +0000)]
- ad verbosity about checking for ext/hash and avoid empty else..fi case
Marcus Boerger [Wed, 23 Nov 2005 23:51:29 +0000 (23:51 +0000)]
- Fix build
Michael Wallner [Tue, 22 Nov 2005 16:34:59 +0000 (16:34 +0000)]
- module/includes cleanup
Michael Wallner [Tue, 22 Nov 2005 11:19:15 +0000 (11:19 +0000)]
- ws
Michael Wallner [Tue, 22 Nov 2005 10:59:59 +0000 (10:59 +0000)]
- ext/hash detection
Michael Wallner [Mon, 21 Nov 2005 17:03:11 +0000 (17:03 +0000)]
- typos
Michael Wallner [Mon, 21 Nov 2005 16:48:27 +0000 (16:48 +0000)]
- drop mhash support
Michael Wallner [Sat, 19 Nov 2005 17:02:48 +0000 (17:02 +0000)]
- aliases for HttpUtil
- check ident_len of identifier
Michael Wallner [Sat, 19 Nov 2005 16:50:16 +0000 (16:50 +0000)]
- add http_negotiate_content_type()
- fix bug in negotiator if accept headers contain spaces
Michael Wallner [Sat, 19 Nov 2005 09:38:10 +0000 (09:38 +0000)]
- fix phpinfo()
Michael Wallner [Sat, 19 Nov 2005 09:26:18 +0000 (09:26 +0000)]
- add preliminary ext/hash support (currently only for Win32)
Michael Wallner [Sat, 19 Nov 2005 09:24:33 +0000 (09:24 +0000)]
- tests fixup
Michael Wallner [Thu, 17 Nov 2005 16:27:53 +0000 (16:27 +0000)]
-fix Countable not available in WONKY
Michael Wallner [Wed, 16 Nov 2005 21:33:27 +0000 (21:33 +0000)]
- fix PHP4 build
Michael Wallner [Wed, 16 Nov 2005 16:47:12 +0000 (16:47 +0000)]
- use right version
Michael Wallner [Wed, 16 Nov 2005 16:45:48 +0000 (16:45 +0000)]
- release 0.18.0
Michael Wallner [Wed, 16 Nov 2005 13:08:27 +0000 (13:08 +0000)]
- "=" should actually be ":" in the Content-Range header
Michael Wallner [Tue, 15 Nov 2005 22:28:47 +0000 (22:28 +0000)]
gcc -W parameter cleanup
Michael Wallner [Tue, 15 Nov 2005 13:50:24 +0000 (13:50 +0000)]
- ditch some warnings
Michael Wallner [Mon, 14 Nov 2005 16:53:43 +0000 (16:53 +0000)]
- pmem aware phpstr
- tests fixup
# uhm.. where's the valgrind patch for run-tests?
Michael Wallner [Mon, 14 Nov 2005 14:50:51 +0000 (14:50 +0000)]
- remove debug statement
Michael Wallner [Mon, 14 Nov 2005 14:49:45 +0000 (14:49 +0000)]
- fix endless loop with bad input
Michael Wallner [Sat, 12 Nov 2005 10:16:47 +0000 (10:16 +0000)]
- fix occurrence of PHPSTR_LEN(x) = 0;
- flush
Michael Wallner [Fri, 11 Nov 2005 20:38:08 +0000 (20:38 +0000)]
- sanitize stream filter
Michael Wallner [Fri, 11 Nov 2005 17:06:37 +0000 (17:06 +0000)]
- poor stream filter for chunked encoding
Michael Wallner [Thu, 10 Nov 2005 15:54:13 +0000 (15:54 +0000)]
- make request_exec() always succeed (picky curl)
Michael Wallner [Thu, 10 Nov 2005 14:37:37 +0000 (14:37 +0000)]
- remove example scripts, as those can be extracted from tutorial.txt with extract.php
Michael Wallner [Thu, 10 Nov 2005 14:32:50 +0000 (14:32 +0000)]
- fix write access of HttpMessage properties
Michael Wallner [Wed, 9 Nov 2005 19:36:13 +0000 (19:36 +0000)]
- fix dep on SPL in PHP-5.1
Michael Wallner [Wed, 9 Nov 2005 16:37:57 +0000 (16:37 +0000)]
- use zend_hash_find() instead of FOREACH in http_match_request_header() (don't ask)
- add test
Michael Wallner [Wed, 9 Nov 2005 16:05:23 +0000 (16:05 +0000)]
* Fixed a bug which required "=" in Content-Range response message headers
Michael Wallner [Wed, 9 Nov 2005 15:24:05 +0000 (15:24 +0000)]
- http_get_request_headers() modified $_SERVER array keys
Michael Wallner [Wed, 9 Nov 2005 12:48:45 +0000 (12:48 +0000)]
- use %zu for size_t
- update .cvsignore
Michael Wallner [Wed, 9 Nov 2005 12:35:33 +0000 (12:35 +0000)]
- SPL doesn't install its headers
- %zu seems to be right for size_t arguments to *printf
Michael Wallner [Tue, 8 Nov 2005 23:00:16 +0000 (23:00 +0000)]
more tweaks
Michael Wallner [Tue, 8 Nov 2005 21:28:43 +0000 (21:28 +0000)]
ws
Michael Wallner [Tue, 8 Nov 2005 21:24:16 +0000 (21:24 +0000)]
install tweaks
Michael Wallner [Tue, 8 Nov 2005 14:07:23 +0000 (14:07 +0000)]
- added INI setting http.force_exit which can be used to disable script termination
in case of redirects and positive cache hits (instead, standard output will be discarded)
Michael Wallner [Tue, 8 Nov 2005 10:03:14 +0000 (10:03 +0000)]
- FOREACH macros now require a HashPosition argument
Michael Wallner [Tue, 8 Nov 2005 08:58:26 +0000 (08:58 +0000)]
- honor other REGISTER_CLASS macros too
# actually INIT_CLASS_ENTRY should/could do that...
Michael Wallner [Tue, 8 Nov 2005 08:39:56 +0000 (08:39 +0000)]
- initialize class entries, or else the ZE will try to access ce->handlers that point to nirvana
Michael Wallner [Tue, 8 Nov 2005 08:25:34 +0000 (08:25 +0000)]
- ensure detaching the request from the handles list is the last op
- add test
Michael Wallner [Mon, 7 Nov 2005 22:22:19 +0000 (22:22 +0000)]
- toggle debugging flag
Michael Wallner [Mon, 7 Nov 2005 22:15:42 +0000 (22:15 +0000)]
- due to the aggressive object deallocation the request object and its curl handle
would already have been cleaned up when reaching curl_multi_remove_handle()
when there's no additional reference to the request object (i.e. no user space
reference to the attached request object);
e.g.: $pool = new HttpRequestPool(new HttpRequest('...'))
Michael Wallner [Mon, 7 Nov 2005 20:49:05 +0000 (20:49 +0000)]
- Countable also requires PHP-5.1+
Michael Wallner [Mon, 7 Nov 2005 16:10:36 +0000 (16:10 +0000)]
- changelog
Michael Wallner [Mon, 7 Nov 2005 15:50:06 +0000 (15:50 +0000)]
- class HttpRequestPool implements Countable
- class HttpMessage implements Countable, Serializable
- add test
Michael Wallner [Mon, 7 Nov 2005 13:50:53 +0000 (13:50 +0000)]
- some notes about user space objects
Michael Wallner [Mon, 7 Nov 2005 13:30:28 +0000 (13:30 +0000)]
- don't addref on returned objects that only exist in user space
Michael Wallner [Mon, 7 Nov 2005 12:41:39 +0000 (12:41 +0000)]
- ws
# must be some sort of complex that everything needs to be aligned...
Michael Wallner [Fri, 4 Nov 2005 11:42:41 +0000 (11:42 +0000)]
- fix php4 build
Michael Wallner [Fri, 4 Nov 2005 11:34:30 +0000 (11:34 +0000)]
- update for release 0.17.0
Michael Wallner [Wed, 2 Nov 2005 16:45:14 +0000 (16:45 +0000)]
- ditch leak
Michael Wallner [Wed, 2 Nov 2005 16:32:01 +0000 (16:32 +0000)]
- ensure proper message deallocation
Michael Wallner [Wed, 2 Nov 2005 15:11:29 +0000 (15:11 +0000)]
- typo
Michael Wallner [Wed, 2 Nov 2005 13:21:22 +0000 (13:21 +0000)]
- extend & fixup test suite
Michael Wallner [Tue, 1 Nov 2005 15:48:17 +0000 (15:48 +0000)]
- fix build on win32; linkler flag /FORCE:MULTIPLE will generate an image, even if curl and php export zlibs symbols
Michael Wallner [Tue, 1 Nov 2005 11:08:58 +0000 (11:08 +0000)]
- own, simpler hash urlencoder
Michael Wallner [Sat, 29 Oct 2005 18:16:39 +0000 (18:16 +0000)]
- fix tests
Michael Wallner [Fri, 28 Oct 2005 21:01:36 +0000 (21:01 +0000)]
- no HttpMessage property access by reference
- use ulong/uint instead of unsigned long/int
Michael Wallner [Fri, 28 Oct 2005 15:32:19 +0000 (15:32 +0000)]
- fix access to variables if HttpMessage is extended
Michael Wallner [Fri, 28 Oct 2005 12:06:37 +0000 (12:06 +0000)]
- don't make these zvals references
Michael Wallner [Fri, 28 Oct 2005 11:49:13 +0000 (11:49 +0000)]
- all those handlers->add_ref(zobject) would prevent the objects from
being freed when there's no more reference to them
Michael Wallner [Fri, 28 Oct 2005 10:51:11 +0000 (10:51 +0000)]
- fix request errors hidden under the hood of the request pool
- smarter chunked decoder
- add exhaustive HttpRequestPool test
- add two tests for truncated chunked encoded data
Michael Wallner [Thu, 27 Oct 2005 10:38:47 +0000 (10:38 +0000)]
- do not naivly trust headers about content length
Michael Wallner [Wed, 26 Oct 2005 16:55:24 +0000 (16:55 +0000)]
- errenous function declarations
Michael Wallner [Wed, 26 Oct 2005 15:54:44 +0000 (15:54 +0000)]
- no history logging by default
- fix occasional memleaks
Michael Wallner [Wed, 26 Oct 2005 12:51:22 +0000 (12:51 +0000)]
- fix parsing chunked encoded messages with odd spaces after the chunk size
Michael Wallner [Wed, 26 Oct 2005 12:22:46 +0000 (12:22 +0000)]
- fix parsing messages with an header that contains HTTP/1.x
Michael Wallner [Tue, 25 Oct 2005 12:01:30 +0000 (12:01 +0000)]
- clone() support for HttpRequest
- disallow clone() on HttpRequestPool
Michael Wallner [Mon, 24 Oct 2005 19:15:55 +0000 (19:15 +0000)]
- fix shared build witin the php src tree
Michael Wallner [Mon, 24 Oct 2005 16:31:47 +0000 (16:31 +0000)]
- relicense with a BSD style license
Michael Wallner [Fri, 21 Oct 2005 16:17:44 +0000 (16:17 +0000)]
oh dammit
Michael Wallner [Fri, 21 Oct 2005 14:09:08 +0000 (14:09 +0000)]
- start thinking about cloning
Michael Wallner [Fri, 21 Oct 2005 11:28:54 +0000 (11:28 +0000)]
- bad pointer arithmetics
Michael Wallner [Fri, 21 Oct 2005 10:38:28 +0000 (10:38 +0000)]
- proper location of the HTTP_NEED_SSL_TSL macro
Michael Wallner [Fri, 21 Oct 2005 09:48:26 +0000 (09:48 +0000)]
- eliminate warinings in encoding api
- improve configure check for curl ssl support
- introduce untested gnutls thread safe crypto locking callbacks
Michael Wallner [Thu, 20 Oct 2005 15:30:46 +0000 (15:30 +0000)]
- http_support() claimed there's no SSL support ifndef ZTS
Michael Wallner [Wed, 19 Oct 2005 09:10:22 +0000 (09:10 +0000)]
- release 0.16
Michael Wallner [Wed, 19 Oct 2005 07:49:10 +0000 (07:49 +0000)]
- better example/approach of using the protected HttpRequestPool methods
to process intermediate request results
Michael Wallner [Tue, 18 Oct 2005 11:18:33 +0000 (11:18 +0000)]
- use object_handlers->add_ref()
Michael Wallner [Tue, 18 Oct 2005 09:34:42 +0000 (09:34 +0000)]
- add HttpRequestPool::getFinishedRequests(), so now it's possible to process finished requests while others are still running
Michael Wallner [Mon, 17 Oct 2005 16:28:35 +0000 (16:28 +0000)]
- encodings support exists with ext/zlib too
Michael Wallner [Mon, 17 Oct 2005 16:23:16 +0000 (16:23 +0000)]
- fix issues ifndef HTTP_HAVE_CURL
- fix tests' skipif sections
Michael Wallner [Mon, 17 Oct 2005 15:56:42 +0000 (15:56 +0000)]
- fixed issues ifndef HTTP_HAVE_ZLIB and enable gzipped response decoding ifdef HAVE_ZLIB
Michael Wallner [Mon, 17 Oct 2005 14:43:32 +0000 (14:43 +0000)]
- ditch the 1 byte leak
Michael Wallner [Mon, 17 Oct 2005 14:19:20 +0000 (14:19 +0000)]
- fix remaining issues; there's still a 1-byte memleak I could not find yet
Michael Wallner [Mon, 17 Oct 2005 13:46:01 +0000 (13:46 +0000)]
- fix previous commit and adjust tests
Michael Wallner [Mon, 17 Oct 2005 10:31:14 +0000 (10:31 +0000)]
- gzip responses
# this is a braindump; do not try to compile
Michael Wallner [Fri, 14 Oct 2005 15:48:24 +0000 (15:48 +0000)]
- allow negative time offsets
Michael Wallner [Fri, 14 Oct 2005 10:51:57 +0000 (10:51 +0000)]
- don't destruct the zval right after construction in http_message_tostruct_recursive()
- add test
Michael Wallner [Fri, 14 Oct 2005 09:10:30 +0000 (09:10 +0000)]
- unset in http_curl_defaults() too
Michael Wallner [Fri, 14 Oct 2005 09:08:43 +0000 (09:08 +0000)]
- unset the time condition option in curl properly if we unset the lastmodified option
Michael Wallner [Thu, 13 Oct 2005 14:43:56 +0000 (14:43 +0000)]
- http_globals.gzip_encoding needs to be sort of a real int
Michael Wallner [Thu, 13 Oct 2005 14:36:21 +0000 (14:36 +0000)]
- independency from ext/zlib
- added http_encode()/http_decode() wrappers
- added http_negotiate_encoding()
- removed bug_34191.phpt; does not affect us any longer
# Ineed to look up the RFC before the ranges support gz encoding;
# I even think the current/past behaviour of sending multiple
# ranges with og_gzhandler/zlib.output_compression was bogus
Michael Wallner [Wed, 12 Oct 2005 17:40:45 +0000 (17:40 +0000)]
- don't try to allocate negative size
- fix tests
Michael Wallner [Wed, 12 Oct 2005 17:36:48 +0000 (17:36 +0000)]
- fix bitmask checking