m6w6/ext-http
15 years ago- add flag parameter to http_build_url(); slightly breaks parameter order
Michael Wallner [Fri, 27 Jan 2006 10:17:13 +0000 (10:17 +0000)] 
- add flag parameter to http_build_url(); slightly breaks parameter order

15 years ago- ws
Michael Wallner [Fri, 27 Jan 2006 10:16:29 +0000 (10:16 +0000)] 
- ws

15 years agoMF-curl: problems with other libraries setting ssl crypto locking callbacks
Michael Wallner [Fri, 27 Jan 2006 10:15:27 +0000 (10:15 +0000)] 
MF-curl: problems with other libraries setting ssl crypto locking callbacks

15 years agoadd addref param to RETURN_OBJVAL() etc
Michael Wallner [Fri, 20 Jan 2006 16:48:12 +0000 (16:48 +0000)] 
add addref param to RETURN_OBJVAL() etc

15 years agochangelog
Michael Wallner [Fri, 20 Jan 2006 14:54:53 +0000 (14:54 +0000)] 
changelog

15 years ago- add HttpMessage::toMessageTypeObject()
Michael Wallner [Fri, 20 Jan 2006 14:23:08 +0000 (14:23 +0000)] 
- add HttpMessage::toMessageTypeObject()
- add Iterator interface to HttpMessage

15 years ago- fix ce
Michael Wallner [Thu, 19 Jan 2006 18:47:27 +0000 (18:47 +0000)] 
- fix ce
- no add_ref in detach()

15 years agoclass has to extend HttpMessage
Michael Wallner [Thu, 19 Jan 2006 18:44:05 +0000 (18:44 +0000)] 
class has to extend HttpMessage

15 years ago- honor class of the current object
Michael Wallner [Thu, 19 Jan 2006 18:33:05 +0000 (18:33 +0000)] 
- honor class of the current object
- add optional class_name param to HttpMessage::fromString()

15 years ago- add internal http_message_set_info()
Michael Wallner [Thu, 19 Jan 2006 18:07:29 +0000 (18:07 +0000)] 
- add internal http_message_set_info()
- add HttpMessage::detach(), HttpMessage::prepend() and tests

15 years agoimprove default settings for configure
Michael Wallner [Thu, 19 Jan 2006 14:16:12 +0000 (14:16 +0000)] 
improve default settings for configure

15 years ago- some housekeeping
Michael Wallner [Thu, 19 Jan 2006 11:42:08 +0000 (11:42 +0000)] 
- some housekeeping
- use sapi_get_request_time() where reasonable

15 years agomove (re)setting of request methods to http_request_defaults()
Michael Wallner [Thu, 19 Jan 2006 10:34:04 +0000 (10:34 +0000)] 
move (re)setting of request methods to http_request_defaults()

15 years ago- reset CURLOPT_CUSTOMREQUEST at the correct places
Michael Wallner [Fri, 13 Jan 2006 14:30:46 +0000 (14:30 +0000)] 
- reset CURLOPT_CUSTOMREQUEST at the correct places

15 years agoDon't forget to reset CUSTOMREQUEST on method change and defaults restore.
Ilia Alshanetsky [Fri, 13 Jan 2006 02:57:21 +0000 (02:57 +0000)] 
Don't forget to reset CUSTOMREQUEST on method change and defaults restore.

15 years ago- fix http_get_request_body()
Michael Wallner [Wed, 11 Jan 2006 16:35:22 +0000 (16:35 +0000)] 
- fix http_get_request_body()
- add http_get_request_body_stream()

# TODO: locate everything that accepts a stream context and fix it up

15 years ago- use http_get_request_body() on the server side
Michael Wallner [Tue, 10 Jan 2006 19:04:43 +0000 (19:04 +0000)] 
- use http_get_request_body() on the server side

15 years ago- nuke lots of warnings by removing useless calls to zend_object_store_get_object()
Michael Wallner [Tue, 10 Jan 2006 16:05:40 +0000 (16:05 +0000)] 
- nuke lots of warnings by removing useless calls to zend_object_store_get_object()

15 years ago- enable zlib by default
Michael Wallner [Tue, 10 Jan 2006 15:55:13 +0000 (15:55 +0000)] 
- enable zlib by default
- simplify request method info
- fix tests; run-tests ENV support has changed drastically

15 years ago- version bump
Michael Wallner [Sun, 8 Jan 2006 16:21:45 +0000 (16:21 +0000)] 
- version bump
- changelog

15 years ago- improve http_redirect()
Michael Wallner [Sat, 7 Jan 2006 19:17:05 +0000 (19:17 +0000)] 
- improve http_redirect()

15 years ago- clarify http_curl_init(), it cannot be used with anything else than http_request
Michael Wallner [Sat, 7 Jan 2006 18:46:38 +0000 (18:46 +0000)] 
- clarify http_curl_init(), it cannot be used with anything else than http_request
- move http_request_defaults() to http_curl_init()

