m6w6/ext-http
18 years ago- add ob_(deflate|inflate)handler
Michael Wallner [Mon, 26 Dec 2005 10:15:55 +0000 (10:15 +0000)] 
- add ob_(deflate|inflate)handler

18 years ago- gcc didn't like those changes
Michael Wallner [Fri, 23 Dec 2005 13:01:40 +0000 (13:01 +0000)] 
- gcc didn't like those changes

18 years ago- add phpstr_shrink()
Michael Wallner [Fri, 23 Dec 2005 12:42:34 +0000 (12:42 +0000)] 
- add phpstr_shrink()
- fix some warnings

18 years ago- require libz >= 1.2.0.4
Michael Wallner [Fri, 23 Dec 2005 11:29:03 +0000 (11:29 +0000)] 
- require libz >= 1.2.0.4

18 years ago- add flush() to encoding stream (filters)
Michael Wallner [Thu, 22 Dec 2005 21:30:53 +0000 (21:30 +0000)] 
- add flush() to encoding stream (filters)

18 years agoAllow cookie array to contain multiple dimensions and ensure that values
Ilia Alshanetsky [Thu, 22 Dec 2005 21:25:26 +0000 (21:25 +0000)] 
Allow cookie array to contain multiple dimensions and ensure that values
are urlencoded.

18 years ago- fix leak with post files
Michael Wallner [Thu, 22 Dec 2005 19:16:46 +0000 (19:16 +0000)] 
- fix leak with post files

18 years ago- fix resetting post fields
Michael Wallner [Thu, 22 Dec 2005 19:07:36 +0000 (19:07 +0000)] 
- fix resetting post fields
- add test

18 years ago- fix addRawPostData corruption
Michael Wallner [Thu, 22 Dec 2005 16:43:40 +0000 (16:43 +0000)] 
- fix addRawPostData corruption

18 years ago- separation of the postFields array
Michael Wallner [Thu, 22 Dec 2005 16:36:01 +0000 (16:36 +0000)] 
- separation of the postFields array

18 years ago- typo
Michael Wallner [Thu, 22 Dec 2005 16:35:13 +0000 (16:35 +0000)] 
- typo

18 years ago- here goes the same with cookies
Michael Wallner [Thu, 22 Dec 2005 16:33:29 +0000 (16:33 +0000)] 
- here goes the same with cookies

18 years ago- create another copy of the header zval
Michael Wallner [Thu, 22 Dec 2005 16:20:27 +0000 (16:20 +0000)] 
- create another copy of the header zval

18 years ago- cleanup
Michael Wallner [Thu, 22 Dec 2005 11:25:40 +0000 (11:25 +0000)] 
- cleanup

18 years ago- no need for a explicit destructor any longer
Michael Wallner [Thu, 22 Dec 2005 11:15:38 +0000 (11:15 +0000)] 
- no need for a explicit destructor any longer

18 years agomissed that part
Michael Wallner [Thu, 22 Dec 2005 09:12:06 +0000 (09:12 +0000)] 
missed that part

18 years ago- fixed memory corruptions on reusing HttpRequest;
Michael Wallner [Thu, 22 Dec 2005 09:02:23 +0000 (09:02 +0000)] 
- fixed memory corruptions on reusing HttpRequest;
  all properties except recordHistory are private now

# FUCK.

18 years agoFix build for non-curl configurations
Frank M. Kromann [Thu, 22 Dec 2005 07:13:06 +0000 (07:13 +0000)] 
Fix build for non-curl configurations

18 years ago- only encode if there's anything to encode
Michael Wallner [Wed, 21 Dec 2005 19:49:39 +0000 (19:49 +0000)] 
- only encode if there's anything to encode

18 years ago- fix inflating highly compressed data
Michael Wallner [Wed, 21 Dec 2005 19:45:14 +0000 (19:45 +0000)] 
- fix inflating highly compressed data
- remove z_stream.msg from the error as it doesn't seem to contain anything at any time

18 years ago- remove debug code
Michael Wallner [Wed, 21 Dec 2005 00:26:16 +0000 (00:26 +0000)] 
- remove debug code
- fix encodings test

18 years ago- don't call into ext/zlib any longer
Michael Wallner [Tue, 20 Dec 2005 23:39:17 +0000 (23:39 +0000)] 
- don't call into ext/zlib any longer

18 years ago- CURLOPT_COOKIELIST needs curl 7.15
Michael Wallner [Tue, 20 Dec 2005 23:31:24 +0000 (23:31 +0000)] 
- CURLOPT_COOKIELIST needs curl 7.15
- fixed  typo in phpstr.h
- reimplemented encoding api
- removed http_gzencode()/http_gzdecode(); zlib *can* do that
- http_deflate() accepts various flags now, pass
  HTTP_DEFLATE_TYPE_GZIP for gzip encoding;
  HTTP_DEFLATE_TYPE_ZLIB (default) for HTTP deflate (AKA zlib) encoding
  HTTP_DEFLATE_TYPE_RAW for raw deflate encoding (same as PHPs gzdeflate);
