m6w6/ext-http
19 years ago- toggle debugging flag
Michael Wallner [Mon, 7 Nov 2005 22:22:19 +0000 (22:22 +0000)] 
- toggle debugging flag

19 years ago- due to the aggressive object deallocation the request object and its curl handle
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('...'))

19 years ago- Countable also requires PHP-5.1+
Michael Wallner [Mon, 7 Nov 2005 20:49:05 +0000 (20:49 +0000)] 
- Countable also requires PHP-5.1+

19 years ago- changelog
Michael Wallner [Mon, 7 Nov 2005 16:10:36 +0000 (16:10 +0000)] 
- changelog

19 years ago- class HttpRequestPool implements Countable
Michael Wallner [Mon, 7 Nov 2005 15:50:06 +0000 (15:50 +0000)] 
- class HttpRequestPool implements Countable
- class HttpMessage implements Countable, Serializable
- add test

19 years ago- some notes about user space objects
Michael Wallner [Mon, 7 Nov 2005 13:50:53 +0000 (13:50 +0000)] 
- some notes about user space objects

19 years ago- don't addref on returned objects that only exist in user space
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

19 years ago- ws
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...

19 years ago- fix php4 build
Michael Wallner [Fri, 4 Nov 2005 11:42:41 +0000 (11:42 +0000)] 
- fix php4 build

19 years ago- update for release 0.17.0
Michael Wallner [Fri, 4 Nov 2005 11:34:30 +0000 (11:34 +0000)] 
- update for release 0.17.0

19 years ago- ditch leak
Michael Wallner [Wed, 2 Nov 2005 16:45:14 +0000 (16:45 +0000)] 
- ditch leak

19 years ago- ensure proper message deallocation
Michael Wallner [Wed, 2 Nov 2005 16:32:01 +0000 (16:32 +0000)] 
- ensure proper message deallocation

19 years ago- typo
Michael Wallner [Wed, 2 Nov 2005 15:11:29 +0000 (15:11 +0000)] 
- typo

19 years ago- extend & fixup test suite
Michael Wallner [Wed, 2 Nov 2005 13:21:22 +0000 (13:21 +0000)] 
- extend & fixup test suite

19 years ago- fix build on win32; linkler flag /FORCE:MULTIPLE will generate an image, even if...
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

19 years ago- own, simpler hash urlencoder
Michael Wallner [Tue, 1 Nov 2005 11:08:58 +0000 (11:08 +0000)] 
- own, simpler hash urlencoder

19 years ago- fix tests
Michael Wallner [Sat, 29 Oct 2005 18:16:39 +0000 (18:16 +0000)] 
-  fix tests

19 years ago- no HttpMessage property access by reference
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

19 years ago- fix access to variables if HttpMessage is extended
Michael Wallner [Fri, 28 Oct 2005 15:32:19 +0000 (15:32 +0000)] 
- fix access to variables if HttpMessage is extended

19 years ago- don't make these zvals references
Michael Wallner [Fri, 28 Oct 2005 12:06:37 +0000 (12:06 +0000)] 
- don't make these zvals references

19 years ago- all those handlers->add_ref(zobject) would prevent the objects from
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

19 years ago- fix request errors hidden under the hood of the request pool
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

19 years ago- do not naivly trust headers about content length
Michael Wallner [Thu, 27 Oct 2005 10:38:47 +0000 (10:38 +0000)] 
- do not naivly trust headers about content length

19 years ago- errenous function declarations
Michael Wallner [Wed, 26 Oct 2005 16:55:24 +0000 (16:55 +0000)] 
- errenous function declarations

19 years ago- no history logging by default
Michael Wallner [Wed, 26 Oct 2005 15:54:44 +0000 (15:54 +0000)] 
- no history logging by default
- fix occasional memleaks

19 years ago- fix parsing chunked encoded messages with odd spaces after the chunk size
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

19 years ago- fix parsing messages with an header that contains HTTP/1.x
Michael Wallner [Wed, 26 Oct 2005 12:22:46 +0000 (12:22 +0000)] 
- fix parsing messages with an header that contains HTTP/1.x

19 years ago- clone() support for HttpRequest
Michael Wallner [Tue, 25 Oct 2005 12:01:30 +0000 (12:01 +0000)] 
- clone() support for HttpRequest
- disallow clone() on HttpRequestPool

19 years ago- fix shared build witin the php src tree
Michael Wallner [Mon, 24 Oct 2005 19:15:55 +0000 (19:15 +0000)] 
- fix shared build witin the php src tree

