m6w6/ext-http
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

19 years ago- better inline docs, part #5 and presumingly the last major one
Michael Wallner [Wed, 5 Oct 2005 14:22:49 +0000 (14:22 +0000)] 
- better inline docs, part #5 and presumingly the last major one

19 years ago- correct DST TZ offsets
Michael Wallner [Wed, 5 Oct 2005 11:46:31 +0000 (11:46 +0000)] 
- correct DST TZ offsets

19 years ago- better inline docs, part #4
Michael Wallner [Wed, 5 Oct 2005 11:39:34 +0000 (11:39 +0000)] 
- better inline docs, part #4

19 years ago- better inline docs, part #2 and #3
Michael Wallner [Wed, 5 Oct 2005 11:22:12 +0000 (11:22 +0000)] 
- better inline docs, part #2 and #3

19 years ago- new signature for the negotiator, which doesn't mix return value types, but
Michael Wallner [Wed, 5 Oct 2005 07:29:29 +0000 (07:29 +0000)] 
- new signature for the negotiator, which doesn't mix return value types, but
  fills the optional second argument with the negotiaton result array if desired

19 years ago- better inline docs part #1
Michael Wallner [Tue, 4 Oct 2005 20:28:16 +0000 (20:28 +0000)] 
- better inline docs part #1

19 years ago- rename http_absolute_uri to http_build_uri (complements http_build_query)
Michael Wallner [Tue, 4 Oct 2005 14:34:26 +0000 (14:34 +0000)] 
- rename http_absolute_uri to http_build_uri (complements http_build_query)
- ditch memleak in the HTTP_DO_NEGOTIATE() macro

19 years ago- use global send buffer size for output buffering, as we'll flush anyways after...
Michael Wallner [Tue, 4 Oct 2005 14:00:12 +0000 (14:00 +0000)] 
- use global send buffer size for output buffering, as we'll flush anyways after this chunk size

19 years ago- added HttpRequest::clearHistory()
Michael Wallner [Tue, 4 Oct 2005 12:10:16 +0000 (12:10 +0000)] 
- added HttpRequest::clearHistory()

19 years ago- release 0.14.2
Michael Wallner [Tue, 4 Oct 2005 08:51:34 +0000 (08:51 +0000)] 
- release 0.14.2

19 years ago- missing include
Michael Wallner [Tue, 4 Oct 2005 08:46:07 +0000 (08:46 +0000)] 
- missing include

19 years ago- changelog
Michael Wallner [Tue, 4 Oct 2005 08:44:46 +0000 (08:44 +0000)] 
- changelog

19 years ago- fixed typo in month list: Okt should have been Oct
Michael Wallner [Tue, 4 Oct 2005 08:41:44 +0000 (08:41 +0000)] 
- fixed typo in month list: Okt should have been Oct
- push out headers in http_exit()
- fixed another typo

19 years ago- add note about FastCGI buffering/flush issue (throttling)
Michael Wallner [Mon, 3 Oct 2005 16:06:25 +0000 (16:06 +0000)] 
- add note about FastCGI buffering/flush issue (throttling)

19 years ago- support for the "right way" (tm) to redirect post requests
Michael Wallner [Fri, 30 Sep 2005 15:43:15 +0000 (15:43 +0000)] 
- support for the "right way" (tm) to redirect post requests

19 years ago- release 0.14.1
Michael Wallner [Fri, 30 Sep 2005 11:16:39 +0000 (11:16 +0000)] 
- release 0.14.1

19 years ago- fix write_prop() too
Michael Wallner [Fri, 30 Sep 2005 11:08:05 +0000 (11:08 +0000)] 
- fix write_prop() too

19 years ago- fix PHP5 build
Michael Wallner [Fri, 30 Sep 2005 08:04:35 +0000 (08:04 +0000)] 
- fix PHP5 build

19 years ago- add package.xml generated by $pecl pickle
Michael Wallner [Tue, 27 Sep 2005 16:01:37 +0000 (16:01 +0000)] 
- add package.xml generated by $pecl pickle

19 years ago- remove
Michael Wallner [Mon, 26 Sep 2005 14:49:09 +0000 (14:49 +0000)] 
- remove

19 years ago- release 0.14.0
Michael Wallner [Mon, 26 Sep 2005 14:48:28 +0000 (14:48 +0000)] 
- release 0.14.0

19 years ago- correct package name
Michael Wallner [Mon, 26 Sep 2005 09:16:48 +0000 (09:16 +0000)] 
- correct package name
- PEAR-1.4.1 now understands <filelist> in <extsrcrelease>
- more verbose configureoption prompts

19 years ago- fixed a gotcha in http_chunked_decode (-size_t is always > 0)
Michael Wallner [Fri, 23 Sep 2005 12:00:30 +0000 (12:00 +0000)] 
- fixed a gotcha in http_chunked_decode (-size_t is always > 0)
- avoid unneccessary initialization operations

19 years ago- changelog
Michael Wallner [Thu, 22 Sep 2005 12:10:44 +0000 (12:10 +0000)] 
- changelog

19 years ago- add first version of package2.xml
Michael Wallner [Thu, 22 Sep 2005 11:48:22 +0000 (11:48 +0000)] 
- add first version of package2.xml
- define PHPSTR_DEFAULT_SIZE in the header
- some minor tidbits