15 years agoDon't send user-agent if the user sets it to NULL or ''
Ilia Alshanetsky [Sat, 7 Jan 2006 18:31:06 +0000 (18:31 +0000)] 
Don't send user-agent if the user sets it to NULL or ''

15 years ago- initialize opts zval ptr to NULL as it's an optional parameter
Michael Wallner [Sat, 7 Jan 2006 17:46:48 +0000 (17:46 +0000)] 
- initialize opts zval ptr to NULL as it's an optional parameter

15 years ago- avoid "Content-Length: 0" header on custom requests
Michael Wallner [Sat, 7 Jan 2006 17:41:48 +0000 (17:41 +0000)] 
- avoid "Content-Length: 0" header on custom requests

15 years ago- don't bail out on allocated but empty request body
Michael Wallner [Sat, 7 Jan 2006 17:22:58 +0000 (17:22 +0000)] 
- don't bail out on allocated but empty request body

15 years ago- fix cloning if there's no curl handle yet
Michael Wallner [Sat, 7 Jan 2006 17:19:39 +0000 (17:19 +0000)] 
- fix cloning if there's no curl handle yet

15 years ago- create a request body only if there's something to feed into http_request_body_fill()
Michael Wallner [Sat, 7 Jan 2006 17:02:27 +0000 (17:02 +0000)] 
- create a request body only if there's something to feed into http_request_body_fill()

15 years ago- set curl options that won't change only at initialization time
Michael Wallner [Sat, 7 Jan 2006 15:57:38 +0000 (15:57 +0000)] 
- set curl options that won't change only at initialization time

15 years ago- PHP4 always sends 302 on redirects
Michael Wallner [Fri, 6 Jan 2006 23:43:39 +0000 (23:43 +0000)] 
- PHP4 always sends 302 on redirects

15 years ago- http_request_defaults() already takes care of resetting curl options so check strin...
Michael Wallner [Fri, 6 Jan 2006 23:34:45 +0000 (23:34 +0000)] 
- http_request_defaults() already takes care of resetting curl options so check string length in the conditional where reasonable
- move redirect constants and init to http_send_api
- register global version constants
- php_stream_open_wrapper already takes care of open_basedir on http_log()
- add HTTP_REDIRECT_AUTO being PHP default behaviour and make it default for http_redirect()
- fix tests

15 years agoSet options to NULL if no value is provided, this prevents empty headers
Ilia Alshanetsky [Fri, 6 Jan 2006 23:12:27 +0000 (23:12 +0000)] 
Set options to NULL if no value is provided, this prevents empty headers
from being set on unset options.

15 years agoAdded "protocol" option that allows changing of the HTTP protocol used for
Ilia Alshanetsky [Fri, 6 Jan 2006 21:23:02 +0000 (21:23 +0000)] 
Added "protocol" option that allows changing of the HTTP protocol used for
requests.
Do not try to send POST request components when making an OPTIONS request.

15 years ago- zlib's compress has nothing to do with *nix compress
Michael Wallner [Fri, 6 Jan 2006 10:07:32 +0000 (10:07 +0000)] 
- zlib's compress has nothing to do with *nix compress

15 years agoMF-curl: unknown constant GCRY_THREAD_OPTIONS_USER
Michael Wallner [Fri, 6 Jan 2006 09:01:05 +0000 (09:01 +0000)] 
MF-curl: unknown constant GCRY_THREAD_OPTIONS_USER

15 years ago- prepare release 0.21.0
Michael Wallner [Tue, 3 Jan 2006 19:09:49 +0000 (19:09 +0000)] 
- prepare release 0.21.0

15 years ago- CURLOPT_COOKIELIST requires 7.14.1 not 7.15.x
Michael Wallner [Mon, 2 Jan 2006 16:33:22 +0000 (16:33 +0000)] 
- CURLOPT_COOKIELIST requires 7.14.1 not 7.15.x

15 years ago- add note about deflate/inflate
Michael Wallner [Mon, 2 Jan 2006 16:04:25 +0000 (16:04 +0000)] 
- add note about deflate/inflate

15 years ago- happy new year
Michael Wallner [Mon, 2 Jan 2006 15:36:58 +0000 (15:36 +0000)] 
- happy new year
- add HttpRequest::onFinish() callback method lookup
- add test

15 years ago- cleanup property access macros arguments
Michael Wallner [Sat, 31 Dec 2005 10:58:38 +0000 (10:58 +0000)] 
- cleanup property access macros arguments

15 years ago- fix access of private properties
Michael Wallner [Sat, 31 Dec 2005 10:37:54 +0000 (10:37 +0000)] 
- fix access of private properties
- fix progress callback
- change onprogress callback param to be an array instead of 4 single params
- add progress callback if not set and inherited request object defines onProgress()

15 years ago- s/uri/url/gi
Michael Wallner [Fri, 30 Dec 2005 19:15:45 +0000 (19:15 +0000)] 
- s/uri/url/gi