19 years ago- relicense with a BSD style license
Michael Wallner [Mon, 24 Oct 2005 16:31:47 +0000 (16:31 +0000)] 
- relicense with a BSD style license

19 years agooh dammit
Michael Wallner [Fri, 21 Oct 2005 16:17:44 +0000 (16:17 +0000)] 
oh dammit

19 years ago- start thinking about cloning
Michael Wallner [Fri, 21 Oct 2005 14:09:08 +0000 (14:09 +0000)] 
- start thinking about cloning

19 years ago- bad pointer arithmetics
Michael Wallner [Fri, 21 Oct 2005 11:28:54 +0000 (11:28 +0000)] 
- bad pointer arithmetics

19 years ago- proper location of the HTTP_NEED_SSL_TSL macro
Michael Wallner [Fri, 21 Oct 2005 10:38:28 +0000 (10:38 +0000)] 
- proper location of the HTTP_NEED_SSL_TSL macro

19 years ago- eliminate warinings in encoding api
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

19 years ago- http_support() claimed there's no SSL support ifndef ZTS
Michael Wallner [Thu, 20 Oct 2005 15:30:46 +0000 (15:30 +0000)] 
- http_support() claimed there's no SSL support ifndef ZTS

19 years ago- release 0.16
Michael Wallner [Wed, 19 Oct 2005 09:10:22 +0000 (09:10 +0000)] 
- release 0.16

19 years ago- better example/approach of using the protected HttpRequestPool methods
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

19 years ago- use object_handlers->add_ref()
Michael Wallner [Tue, 18 Oct 2005 11:18:33 +0000 (11:18 +0000)] 
- use object_handlers->add_ref()

19 years ago- add HttpRequestPool::getFinishedRequests(), so now it's possible to process finishe...
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

19 years ago- encodings support exists with ext/zlib too
Michael Wallner [Mon, 17 Oct 2005 16:28:35 +0000 (16:28 +0000)] 
- encodings support exists with ext/zlib too

19 years ago- fix issues ifndef HTTP_HAVE_CURL
Michael Wallner [Mon, 17 Oct 2005 16:23:16 +0000 (16:23 +0000)] 
- fix issues ifndef HTTP_HAVE_CURL
- fix tests' skipif sections

19 years ago- fixed issues ifndef HTTP_HAVE_ZLIB and enable gzipped response decoding ifdef HAVE_ZLIB
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

19 years ago- ditch the 1 byte leak
Michael Wallner [Mon, 17 Oct 2005 14:43:32 +0000 (14:43 +0000)] 
- ditch the 1 byte leak

19 years ago- fix remaining issues; there's still a 1-byte memleak I could not find yet
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

19 years ago- fix previous commit and adjust tests
Michael Wallner [Mon, 17 Oct 2005 13:46:01 +0000 (13:46 +0000)] 
- fix previous commit and adjust tests

19 years ago- gzip responses
Michael Wallner [Mon, 17 Oct 2005 10:31:14 +0000 (10:31 +0000)] 
- gzip responses

# this is a braindump; do not try to compile

19 years ago- allow negative time offsets
Michael Wallner [Fri, 14 Oct 2005 15:48:24 +0000 (15:48 +0000)] 
- allow negative time offsets

19 years ago- don't destruct the zval right after construction in http_message_tostruct_recursive()
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

19 years ago- unset in http_curl_defaults() too
Michael Wallner [Fri, 14 Oct 2005 09:10:30 +0000 (09:10 +0000)] 
- unset in http_curl_defaults() too

19 years ago- unset the time condition option in curl properly if we unset the lastmodified option
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

19 years ago- http_globals.gzip_encoding needs to be sort of a real int
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

19 years ago- independency from ext/zlib
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

19 years ago- don't try to allocate negative size
Michael Wallner [Wed, 12 Oct 2005 17:40:45 +0000 (17:40 +0000)] 
- don't try to allocate negative size
- fix tests

19 years ago- fix bitmask checking
Michael Wallner [Wed, 12 Oct 2005 17:36:48 +0000 (17:36 +0000)] 
- fix bitmask checking

19 years ago- add gzip header verification
Michael Wallner [Wed, 12 Oct 2005 17:18:27 +0000 (17:18 +0000)] 
- add gzip header verification

