m6w6/ext-http
18 years ago- fix config.m4
Michael Wallner [Sat, 10 Dec 2005 19:00:40 +0000 (19:00 +0000)] 
- fix config.m4
- fix some read beyond errors found thanks to run-tests -m

18 years ago- tests fixup
Michael Wallner [Sat, 10 Dec 2005 17:11:52 +0000 (17:11 +0000)] 
- tests fixup

18 years ago- bug has been fixed; remaining buffering apache filter brigades are not directly...
Michael Wallner [Sat, 10 Dec 2005 17:03:59 +0000 (17:03 +0000)] 
- bug has been fixed; remaining buffering apache filter brigades are not directly related to us

18 years ago- allow requests for compressed content even if neither curl nor ext/http
Michael Wallner [Sat, 10 Dec 2005 17:02:51 +0000 (17:02 +0000)] 
- allow requests for compressed content even if neither curl nor ext/http
  were built with zlib support
- let curl compose the accpt-encoding header if it was built with zlib support,
  because it will bail out if it receives anything else it doesn't support

# if an<one knows a site that uses something else than gzip encoding, let me know! ;)

18 years ago- fypo tix
Michael Wallner [Sat, 10 Dec 2005 12:18:20 +0000 (12:18 +0000)] 
- fypo tix

18 years ago- fix leak with class constants
Michael Wallner [Sat, 10 Dec 2005 12:16:33 +0000 (12:16 +0000)] 
- fix leak with class constants

18 years ago- always call deflateEnd() etc
Michael Wallner [Sat, 10 Dec 2005 10:56:32 +0000 (10:56 +0000)] 
- always call deflateEnd() etc

18 years ago- sanitize
Michael Wallner [Sat, 10 Dec 2005 01:09:30 +0000 (01:09 +0000)] 
- sanitize
- enable uncompress

18 years ago- lotta changes asked by Ilia
Michael Wallner [Fri, 9 Dec 2005 16:56:24 +0000 (16:56 +0000)] 
- lotta changes asked by Ilia

# had not really time to test, need to rush :)

18 years ago- proper type checking, thanks Sara
Michael Wallner [Fri, 9 Dec 2005 16:18:07 +0000 (16:18 +0000)] 
- proper type checking, thanks Sara

18 years ago- fix read beyond end of key string for var_dump() and fellows
Michael Wallner [Fri, 9 Dec 2005 11:52:36 +0000 (11:52 +0000)] 
- fix read beyond end of key string for var_dump() and fellows

18 years ago- http_request_body_free() should only accept a ptr_ptr
Michael Wallner [Thu, 8 Dec 2005 21:59:28 +0000 (21:59 +0000)] 
- http_request_body_free() should only accept a ptr_ptr

18 years ago- no pass by ref in HttpRequestPool::__construct(), please
Michael Wallner [Thu, 8 Dec 2005 19:57:30 +0000 (19:57 +0000)] 
- no pass by ref in HttpRequestPool::__construct(), please

18 years ago- update constant names in examples
Michael Wallner [Thu, 8 Dec 2005 19:56:55 +0000 (19:56 +0000)] 
- update constant names in examples

18 years ago- fix GMT offsets on Windows for parse_date()
Michael Wallner [Thu, 8 Dec 2005 10:11:04 +0000 (10:11 +0000)] 
- fix GMT offsets on Windows for parse_date()

18 years ago- PHPUnit HttpUtil
Michael Wallner [Wed, 7 Dec 2005 22:28:22 +0000 (22:28 +0000)] 
- PHPUnit HttpUtil

18 years ago- fix logic error
Michael Wallner [Wed, 7 Dec 2005 21:16:36 +0000 (21:16 +0000)] 
- fix logic error

18 years ago- furl.scheme cannot be NULL at this stage
Michael Wallner [Wed, 7 Dec 2005 21:13:19 +0000 (21:13 +0000)] 
- furl.scheme cannot be NULL at this stage
- check for different port for other protos than http(s)

18 years ago- fix segv if http_absolute_uri returns NULL
Michael Wallner [Wed, 7 Dec 2005 21:02:57 +0000 (21:02 +0000)] 
- fix segv if http_absolute_uri returns NULL
- translate ports with htons and ntohs
- check if supllied host actaually has a length

18 years ago- add unit test (templates)
Michael Wallner [Wed, 7 Dec 2005 16:44:00 +0000 (16:44 +0000)] 
- add unit test (templates)

18 years ago- fypo tix
Michael Wallner [Tue, 6 Dec 2005 19:34:33 +0000 (19:34 +0000)] 
- fypo tix
- use BigGet instead of Bigget to avoid confusion

# thanks Greg

