m6w6/ext-http
17 years agoThis commit was manufactured by cvs2svn to create tag 'RELEASE_1_2_0'. RELEASE_1_2_0
SVN Migration [Fri, 18 Aug 2006 12:25:40 +0000 (12:25 +0000)] 
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_2_0'.

17 years ago - release 1.2.0
Michael Wallner [Fri, 18 Aug 2006 12:25:39 +0000 (12:25 +0000)] 
 - release 1.2.0

17 years ago- attempt to fix ext deps
Michael Wallner [Fri, 18 Aug 2006 08:40:16 +0000 (08:40 +0000)] 
- attempt to fix ext deps

17 years ago- move constructor code into http_querystring_instantiate()
Michael Wallner [Thu, 27 Jul 2006 08:58:15 +0000 (08:58 +0000)] 
- move constructor code into http_querystring_instantiate()

17 years agoSimplify detection of core php extension
Edin Kadribasic [Mon, 24 Jul 2006 23:19:42 +0000 (23:19 +0000)] 
Simplify detection of core php extension

17 years ago- attempt to fix hash dep check
Michael Wallner [Mon, 24 Jul 2006 22:27:46 +0000 (22:27 +0000)] 
- attempt to fix hash dep check

17 years ago- set property default send buffer to 0 too
Michael Wallner [Fri, 21 Jul 2006 16:51:53 +0000 (16:51 +0000)] 
- set property default send buffer to 0 too

17 years ago- add http_build_cookie
Michael Wallner [Fri, 21 Jul 2006 16:08:33 +0000 (16:08 +0000)] 
- add http_build_cookie
- improve response performance: no need for ob and only chunk response if a buffer size is actually set

17 years ago- release 1.1.0
Michael Wallner [Mon, 17 Jul 2006 16:30:52 +0000 (16:30 +0000)] 
- release 1.1.0

17 years ago- fix overload guards leaks
Michael Wallner [Mon, 17 Jul 2006 09:28:44 +0000 (09:28 +0000)] 
- fix overload guards leaks

17 years ago- fix WONKY build
Michael Wallner [Thu, 13 Jul 2006 10:39:00 +0000 (10:39 +0000)] 
- fix WONKY build

17 years ago- changelog
Michael Wallner [Mon, 10 Jul 2006 12:50:07 +0000 (12:50 +0000)] 
- changelog
- don't forget about win32 build

17 years ago- fix endless loop in http_build_url("..")
Michael Wallner [Mon, 10 Jul 2006 12:47:22 +0000 (12:47 +0000)] 
- fix endless loop in http_build_url("..")
- check for gethostname, getdomainname, getservbyport, getservbyname in configure

17 years ago- fix HttpQueryString failures with objects as argument
Michael Wallner [Sat, 8 Jul 2006 16:31:47 +0000 (16:31 +0000)] 
- fix HttpQueryString failures with objects as argument

17 years ago- HttpQueryString implements ArrayAccess
Michael Wallner [Sat, 8 Jul 2006 12:28:25 +0000 (12:28 +0000)] 
- HttpQueryString implements ArrayAccess

17 years ago- add HttpMessage::get(string $name)
Michael Wallner [Fri, 7 Jul 2006 11:49:30 +0000 (11:49 +0000)] 
- add HttpMessage::get(string $name)

17 years ago- add HttpQueryString::mod()
Michael Wallner [Thu, 6 Jul 2006 18:19:23 +0000 (18:19 +0000)] 
- add HttpQueryString::mod()

17 years ago- fix HttpResponse::capture() failure if buffered output exceeds 40k
Michael Wallner [Wed, 5 Jul 2006 11:08:11 +0000 (11:08 +0000)] 
- fix HttpResponse::capture() failure if buffered output exceeds 40k

17 years agoA bit of a Yahoo'ism, but it makes adding pecl/http to our automatic pecl
Rasmus Lerdorf [Fri, 30 Jun 2006 11:13:44 +0000 (11:13 +0000)] 
A bit of a Yahoo'ism, but it makes adding pecl/http to our automatic pecl
extension builds so much easier.  I hope you don't mind.  It shouldn't
break anything elsewhere.

17 years ago- release 1.0.1
Michael Wallner [Mon, 26 Jun 2006 11:33:05 +0000 (11:33 +0000)] 
- release 1.0.1