- http_inflate() can decode all 3 formats

18 years ago- add HttpRequest::getRawResponseMessage() and ::getRawRequestMessage() (Ilia)
Michael Wallner [Tue, 20 Dec 2005 18:55:43 +0000 (18:55 +0000)] 
- add HttpRequest::getRawResponseMessage() and ::getRawRequestMessage() (Ilia)
- add 'resetcookies' request option (Ilia)
- fix wrong return by ref arg info

18 years ago- fix build_url() with relative paths
Michael Wallner [Sun, 18 Dec 2005 23:26:56 +0000 (23:26 +0000)] 
- fix build_url() with relative paths

18 years ago- path has been copied twice
Michael Wallner [Sun, 18 Dec 2005 22:40:47 +0000 (22:40 +0000)] 
- path has been copied twice

18 years ago- http_build_url() replaces http_absolute_(url|uri)/http_build_uri;
Michael Wallner [Sun, 18 Dec 2005 22:27:39 +0000 (22:27 +0000)] 
- http_build_url() replaces http_absolute_(url|uri)/http_build_uri;

# This is most probably the final name. :)
#
# Based on a request by ilia who probably wanted to see something similar along
# the following lines to be possible:
# http_build_url(parse_url(...))
#
# It basically can still work like the removed function:
# echo http_build_url('/foo/bar', array('scheme' => 'https', 'host' => 'example.com'));
#
# The third param will be filled with an array like parse_url() of the result url would return.

18 years ago- remove the temp file
Michael Wallner [Sun, 18 Dec 2005 15:39:42 +0000 (15:39 +0000)] 
- remove the temp file

18 years ago- add gzip stream filter test
Michael Wallner [Sun, 18 Dec 2005 15:38:24 +0000 (15:38 +0000)] 
- add gzip stream filter test

18 years agothanks, msvc didn't complain about that
Michael Wallner [Sun, 18 Dec 2005 15:37:03 +0000 (15:37 +0000)] 
thanks, msvc didn't complain about that

18 years agoFixed test
Ilia Alshanetsky [Sun, 18 Dec 2005 15:24:11 +0000 (15:24 +0000)] 
Fixed test

18 years agoFixed build
Ilia Alshanetsky [Sun, 18 Dec 2005 15:20:47 +0000 (15:20 +0000)] 
Fixed build

18 years ago- fix inclusion of zlib.h
Michael Wallner [Sun, 18 Dec 2005 12:03:42 +0000 (12:03 +0000)] 
- fix inclusion of zlib.h
- made encoding stream persistance aware
- added gzencode/deflate stream filter

18 years ago- a stream wrapper that defeats the idea of streams is not really useful, so remove...
Michael Wallner [Sat, 17 Dec 2005 21:57:38 +0000 (21:57 +0000)] 
- a stream wrapper that defeats the idea of streams is not really useful, so remove it again

18 years ago- highly experimental stream wrapper
Michael Wallner [Fri, 16 Dec 2005 16:42:30 +0000 (16:42 +0000)] 
- highly experimental stream wrapper

18 years ago- complete open_basedir checks
Michael Wallner [Thu, 15 Dec 2005 21:49:15 +0000 (21:49 +0000)] 
- complete open_basedir checks

18 years ago- ensure we have string zvals in http_request_body_fill()
Michael Wallner [Thu, 15 Dec 2005 19:42:36 +0000 (19:42 +0000)] 
- ensure we have string zvals in http_request_body_fill()
- curl does not accept file:// uris for files to post - strip it
- improve http_request_body_dtor

18 years ago- fix url check in open_basedir check
Michael Wallner [Thu, 15 Dec 2005 19:04:00 +0000 (19:04 +0000)] 
- fix url check in open_basedir check

18 years ago- start open_basedir checks
Michael Wallner [Thu, 15 Dec 2005 17:08:22 +0000 (17:08 +0000)] 
- start open_basedir checks

18 years ago- release 0.20.0
Michael Wallner [Thu, 15 Dec 2005 14:28:05 +0000 (14:28 +0000)] 
- release 0.20.0

18 years agoextend the search for zlib.h
Frank M. Kromann [Thu, 15 Dec 2005 02:08:45 +0000 (02:08 +0000)] 
extend the search for zlib.h

18 years ago- avoid read beyond buffer
Michael Wallner [Wed, 14 Dec 2005 22:12:48 +0000 (22:12 +0000)] 
- avoid read beyond buffer

18 years ago- using Accept-Encoding header instead of CURLOPT_ENCODING avoids issues with curl...
Michael Wallner [Wed, 14 Dec 2005 22:02:35 +0000 (22:02 +0000)] 
- using Accept-Encoding header instead of CURLOPT_ENCODING avoids issues with curl and deflated data
- there's no EGREP in WONKY's configure (?)
- only cache string request options
- CURLOPT_HTTPHEADER was lost

18 years ago- export http_parse_cookie()
Michael Wallner [Wed, 14 Dec 2005 16:52:12 +0000 (16:52 +0000)] 
- export http_parse_cookie()