18 years ago* Fixed bug which caused GZIP encoded archives to be decoded
Michael Wallner [Tue, 6 Dec 2005 14:00:43 +0000 (14:00 +0000)] 
* Fixed bug which caused GZIP encoded archives to be decoded

18 years ago- add an "Download big file" example
Michael Wallner [Tue, 6 Dec 2005 13:54:02 +0000 (13:54 +0000)] 
- add an "Download big file" example

18 years ago- add note about memleaks in HttpRequestPool::__construct() in case exceptions are...
Michael Wallner [Mon, 5 Dec 2005 16:02:27 +0000 (16:02 +0000)] 
- add note about memleaks in HttpRequestPool::__construct() in case exceptions are thrown

18 years ago- ext/hash detection
Michael Wallner [Fri, 2 Dec 2005 12:51:16 +0000 (12:51 +0000)] 
- ext/hash detection

18 years ago- add test
Michael Wallner [Thu, 1 Dec 2005 16:59:25 +0000 (16:59 +0000)] 
- add test

18 years ago# you better don't look inside
Michael Wallner [Thu, 1 Dec 2005 16:14:54 +0000 (16:14 +0000)] 
# you better don't look inside

18 years ago- also wrap if there's only been one exception
Michael Wallner [Wed, 30 Nov 2005 21:29:13 +0000 (21:29 +0000)] 
- also wrap if there's only been one exception

18 years ago- wrap request exceptions into one request pool exception
Michael Wallner [Wed, 30 Nov 2005 18:46:53 +0000 (18:46 +0000)] 
- wrap request exceptions into one request pool exception
# I don't know if this is a good idea and it definitly needs some more testing

18 years ago- fix leak with bodyonly request option
Michael Wallner [Wed, 30 Nov 2005 11:55:55 +0000 (11:55 +0000)] 
- fix leak with bodyonly request option

18 years ago- implement feature request: 'bodyonly' request option;
Michael Wallner [Tue, 29 Nov 2005 22:03:22 +0000 (22:03 +0000)] 
- implement feature request: 'bodyonly' request option;
  http_get(URL, array('bodyonly'=>1)) etc return only the response message body

18 years ago- release 0.19.0
Michael Wallner [Sat, 26 Nov 2005 22:19:14 +0000 (22:19 +0000)] 
- release 0.19.0

18 years agoupdated changelog and reworded package description
Michael Wallner [Sat, 26 Nov 2005 22:05:28 +0000 (22:05 +0000)] 
updated changelog and reworded package description

18 years ago- ad verbosity about checking for ext/hash and avoid empty else..fi case
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

18 years ago- Fix build
Marcus Boerger [Wed, 23 Nov 2005 23:51:29 +0000 (23:51 +0000)] 
- Fix build

18 years ago- module/includes cleanup
Michael Wallner [Tue, 22 Nov 2005 16:34:59 +0000 (16:34 +0000)] 
- module/includes cleanup

18 years ago- ws
Michael Wallner [Tue, 22 Nov 2005 11:19:15 +0000 (11:19 +0000)] 
- ws

18 years ago- ext/hash detection
Michael Wallner [Tue, 22 Nov 2005 10:59:59 +0000 (10:59 +0000)] 
- ext/hash detection

18 years ago- typos
Michael Wallner [Mon, 21 Nov 2005 17:03:11 +0000 (17:03 +0000)] 
- typos

18 years ago- drop mhash support
Michael Wallner [Mon, 21 Nov 2005 16:48:27 +0000 (16:48 +0000)] 
- drop mhash support

18 years ago- aliases for HttpUtil
Michael Wallner [Sat, 19 Nov 2005 17:02:48 +0000 (17:02 +0000)] 
- aliases for HttpUtil
- check ident_len of identifier

18 years ago- add http_negotiate_content_type()
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

18 years ago- fix phpinfo()
Michael Wallner [Sat, 19 Nov 2005 09:38:10 +0000 (09:38 +0000)] 
- fix phpinfo()

18 years ago- add preliminary ext/hash support (currently only for Win32)
Michael Wallner [Sat, 19 Nov 2005 09:26:18 +0000 (09:26 +0000)] 
- add preliminary ext/hash support (currently only for Win32)

18 years ago- tests fixup
Michael Wallner [Sat, 19 Nov 2005 09:24:33 +0000 (09:24 +0000)] 
- tests fixup

18 years ago-fix Countable not available in WONKY
Michael Wallner [Thu, 17 Nov 2005 16:27:53 +0000 (16:27 +0000)] 
-fix Countable not available in WONKY

18 years ago- fix PHP4 build
Michael Wallner [Wed, 16 Nov 2005 21:33:27 +0000 (21:33 +0000)] 
- fix PHP4 build