17 years ago- curl_formget() patch was accepted into libcurl-7.15.5
Michael Wallner [Sat, 24 Jun 2006 16:58:50 +0000 (16:58 +0000)] 
- curl_formget() patch was accepted into libcurl-7.15.5
- move code into http_request_body_encode() function

17 years ago- re-add mysteriously missing file
Michael Wallner [Thu, 22 Jun 2006 05:51:33 +0000 (05:51 +0000)] 
- re-add mysteriously missing file

17 years ago- changelog
Michael Wallner [Wed, 21 Jun 2006 11:48:28 +0000 (11:48 +0000)] 
- changelog
- no longer EXPERIMENTAL

17 years ago- plug a rather huge leak
Michael Wallner [Tue, 20 Jun 2006 18:42:04 +0000 (18:42 +0000)] 
- plug a rather huge leak
# many thanks to Thomas Landrø Johnsen

17 years ago- attempt to fix gcc-2.95 build by using less HTTP_HAVE_$EXT magic
Michael Wallner [Sun, 11 Jun 2006 16:40:41 +0000 (16:40 +0000)] 
- attempt to fix gcc-2.95 build by using less HTTP_HAVE_$EXT magic

17 years ago- fix version
Michael Wallner [Thu, 8 Jun 2006 22:10:32 +0000 (22:10 +0000)] 
- fix version

17 years ago- add HttpMessage::guessContentType()
Michael Wallner [Thu, 8 Jun 2006 22:07:39 +0000 (22:07 +0000)] 
- add HttpMessage::guessContentType()
- release 1.0.0

17 years ago- fix ext/hash detection and dependency
Michael Wallner [Thu, 8 Jun 2006 15:48:43 +0000 (15:48 +0000)] 
- fix ext/hash detection and dependency

17 years ago- SPL cannot be built shared, so no need to check
Michael Wallner [Wed, 7 Jun 2006 21:05:34 +0000 (21:05 +0000)] 
- SPL cannot be built shared, so no need to check
- fix grepping for shared extensions
- re-add config.m4 stub for phpize/pear

17 years ago- typo
Michael Wallner [Wed, 7 Jun 2006 14:47:12 +0000 (14:47 +0000)] 
- typo

17 years ago- config.m4 moved to config9.m4
Michael Wallner [Wed, 7 Jun 2006 14:42:04 +0000 (14:42 +0000)] 
- config.m4 moved to config9.m4
- implement --with[out]-http-shared-deps properly

17 years ago- Fix language
Marcus Boerger [Tue, 6 Jun 2006 22:39:36 +0000 (22:39 +0000)] 
- Fix language

17 years ago- allow to avoid deps on shared extensions on build time
Michael Wallner [Tue, 6 Jun 2006 21:43:22 +0000 (21:43 +0000)] 
- allow to avoid deps on shared extensions on build time
- upgrade xmlrpc tools

17 years ago- move some cruft of http_request_api.c to php_http_request_int.h
Michael Wallner [Fri, 2 Jun 2006 19:03:45 +0000 (19:03 +0000)] 
- move some cruft of http_request_api.c to php_http_request_int.h
- simplify exception wrapper
- check that curl is properly initialized in http_request_{enable|reset}_cookies()

17 years ago+ Added INI entries: http.log.not_found, http.send.not_found_404
Michael Wallner [Thu, 1 Jun 2006 14:47:41 +0000 (14:47 +0000)] 
+ Added INI entries: http.log.not_found, http.send.not_found_404
* Fixed empty Cache-Control header if not customly set with HttpResponse
* Reset Content-Disposition and Content-Type if file is not found by http_send_file() etc

17 years ago- fix build on Debian systems where access to Curl_* functions is prohibited
Michael Wallner [Wed, 31 May 2006 17:39:13 +0000 (17:39 +0000)] 
- fix build on Debian systems where access to Curl_* functions is prohibited

17 years ago- fix log ini entries in docs
Michael Wallner [Sun, 28 May 2006 15:56:17 +0000 (15:56 +0000)] 
- fix log ini entries in docs

17 years ago- release RC5
Michael Wallner [Sun, 28 May 2006 15:48:00 +0000 (15:48 +0000)] 
- release RC5

17 years ago- improve inflate performance
Michael Wallner [Sat, 27 May 2006 22:33:50 +0000 (22:33 +0000)] 
- improve inflate performance

17 years ago- fix usage of request time
Michael Wallner [Sat, 27 May 2006 17:20:09 +0000 (17:20 +0000)] 
- fix usage of request time
- fixup tests