19 years ago- use the same approach in uncompress like in inflate
Michael Wallner [Wed, 12 Oct 2005 11:40:09 +0000 (11:40 +0000)] 
- use the same approach in uncompress like in inflate
- move the verifier into its own inline function
- free buffer in gzdecode on failure

19 years ago- rerun only on Z_BUF_ERROR
Michael Wallner [Tue, 11 Oct 2005 17:16:15 +0000 (17:16 +0000)] 
- rerun only on Z_BUF_ERROR

19 years ago- use PHP macros, so that it is obvious when to call what
Michael Wallner [Tue, 11 Oct 2005 17:11:37 +0000 (17:11 +0000)] 
- use PHP macros, so that it is obvious when to call what

19 years ago- pear pickle
Michael Wallner [Tue, 11 Oct 2005 11:40:14 +0000 (11:40 +0000)] 
- pear pickle

19 years ago- release
Michael Wallner [Tue, 11 Oct 2005 11:39:34 +0000 (11:39 +0000)] 
- release

19 years ago-fix typos
Michael Wallner [Tue, 11 Oct 2005 11:35:58 +0000 (11:35 +0000)] 
-fix typos

19 years ago- docs
Michael Wallner [Tue, 11 Oct 2005 11:35:05 +0000 (11:35 +0000)] 
- docs
- release 0.15

19 years ago- fix memleak when http_get() etc intermit unexpectedly
Michael Wallner [Tue, 11 Oct 2005 10:25:37 +0000 (10:25 +0000)] 
- fix memleak when http_get() etc intermit unexpectedly
- pass supported encodings if we've built with zlib

19 years ago- don't link explicitly against zlib, as ext/zlib is enabled by default and libphp
Michael Wallner [Tue, 11 Oct 2005 09:00:54 +0000 (09:00 +0000)] 
- don't link explicitly against zlib, as ext/zlib is enabled by default and libphp
  exports the zlib functions; should fix the build on edins box

19 years ago- typos
Michael Wallner [Tue, 11 Oct 2005 08:14:49 +0000 (08:14 +0000)] 
- typos

19 years ago- add http_support() for probing features that depend on external libraries
Michael Wallner [Tue, 11 Oct 2005 08:05:04 +0000 (08:05 +0000)] 
- add http_support() for probing features that depend on external libraries
- fix PHP4 DSP

19 years ago- we need a bit more space for the footer too in http_gzencode()
Michael Wallner [Tue, 11 Oct 2005 07:49:03 +0000 (07:49 +0000)] 
- we need a bit more space for the footer too in http_gzencode()

19 years ago- fix test if ext/zlib is not loaded
Michael Wallner [Mon, 10 Oct 2005 19:51:38 +0000 (19:51 +0000)] 
- fix test if ext/zlib is not loaded

19 years ago- initialize default compression level
Michael Wallner [Mon, 10 Oct 2005 19:43:05 +0000 (19:43 +0000)] 
- initialize default compression level
- add the functions to the function entries ...
- add test
- fix buffer errors when encoding much widely differing (binary) data

19 years ago- fix package.xml
Michael Wallner [Mon, 10 Oct 2005 16:58:35 +0000 (16:58 +0000)] 
- fix package.xml

19 years ago- add compression functions to userspace
Michael Wallner [Mon, 10 Oct 2005 16:40:15 +0000 (16:40 +0000)] 
- add compression functions to userspace

19 years ago- fix CRC retrieval
Michael Wallner [Mon, 10 Oct 2005 15:47:59 +0000 (15:47 +0000)] 
- fix CRC retrieval

19 years ago- move the chunked decoder to the encoding_api
Michael Wallner [Mon, 10 Oct 2005 14:29:28 +0000 (14:29 +0000)] 
- move the chunked decoder to the encoding_api

19 years ago- add own zlib layer
Michael Wallner [Mon, 10 Oct 2005 14:12:05 +0000 (14:12 +0000)] 
- add own zlib layer

19 years ago- fix parsing messages with Content-Range header
Michael Wallner [Mon, 10 Oct 2005 08:01:55 +0000 (08:01 +0000)] 
- fix parsing messages with Content-Range header
- add test

19 years ago- don't trap into any other transfer encoding than chunked
Michael Wallner [Mon, 10 Oct 2005 07:14:53 +0000 (07:14 +0000)] 
- don't trap into any other transfer encoding than chunked

19 years ago- allow passing request options to the ctor
Michael Wallner [Sun, 9 Oct 2005 20:58:56 +0000 (20:58 +0000)] 
- allow passing request options to the ctor
- adjust test