18 years ago- use right version
Michael Wallner [Wed, 16 Nov 2005 16:47:12 +0000 (16:47 +0000)] 
- use right version

18 years ago- release 0.18.0
Michael Wallner [Wed, 16 Nov 2005 16:45:48 +0000 (16:45 +0000)] 
- release 0.18.0

18 years ago- "=" should actually be ":" in the Content-Range header
Michael Wallner [Wed, 16 Nov 2005 13:08:27 +0000 (13:08 +0000)] 
- "=" should actually be ":" in the Content-Range header

18 years agogcc -W parameter cleanup
Michael Wallner [Tue, 15 Nov 2005 22:28:47 +0000 (22:28 +0000)] 
gcc -W parameter cleanup

18 years ago- ditch some warnings
Michael Wallner [Tue, 15 Nov 2005 13:50:24 +0000 (13:50 +0000)] 
- ditch some warnings

18 years ago- pmem aware phpstr
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?

18 years ago- remove debug statement
Michael Wallner [Mon, 14 Nov 2005 14:50:51 +0000 (14:50 +0000)] 
- remove debug statement

18 years ago- fix endless loop with bad input
Michael Wallner [Mon, 14 Nov 2005 14:49:45 +0000 (14:49 +0000)] 
- fix endless loop with bad input

18 years ago- fix occurrence of PHPSTR_LEN(x) = 0;
Michael Wallner [Sat, 12 Nov 2005 10:16:47 +0000 (10:16 +0000)] 
- fix occurrence of PHPSTR_LEN(x) = 0;
- flush

18 years ago- sanitize stream filter
Michael Wallner [Fri, 11 Nov 2005 20:38:08 +0000 (20:38 +0000)] 
- sanitize stream filter

18 years ago- poor stream filter for chunked encoding
Michael Wallner [Fri, 11 Nov 2005 17:06:37 +0000 (17:06 +0000)] 
- poor stream filter for chunked encoding

18 years ago- make request_exec() always succeed (picky curl)
Michael Wallner [Thu, 10 Nov 2005 15:54:13 +0000 (15:54 +0000)] 
- make request_exec() always succeed (picky curl)

18 years ago- remove example scripts, as those can be extracted from tutorial.txt with extract.php
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

18 years ago- fix write access of HttpMessage properties
Michael Wallner [Thu, 10 Nov 2005 14:32:50 +0000 (14:32 +0000)] 
- fix write access of HttpMessage properties

18 years ago- fix dep on SPL in PHP-5.1
Michael Wallner [Wed, 9 Nov 2005 19:36:13 +0000 (19:36 +0000)] 
- fix dep on SPL in PHP-5.1

18 years ago- use zend_hash_find() instead of FOREACH in http_match_request_header() (don't ask)
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

18 years ago* Fixed a bug which required "=" in Content-Range response message headers
Michael Wallner [Wed, 9 Nov 2005 16:05:23 +0000 (16:05 +0000)] 
* Fixed a bug which required "=" in Content-Range response message headers

18 years ago- http_get_request_headers() modified $_SERVER array keys
Michael Wallner [Wed, 9 Nov 2005 15:24:05 +0000 (15:24 +0000)] 
- http_get_request_headers() modified $_SERVER array keys

18 years ago- use %zu for size_t
Michael Wallner [Wed, 9 Nov 2005 12:48:45 +0000 (12:48 +0000)] 
- use %zu for size_t
- update .cvsignore

18 years ago- SPL doesn't install its headers
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

18 years agomore tweaks
Michael Wallner [Tue, 8 Nov 2005 23:00:16 +0000 (23:00 +0000)] 
more tweaks

18 years agows
Michael Wallner [Tue, 8 Nov 2005 21:28:43 +0000 (21:28 +0000)] 
ws

18 years agoinstall tweaks
Michael Wallner [Tue, 8 Nov 2005 21:24:16 +0000 (21:24 +0000)] 
install tweaks

18 years ago- added INI setting http.force_exit which can be used to disable script termination
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)

18 years ago- FOREACH macros now require a HashPosition argument
Michael Wallner [Tue, 8 Nov 2005 10:03:14 +0000 (10:03 +0000)] 
- FOREACH macros now require a HashPosition argument

18 years ago- honor other REGISTER_CLASS macros too
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...

18 years ago- initialize class entries, or else the ZE will try to access ce->handlers that point...
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

18 years ago- ensure detaching the request from the handles list is the last op
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

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

18 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('...'))

18 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+

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

18 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

18 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

18 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

18 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...

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

18 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

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

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

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

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

18 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

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

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

18 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

18 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

18 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

18 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

18 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

18 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

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

18 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