15 years ago- add another stream filter test
Michael Wallner [Fri, 30 Dec 2005 16:06:06 +0000 (16:06 +0000)] 
- add another stream filter test

15 years ago- allow to disable zlib support
Michael Wallner [Fri, 30 Dec 2005 15:14:55 +0000 (15:14 +0000)] 
- allow to disable zlib support
- enable zlib and curl support by default

15 years ago- finish work on encoding api
Michael Wallner [Fri, 30 Dec 2005 14:30:20 +0000 (14:30 +0000)] 
- finish work on encoding api

15 years ago- no fatal ereallocs please
Michael Wallner [Thu, 29 Dec 2005 21:06:55 +0000 (21:06 +0000)] 
- no fatal ereallocs please

15 years ago- another typo
Michael Wallner [Thu, 29 Dec 2005 20:42:49 +0000 (20:42 +0000)] 
- another typo

15 years ago- typos
Michael Wallner [Thu, 29 Dec 2005 20:38:28 +0000 (20:38 +0000)] 
- typos

15 years ago- PHP only reads the request body if the request method is POST
Michael Wallner [Thu, 29 Dec 2005 18:09:29 +0000 (18:09 +0000)] 
- PHP only reads the request body if the request method is POST

15 years ago- no need to check for COMPILE_DL_SESSION
Michael Wallner [Thu, 29 Dec 2005 14:53:12 +0000 (14:53 +0000)] 
- no need to check for COMPILE_DL_SESSION

15 years ago- revised request_method api
Michael Wallner [Thu, 29 Dec 2005 14:28:27 +0000 (14:28 +0000)] 
- revised request_method api

15 years ago- add test
Michael Wallner [Wed, 28 Dec 2005 22:34:18 +0000 (22:34 +0000)] 
- add test

15 years ago- fix put requests
Michael Wallner [Wed, 28 Dec 2005 22:21:01 +0000 (22:21 +0000)] 
- fix put requests

15 years ago- fix crash with custom content-type when no other options are set
Michael Wallner [Wed, 28 Dec 2005 21:48:03 +0000 (21:48 +0000)] 
- fix crash with custom content-type when no other options are set
- add xmlrpc test

15 years ago- return zvals directly and don'T assume a type
Michael Wallner [Wed, 28 Dec 2005 14:16:27 +0000 (14:16 +0000)] 
- return zvals directly and don'T assume a type
- fix crash with http_request_body_fill(NULL,NULL,NULL)
- add test

15 years ago- hopefully some more appropriate fixes for the zval separation issues
Michael Wallner [Wed, 28 Dec 2005 13:45:38 +0000 (13:45 +0000)] 
- hopefully some more appropriate fixes for the zval separation issues

15 years ago- add missing constants to HttpDeflateStream
Michael Wallner [Tue, 27 Dec 2005 15:30:11 +0000 (15:30 +0000)] 
- add missing constants to HttpDeflateStream
- add parse_url errors

15 years ago- update package
Michael Wallner [Tue, 27 Dec 2005 11:38:05 +0000 (11:38 +0000)] 
- update package

15 years ago- of course, return false if parameter parsing fails
Michael Wallner [Tue, 27 Dec 2005 11:18:15 +0000 (11:18 +0000)] 
- of course, return false if parameter parsing fails

15 years ago- add flush() to HttpDeflateStream and HttpInflateStream
Michael Wallner [Tue, 27 Dec 2005 10:57:58 +0000 (10:57 +0000)] 
- add flush() to HttpDeflateStream and HttpInflateStream

15 years ago- ws
Michael Wallner [Mon, 26 Dec 2005 21:21:32 +0000 (21:21 +0000)] 
- ws

15 years ago- add HttpDeflateStream and HttpInflateStream objects
Michael Wallner [Mon, 26 Dec 2005 21:15:05 +0000 (21:15 +0000)] 
- add HttpDeflateStream and HttpInflateStream objects

15 years ago- avoid NULL urls
Michael Wallner [Mon, 26 Dec 2005 19:44:58 +0000 (19:44 +0000)] 
- avoid NULL urls
- fix tests

15 years ago- fix build
Michael Wallner [Mon, 26 Dec 2005 18:30:36 +0000 (18:30 +0000)] 
- fix build

15 years ago- fix build
Michael Wallner [Mon, 26 Dec 2005 17:16:46 +0000 (17:16 +0000)] 
- fix build

15 years ago- ws
Michael Wallner [Mon, 26 Dec 2005 16:44:01 +0000 (16:44 +0000)] 
- ws

15 years ago- fix flags mask
Michael Wallner [Mon, 26 Dec 2005 10:26:39 +0000 (10:26 +0000)] 
- fix flags mask

15 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

15 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

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

15 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

15 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)

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

15 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

15 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

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

15 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

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

15 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

15 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

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

15 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

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

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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

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

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

15 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