17 years ago- adjust ini entry names to those of the globals struct
Michael Wallner [Sat, 27 May 2006 11:51:17 +0000 (11:51 +0000)] 
- adjust ini entry names to those of the globals struct
- add http.request.methods.custom ini entry
- fix ini entries with PHP_INI_PERDIR to include PHP_INI_SYSTEM
- add flags argument to http_parse_params()
- add HTTP_PARAMS constants
- fixed http_parse_params("foo,bar") returning "foo" and "ar"
- update changelog

17 years ago- fix HttpMessage::setRequestMethod() errenously issuing a warning about an unknown...
Michael Wallner [Sat, 27 May 2006 10:33:18 +0000 (10:33 +0000)] 
- fix HttpMessage::setRequestMethod() errenously issuing a warning about an unknown request method

17 years ago- curl grabs longs, so pass longs to curl_easy_setopt()
Michael Wallner [Thu, 25 May 2006 08:47:21 +0000 (08:47 +0000)] 
- curl grabs longs, so pass longs to curl_easy_setopt()
- add possibility to reset session cookies only, patch to libcurl has been accepted (7.15.4)

17 years ago- adjust cookie handling to work better together with libcurl
Michael Wallner [Mon, 22 May 2006 09:20:40 +0000 (09:20 +0000)] 
- adjust cookie handling to work better together with libcurl
# blog post to follow

17 years ago- #ifdef CURLOPT_COOKIELIST out for libcurl < v7.14.1
Michael Wallner [Sun, 21 May 2006 18:45:37 +0000 (18:45 +0000)] 
- #ifdef CURLOPT_COOKIELIST out for libcurl < v7.14.1

17 years ago- fix cookie handling
Michael Wallner [Sun, 21 May 2006 18:41:07 +0000 (18:41 +0000)] 
- fix cookie handling
- add HttpRequest::resetCookies()
- add test

17 years ago- avoid warning in http_encoding_inflate_stream_finish()
Michael Wallner [Sat, 20 May 2006 15:31:44 +0000 (15:31 +0000)] 
- avoid warning in http_encoding_inflate_stream_finish()
  if there's nothing left to inflate

17 years ago- fix retval of http_parse_params
Michael Wallner [Sat, 20 May 2006 13:18:38 +0000 (13:18 +0000)] 
- fix retval of http_parse_params
- add test

17 years ago- bump version
Michael Wallner [Sat, 20 May 2006 09:46:16 +0000 (09:46 +0000)] 
- bump version

17 years ago- fix http_build_url("./path") if REQUEST_URI is empty
Michael Wallner [Sat, 20 May 2006 09:44:54 +0000 (09:44 +0000)] 
- fix http_build_url("./path") if REQUEST_URI is empty

17 years ago - release RC4
Michael Wallner [Fri, 19 May 2006 15:10:13 +0000 (15:10 +0000)] 
 - release RC4

17 years ago- fix switch() CS
Michael Wallner [Fri, 19 May 2006 10:33:57 +0000 (10:33 +0000)] 
- fix switch() CS

17 years ago- add HTTP_URL_STRIP_ALL constant
Michael Wallner [Fri, 19 May 2006 09:54:57 +0000 (09:54 +0000)] 
- add HTTP_URL_STRIP_ALL constant
- recognize HTTPS server variable
- simplify building urls where path is based on SG(request_).request_uri

17 years agos/IF_RETVAL_USED/if (return_value_used)/
Michael Wallner [Thu, 18 May 2006 17:42:47 +0000 (17:42 +0000)] 
s/IF_RETVAL_USED/if (return_value_used)/

17 years ago- fix typo for libcurl/gnutls build
Michael Wallner [Wed, 17 May 2006 15:40:43 +0000 (15:40 +0000)] 
- fix typo for libcurl/gnutls build
- nuke unused TSRM_LS
- no need to cache 'long' options for curl

17 years ago- fix build with php-5.2
Michael Wallner [Wed, 17 May 2006 08:36:04 +0000 (08:36 +0000)] 
- fix build with php-5.2

17 years ago- fix behaviour of http_build_url() when second parameter is NULL
Michael Wallner [Sat, 29 Apr 2006 18:54:46 +0000 (18:54 +0000)] 
- fix behaviour of http_build_url() when second parameter is NULL

17 years ago- fix aliases and exports
Michael Wallner [Sat, 29 Apr 2006 14:19:06 +0000 (14:19 +0000)] 
- fix aliases and exports