19 years ago- avoid endless loop if attach() is called while the iterator is active
Michael Wallner [Sun, 9 Oct 2005 18:27:01 +0000 (18:27 +0000)] 
- avoid endless loop if attach() is called while the iterator is active
- make the behaviour intentional when detach() is called while the iterator is active

19 years ago- examples fixup
Michael Wallner [Sun, 9 Oct 2005 16:07:12 +0000 (16:07 +0000)] 
- examples fixup

19 years ago- add note about SSL connect errors on windows due to LIB/DLL mismatches
Michael Wallner [Sun, 9 Oct 2005 12:03:10 +0000 (12:03 +0000)] 
- add note about SSL connect errors on windows due to LIB/DLL mismatches

19 years ago- fix "UNKNOWN" for unknown request methods
Michael Wallner [Sun, 9 Oct 2005 10:12:09 +0000 (10:12 +0000)] 
- fix "UNKNOWN" for unknown request methods
- add test

19 years ago- some minor strlen() and strlcat() tweaks
Michael Wallner [Sun, 9 Oct 2005 09:00:40 +0000 (09:00 +0000)] 
- some minor strlen() and strlcat() tweaks

19 years ago- CRLF -> LF; dammit
Michael Wallner [Sat, 8 Oct 2005 21:29:22 +0000 (21:29 +0000)] 
- CRLF -> LF; dammit

19 years ago- tests fixup
Michael Wallner [Sat, 8 Oct 2005 21:17:07 +0000 (21:17 +0000)] 
- tests fixup

19 years ago- tests fixup
Michael Wallner [Sat, 8 Oct 2005 20:42:16 +0000 (20:42 +0000)] 
- tests fixup

19 years ago- substract 10% instead of 50%, as already documented
Michael Wallner [Fri, 7 Oct 2005 18:52:55 +0000 (18:52 +0000)] 
- substract 10% instead of 50%, as already documented

19 years ago- flush
Michael Wallner [Fri, 7 Oct 2005 16:35:01 +0000 (16:35 +0000)] 
- flush

19 years ago- add crc etag test
Michael Wallner [Fri, 7 Oct 2005 16:32:44 +0000 (16:32 +0000)] 
- add crc etag test
- update etag and last-modified even if we had one, to reflect changes;
  the user must set custom ones after supplying the data then...

19 years ago- fix HTTP_ETAG_CRC32
Michael Wallner [Fri, 7 Oct 2005 15:57:04 +0000 (15:57 +0000)] 
- fix HTTP_ETAG_CRC32

19 years ago- commonize some error messages
Michael Wallner [Fri, 7 Oct 2005 15:19:37 +0000 (15:19 +0000)] 
- commonize some error messages

19 years ago- ditch leak when throwing exceptions
Michael Wallner [Fri, 7 Oct 2005 13:31:42 +0000 (13:31 +0000)] 
- ditch leak when throwing exceptions
- add simple test

19 years ago- 4 etag tests using ob
Michael Wallner [Fri, 7 Oct 2005 10:57:08 +0000 (10:57 +0000)] 
- 4 etag tests using ob

19 years ago- fixed memory corruption
Michael Wallner [Fri, 7 Oct 2005 10:52:50 +0000 (10:52 +0000)] 
- fixed memory corruption
- added 4 etag mode tests

19 years ago- etag caching improvements
Michael Wallner [Fri, 7 Oct 2005 10:23:26 +0000 (10:23 +0000)] 
- etag caching improvements

19 years ago- dont assume PHP-version or Content-Type
Michael Wallner [Thu, 6 Oct 2005 16:47:32 +0000 (16:47 +0000)] 
- dont assume PHP-version or Content-Type

19 years ago- changelog, new test files
Michael Wallner [Thu, 6 Oct 2005 16:17:47 +0000 (16:17 +0000)] 
- changelog, new test files

19 years ago- fix warnings with etag caching at shutdown
Michael Wallner [Thu, 6 Oct 2005 16:05:08 +0000 (16:05 +0000)] 
- fix warnings with etag caching at shutdown
- add 2 new tests

19 years ago- doc: generate a TOC
Michael Wallner [Wed, 5 Oct 2005 15:36:49 +0000 (15:36 +0000)] 
- doc: generate a TOC

19 years ago- changelog
Michael Wallner [Wed, 5 Oct 2005 14:42:39 +0000 (14:42 +0000)] 
- changelog
- version bump
- docs