18 years ago- re-set en/decoded to NULL if we fail
Michael Wallner [Wed, 14 Dec 2005 14:30:32 +0000 (14:30 +0000)] 
- re-set en/decoded to NULL if we fail

18 years ago- clean up
Michael Wallner [Wed, 14 Dec 2005 11:53:32 +0000 (11:53 +0000)] 
- clean up

18 years ago- check for egrep and sed
Michael Wallner [Wed, 14 Dec 2005 11:17:34 +0000 (11:17 +0000)] 
- check for egrep and sed

18 years ago- fix PHP4 build
Michael Wallner [Wed, 14 Dec 2005 10:23:35 +0000 (10:23 +0000)] 
- fix PHP4 build

18 years agoIncrease URL length to 4k, only IE limits the length of the URL to 2083
Ilia Alshanetsky [Wed, 14 Dec 2005 04:10:28 +0000 (04:10 +0000)] 
Increase URL length to 4k, only IE limits the length of the URL to 2083
bytes (http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427).

18 years ago- remove http_compress() and http_uncompress() (deflate/inflate ambiguity)
Michael Wallner [Tue, 13 Dec 2005 22:16:03 +0000 (22:16 +0000)] 
- remove http_compress() and http_uncompress() (deflate/inflate ambiguity)
- fix issues with deflated response messages

18 years ago- fix segv
Michael Wallner [Tue, 13 Dec 2005 20:22:37 +0000 (20:22 +0000)] 
- fix segv

18 years ago- some more relay stuff
Michael Wallner [Tue, 13 Dec 2005 12:12:00 +0000 (12:12 +0000)] 
- some more relay stuff

18 years ago- ws, dammit
Michael Wallner [Tue, 13 Dec 2005 11:07:30 +0000 (11:07 +0000)] 
- ws, dammit

18 years ago- implement more of those useful allocation relays
Michael Wallner [Tue, 13 Dec 2005 11:04:17 +0000 (11:04 +0000)] 
- implement more of those useful allocation relays
- extend http_request_body API
- adjust http_request_objects usage of http_request

18 years agofixed build
Ilia Alshanetsky [Tue, 13 Dec 2005 02:07:23 +0000 (02:07 +0000)] 
fixed build

18 years ago- fix warning
Michael Wallner [Mon, 12 Dec 2005 22:21:38 +0000 (22:21 +0000)] 
- fix warning
- improve request error messages

18 years ago- add missing header files
Michael Wallner [Mon, 12 Dec 2005 17:09:08 +0000 (17:09 +0000)] 
- add missing header files

18 years ago- take care of request.body
Michael Wallner [Mon, 12 Dec 2005 14:44:57 +0000 (14:44 +0000)] 
- take care of request.body

18 years ago- update package.xml
Michael Wallner [Mon, 12 Dec 2005 13:28:39 +0000 (13:28 +0000)] 
- update package.xml

18 years ago- re-enable progress callback
Michael Wallner [Mon, 12 Dec 2005 13:05:11 +0000 (13:05 +0000)] 
- re-enable progress callback
- no need to duplicate curl_info

18 years ago- made the silently failing message parser raise some errors
Michael Wallner [Mon, 12 Dec 2005 12:36:18 +0000 (12:36 +0000)] 
- made the silently failing message parser raise some errors
- split http_request_reset into itself and http_request_defaults
- made detection of leaks caused thrugh request bodies easier
- provide the url of errenous requests in request_pool_perform()
- only append port if it is not 0 to uri
- fixup tests

18 years ago- fix possible leak and unitiliazed port
Michael Wallner [Sun, 11 Dec 2005 23:01:00 +0000 (23:01 +0000)] 
- fix possible leak and unitiliazed port

18 years ago- reimplement major parts of the request api
Michael Wallner [Sun, 11 Dec 2005 21:41:55 +0000 (21:41 +0000)] 
- reimplement major parts of the request api

# this has not been run with a debug build or valgrind yet

18 years ago- add curl_ioctl_callback
Michael Wallner [Sun, 11 Dec 2005 14:38:48 +0000 (14:38 +0000)] 
- add curl_ioctl_callback

18 years ago- use add_next_index_string()
Michael Wallner [Sun, 11 Dec 2005 11:32:36 +0000 (11:32 +0000)] 
- use add_next_index_string()
# $coffee++;

18 years ago- implement CURLINFO_SLIST
Michael Wallner [Sun, 11 Dec 2005 11:26:08 +0000 (11:26 +0000)] 
- implement CURLINFO_SLIST
- enable ssl_engines and cookies info

18 years ago- require libcurl-7.12.3
Michael Wallner [Sun, 11 Dec 2005 00:12:28 +0000 (00:12 +0000)] 
- require libcurl-7.12.3

18 years ago- improve ext/hash detection
Michael Wallner [Sat, 10 Dec 2005 21:52:50 +0000 (21:52 +0000)] 
- improve ext/hash detection

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

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