17 years ago- add http_parse_params()
Michael Wallner [Fri, 28 Apr 2006 14:45:22 +0000 (14:45 +0000)] 
- add http_parse_params()

17 years ago- fix bad hash key length
Michael Wallner [Fri, 28 Apr 2006 14:43:44 +0000 (14:43 +0000)] 
- fix bad hash key length

17 years ago- tiny opt. bits
Michael Wallner [Mon, 24 Apr 2006 17:17:09 +0000 (17:17 +0000)] 
- tiny opt. bits

17 years ago- use PHPSTR_NOMEM
Michael Wallner [Sun, 23 Apr 2006 17:43:46 +0000 (17:43 +0000)] 
- use PHPSTR_NOMEM

17 years ago- inline http_querystring_modify_array(_ex) functions
Michael Wallner [Sat, 22 Apr 2006 21:17:42 +0000 (21:17 +0000)] 
- inline http_querystring_modify_array(_ex) functions

17 years ago- split off query strin API and use it in
Michael Wallner [Sat, 22 Apr 2006 21:04:37 +0000 (21:04 +0000)] 
- split off query strin API and use it in
  http_build_url() with HTTP_URL_JOIN_QUERY

18 years agotypo
Michael Wallner [Fri, 21 Apr 2006 11:42:14 +0000 (11:42 +0000)] 
typo

18 years ago- use a more iterative approach in inflate code (instead of a retry-style)
Michael Wallner [Fri, 21 Apr 2006 10:38:59 +0000 (10:38 +0000)] 
- use a more iterative approach in inflate code (instead of a retry-style)
- revert forcing flush on stream filters; s'been a bug in php-src
- add flush flags for encoding streams
- add ctor to HttpInflateStream

18 years ago- update changelog
Michael Wallner [Wed, 19 Apr 2006 16:08:01 +0000 (16:08 +0000)] 
- update changelog
- update known issues

18 years ago- force syncronized flush on encoding stream
Michael Wallner [Wed, 19 Apr 2006 15:42:28 +0000 (15:42 +0000)] 
- force syncronized flush on encoding stream
- allow erealloc failure in phpstr_resize_ex()

# appending a *deflate* (zlib/gzip) filter to a stream
# for reading won't make one happy, though

18 years ago- erm, complete the fix
Michael Wallner [Wed, 19 Apr 2006 11:04:18 +0000 (11:04 +0000)] 
- erm, complete the fix

18 years ago- fix possible crash with http_redirect() and http_build_url() called without parameters
Michael Wallner [Wed, 19 Apr 2006 10:54:56 +0000 (10:54 +0000)] 
- fix possible crash with http_redirect() and http_build_url() called without parameters

18 years ago- fix SEGV if an error occurs inside a callback and error handling is set to EH_THROW
Michael Wallner [Tue, 18 Apr 2006 18:44:47 +0000 (18:44 +0000)] 
- fix SEGV if an error occurs inside a callback and error handling is set to EH_THROW

18 years ago- rather show the exception than a useless "Cannot call HttpRequest::onfinish()"
Michael Wallner [Tue, 18 Apr 2006 15:02:58 +0000 (15:02 +0000)] 
- rather show the exception than a useless "Cannot call HttpRequest::onfinish()"

18 years ago- ob_etaghandler is not eraseable from userland with current output control code
Michael Wallner [Mon, 17 Apr 2006 16:29:29 +0000 (16:29 +0000)] 
- ob_etaghandler is not eraseable from userland with current output control code

18 years ago- release 1.0.0RC3
Michael Wallner [Thu, 13 Apr 2006 15:28:43 +0000 (15:28 +0000)] 
- release 1.0.0RC3

18 years ago- correct EOF
Michael Wallner [Wed, 12 Apr 2006 08:52:22 +0000 (08:52 +0000)] 
- correct EOF

18 years ago- changelog
Michael Wallner [Wed, 12 Apr 2006 08:52:14 +0000 (08:52 +0000)] 
- changelog

18 years ago- cleanup
Michael Wallner [Wed, 12 Apr 2006 08:50:32 +0000 (08:50 +0000)] 
- cleanup

18 years ago- improve struct layout
Michael Wallner [Wed, 12 Apr 2006 08:39:41 +0000 (08:39 +0000)] 
- improve struct layout

18 years ago- fix crash if there's no response status string after the response code
Michael Wallner [Wed, 12 Apr 2006 08:39:23 +0000 (08:39 +0000)] 
- fix crash if there's no response status string after the response code