19 years ago- fix very silly behaviour of libmagic if we want to get the mime type intead
Michael Wallner [Wed, 21 Sep 2005 12:03:44 +0000 (12:03 +0000)] 
- fix very silly behaviour of libmagic if we want to get the mime type intead
  of a human readable string, which is usually the default use case

# background: libmagic appends ".mime" to the magic file name if MAGIC_MIME is set (sic!)

19 years ago- php_info fun
Michael Wallner [Tue, 20 Sep 2005 15:32:23 +0000 (15:32 +0000)] 
- php_info fun
- add PHPs CRC32 to the supported ETag hash algos (no idea yet why it differs to that of MHASH)
- save strlen() calls in http_send_ranges()

19 years ago- fiy a bad thing which was luckily working (putting in zvals and fetching out longs...
Michael Wallner [Tue, 20 Sep 2005 12:11:22 +0000 (12:11 +0000)] 
- fiy a bad thing which was luckily working (putting in zvals and fetching out longs of a HashTable)

19 years ago- last mhash algo was missed
Michael Wallner [Tue, 20 Sep 2005 09:24:51 +0000 (09:24 +0000)] 
- last mhash algo was missed

19 years ago- ensure proper CURL_EXTERN macro by defining CURL_STATICLIB
Michael Wallner [Tue, 20 Sep 2005 08:58:02 +0000 (08:58 +0000)] 
- ensure proper CURL_EXTERN macro by defining CURL_STATICLIB
- no request methods class constants for WONKY
- no zend_get_property_info() in WONKY

19 years ago- remove C++ comment
Michael Wallner [Mon, 19 Sep 2005 16:50:26 +0000 (16:50 +0000)] 
- remove C++ comment

19 years ago- avoid lots of useless ops
Michael Wallner [Mon, 19 Sep 2005 16:49:11 +0000 (16:49 +0000)] 
- avoid lots of useless ops
- fix mem leak

19 years ago- fix property access
Michael Wallner [Mon, 19 Sep 2005 16:34:07 +0000 (16:34 +0000)] 
- fix property access

19 years ago- changed the default value of $include_parent of HttpMessage::toString() to false,
Michael Wallner [Mon, 19 Sep 2005 16:10:18 +0000 (16:10 +0000)] 
- changed the default value of $include_parent of HttpMessage::toString() to false,
  which should be the more intuitive behaviour

19 years ago- missed fixbit
Michael Wallner [Mon, 19 Sep 2005 15:09:34 +0000 (15:09 +0000)] 
- missed fixbit

19 years ago- initialize local zvals used as HashTable containers
Michael Wallner [Mon, 19 Sep 2005 15:07:59 +0000 (15:07 +0000)] 
- initialize local zvals used as HashTable containers
- added another function missing in WONKY (zend_update_property_stringl)
- added PHP4 compile fix (RETVAL_ZVAL)
- ditch warnings

19 years ago- fix memory corruption
Michael Wallner [Fri, 16 Sep 2005 16:21:51 +0000 (16:21 +0000)] 
- fix memory corruption
- ditch unused macro

19 years ago- forward until we find a digit
Michael Wallner [Fri, 16 Sep 2005 14:23:03 +0000 (14:23 +0000)] 
- forward until we find a digit

19 years ago- example fixup
Michael Wallner [Fri, 16 Sep 2005 14:07:26 +0000 (14:07 +0000)] 
- example fixup

19 years ago- new negotiator + test
Michael Wallner [Fri, 16 Sep 2005 13:59:19 +0000 (13:59 +0000)] 
- new negotiator + test

19 years ago- check for curl_easy_reset() in lib and assume presence on windows
Michael Wallner [Thu, 15 Sep 2005 17:02:37 +0000 (17:02 +0000)] 
- check for curl_easy_reset() in lib and assume presence on windows
- add http_curl_defaults()
- fix constant names in tests
- fix HttpResponse::capture()

19 years ago- no forced pass_by_ref for objects
Michael Wallner [Thu, 15 Sep 2005 15:10:41 +0000 (15:10 +0000)] 
- no forced pass_by_ref for objects

19 years ago- http_request_method_*() API should have been available even since last release...
Michael Wallner [Thu, 15 Sep 2005 13:52:46 +0000 (13:52 +0000)] 
- http_request_method_*() API should have been available even since last release...

19 years ago- more descriptive constant names
Michael Wallner [Thu, 15 Sep 2005 13:39:03 +0000 (13:39 +0000)] 
- more descriptive constant names
- add request method constants to HttpRequest and handle them in method_(un)register()

19 years ago- move specific initialization code to the respective modules
Michael Wallner [Wed, 14 Sep 2005 15:19:15 +0000 (15:19 +0000)] 
- move specific initialization code to the respective modules
- expose ETAG_MHASH constants

19 years ago- EOL fix
Michael Wallner [Wed, 14 Sep 2005 15:02:35 +0000 (15:02 +0000)] 
- EOL fix

19 years ago- no headers property anymore
Michael Wallner [Wed, 14 Sep 2005 11:32:25 +0000 (11:32 +0000)] 
- no headers property anymore
- need to make data, file and stream properties private, because we need
  to know the http_send_mode which can anly be set in methods automatically