18 years ago- fix compiler warning on win32
Michael Wallner [Thu, 6 Apr 2006 21:22:04 +0000 (21:22 +0000)] 
- fix compiler warning on win32
- add function proto
- generate PHP warning and return FALSE if file_get_contents fails

18 years ago- add missing http_request_body_encode()
Michael Wallner [Thu, 6 Apr 2006 18:37:45 +0000 (18:37 +0000)] 
- add missing http_request_body_encode()
# I bet this breaks the windows build; let's see

18 years ago- doc fixes
Michael Wallner [Thu, 6 Apr 2006 13:55:55 +0000 (13:55 +0000)] 
- doc fixes

18 years ago- added missing http_request() function stub
Michael Wallner [Thu, 6 Apr 2006 13:50:32 +0000 (13:50 +0000)] 
- added missing http_request() function stub

18 years agotypo
Michael Wallner [Thu, 6 Apr 2006 10:38:58 +0000 (10:38 +0000)] 
typo

18 years ago- there's no php_memnstr in PHP-4
Michael Wallner [Thu, 6 Apr 2006 09:32:27 +0000 (09:32 +0000)] 
- there's no php_memnstr in PHP-4

18 years ago- http_parse_headers has become more strict
Michael Wallner [Wed, 5 Apr 2006 16:35:26 +0000 (16:35 +0000)] 
- http_parse_headers has become more strict

18 years ago- skip leading ws in http_parse_headers()
Michael Wallner [Wed, 5 Apr 2006 16:34:28 +0000 (16:34 +0000)] 
- skip leading ws in http_parse_headers()

18 years ago- bailout on empty keys in http_parse_headers()
Michael Wallner [Wed, 5 Apr 2006 15:07:07 +0000 (15:07 +0000)] 
- bailout on empty keys in http_parse_headers()

18 years ago- fix errenous bailout of http_parse_headers() introduced with last commit
Michael Wallner [Wed, 5 Apr 2006 14:48:39 +0000 (14:48 +0000)] 
- fix errenous bailout of http_parse_headers() introduced with last commit

18 years agotest
Michael Wallner [Sun, 2 Apr 2006 22:05:56 +0000 (22:05 +0000)] 
test

18 years agotest
Michael Wallner [Sun, 2 Apr 2006 22:02:09 +0000 (22:02 +0000)] 
test

18 years agotest
Michael Wallner [Sun, 2 Apr 2006 21:58:18 +0000 (21:58 +0000)] 
test

18 years ago- Disallow $HttpMessage->prepend($HttpMessage) causing infinite recursion
Michael Wallner [Sun, 2 Apr 2006 21:51:01 +0000 (21:51 +0000)] 
- Disallow $HttpMessage->prepend($HttpMessage) causing infinite recursion

18 years ago- Improved performance of the message and header parser
Michael Wallner [Fri, 31 Mar 2006 11:07:54 +0000 (11:07 +0000)] 
- Improved performance of the message and header parser
* Fixed internal http_parse_headers() always returning success

18 years ago* Fixed missing "parentMessage" entry in print_r($HttpMessageObject)
Michael Wallner [Thu, 30 Mar 2006 17:17:11 +0000 (17:17 +0000)] 
* Fixed missing "parentMessage" entry in print_r($HttpMessageObject)

18 years ago- allocate known count of HashTables entries on init
Michael Wallner [Wed, 29 Mar 2006 12:38:01 +0000 (12:38 +0000)] 
- allocate known count of HashTables entries on init

18 years ago- fix warning (initialize zend_object_value)
Michael Wallner [Wed, 29 Mar 2006 12:23:14 +0000 (12:23 +0000)] 
- fix warning (initialize zend_object_value)

18 years ago- get rid of 1001 strict-aliasing warnings
Michael Wallner [Tue, 28 Mar 2006 20:20:40 +0000 (20:20 +0000)] 
- get rid of 1001 strict-aliasing warnings

18 years ago- release 1.0.0RC2
Michael Wallner [Tue, 28 Mar 2006 10:08:03 +0000 (10:08 +0000)] 
- release 1.0.0RC2

18 years ago- fix too aggressive caching behavour of HttpResponse
Michael Wallner [Tue, 28 Mar 2006 09:50:47 +0000 (09:50 +0000)] 
- fix too aggressive caching behavour of HttpResponse