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

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

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

18 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

18 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

18 years ago- make this class usable, mostly by fixing typos
Michael Wallner [Mon, 27 Mar 2006 17:41:25 +0000 (17:41 +0000)] 
- make this class usable, mostly by fixing typos

18 years ago- fix sending userspace streams (only reading 8k at once)
Michael Wallner [Mon, 27 Mar 2006 17:38:21 +0000 (17:38 +0000)] 
- fix sending userspace streams (only reading 8k at once)
# clean up http_response_data_fetch() at the same run

18 years ago- override INI(http.force_exit) when calling http_exit() in ob_etaghandler
Michael Wallner [Mon, 27 Mar 2006 09:28:03 +0000 (09:28 +0000)] 
- override INI(http.force_exit) when calling http_exit() in ob_etaghandler
- check if ob is locked in http_exit()

18 years ago- fixed access of super globals
Michael Wallner [Sun, 26 Mar 2006 16:05:50 +0000 (16:05 +0000)] 
- fixed access of super globals

18 years ago- remove debug printf
Michael Wallner [Fri, 24 Mar 2006 18:40:03 +0000 (18:40 +0000)] 
- remove debug printf

18 years ago* Fixed Bug #7192: Build against libcurl >= 7.15.2 fails
Michael Wallner [Fri, 24 Mar 2006 18:35:18 +0000 (18:35 +0000)] 
* Fixed Bug #7192: Build against libcurl >= 7.15.2 fails

18 years ago- release 1.0.0RC1
Michael Wallner [Sun, 19 Mar 2006 18:43:31 +0000 (18:43 +0000)] 
- release 1.0.0RC1

18 years ago- add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3
Michael Wallner [Sun, 19 Mar 2006 15:02:57 +0000 (15:02 +0000)] 
- add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3

18 years ago- some test fixup
Michael Wallner [Sun, 19 Mar 2006 13:13:16 +0000 (13:13 +0000)] 
- some test fixup

18 years ago- fix HttpQueryString::xlate()
Michael Wallner [Sun, 19 Mar 2006 12:05:42 +0000 (12:05 +0000)] 
- fix HttpQueryString::xlate()
- add xlate test
- fixup old tests for encoded square brackets

18 years ago- fix builds where include/php/ext/iconv does not have php_have_*.h files
Michael Wallner [Sun, 19 Mar 2006 10:28:51 +0000 (10:28 +0000)] 
- fix builds where include/php/ext/iconv does not have php_have_*.h files
  by #undef PHP_ATOM_INC
# What is this for actually?

18 years ago- rather use '\r'/'\n' character symbols than the hex values
Michael Wallner [Tue, 14 Mar 2006 09:01:11 +0000 (09:01 +0000)] 
- rather use '\r'/'\n' character symbols than the hex values

18 years ago- fix php-4 build
Michael Wallner [Sun, 12 Mar 2006 18:05:20 +0000 (18:05 +0000)] 
- fix php-4 build

18 years ago- fix http_build_str(): urlencode [] brackets
Michael Wallner [Wed, 8 Mar 2006 21:52:55 +0000 (21:52 +0000)] 
- fix http_build_str(): urlencode [] brackets

18 years ago- version bump
Michael Wallner [Wed, 8 Mar 2006 20:41:50 +0000 (20:41 +0000)] 
- version bump
- prevent possible crash if sapi_module.treat_data is not set

18 years ago- fix proto *static* HttpQueryString::singleton()
Michael Wallner [Tue, 7 Mar 2006 15:08:57 +0000 (15:08 +0000)] 
- fix proto *static* HttpQueryString::singleton()

18 years ago- rename HttpQueryString::getInstance() to HttpQueryString::singleton()
Michael Wallner [Tue, 7 Mar 2006 14:59:15 +0000 (14:59 +0000)] 
- rename HttpQueryString::getInstance() to HttpQueryString::singleton()
- rename HttpQueryString::iconv() to HttpQueryString::xlate()

18 years ago- ws
Michael Wallner [Mon, 6 Mar 2006 16:07:19 +0000 (16:07 +0000)] 
- ws

18 years ago- split off files from tutorial.txt into lib/*.php
Michael Wallner [Mon, 6 Mar 2006 16:00:50 +0000 (16:00 +0000)] 
- split off files from tutorial.txt into lib/*.php
- prepare release v.25

18 years ago- fix build (unknown macro)
Michael Wallner [Sun, 5 Mar 2006 11:04:17 +0000 (11:04 +0000)] 
- fix build (unknown macro)
- use exceptions where methods should return an object

18 years ago- methods that return an object should throw an exception on failure (tm)
Michael Wallner [Fri, 3 Mar 2006 20:19:45 +0000 (20:19 +0000)] 
- methods that return an object should throw an exception on failure (tm)
  HttpMessage::getParentMessage() throws HttpMessageException if
  there's no parent message

18 years ago- unroll http_message_dup()
Michael Wallner [Fri, 3 Mar 2006 20:18:44 +0000 (20:18 +0000)] 
- unroll http_message_dup()

18 years ago- use OBJ_PROP_CE macro
Michael Wallner [Fri, 3 Mar 2006 16:06:02 +0000 (16:06 +0000)] 
- use OBJ_PROP_CE macro

18 years ago- fix win32 build
Michael Wallner [Fri, 3 Mar 2006 13:25:54 +0000 (13:25 +0000)] 
- fix win32 build

18 years ago- add 'range' request option
Michael Wallner [Mon, 27 Feb 2006 16:55:13 +0000 (16:55 +0000)] 
- add 'range' request option
- add 'proxytype' request option
- add proxy type constants

18 years ago- ditch warnings
Michael Wallner [Mon, 27 Feb 2006 14:35:04 +0000 (14:35 +0000)] 
- ditch warnings
- give anonymous types a name

18 years ago- prettify header array keys at add time so that check_content_type() works properly
Michael Wallner [Sat, 25 Feb 2006 16:16:53 +0000 (16:16 +0000)] 
- prettify header array keys at add time so that check_content_type() works properly
- do a more sophisticated lookup for the content type header

18 years ago- add test file
Michael Wallner [Fri, 24 Feb 2006 20:39:14 +0000 (20:39 +0000)] 
- add test file

18 years ago- add test
Michael Wallner [Fri, 24 Feb 2006 20:32:08 +0000 (20:32 +0000)] 
- add test

18 years ago- add http_put_data() and HttpRequest::(set|get|add)PutData()
Michael Wallner [Fri, 24 Feb 2006 20:31:53 +0000 (20:31 +0000)] 
- add http_put_data() and HttpRequest::(set|get|add)PutData()
- fix HttpRequest::addRawPostData()
- properly initialize request body in http_(post|put)_*()

18 years ago- fix OSX linkage
Michael Wallner [Fri, 24 Feb 2006 14:34:14 +0000 (14:34 +0000)] 
- fix OSX linkage

18 years ago- release .24.1
Michael Wallner [Thu, 23 Feb 2006 12:10:31 +0000 (12:10 +0000)] 
- release .24.1

18 years ago- fix a mistake crept in which prevented from setting custom request content type
Michael Wallner [Wed, 22 Feb 2006 17:58:44 +0000 (17:58 +0000)] 
- fix a mistake crept in which prevented from setting custom request content type

18 years ago- fix bug #6861: 5 digit ports get truncated
Michael Wallner [Tue, 21 Feb 2006 22:43:17 +0000 (22:43 +0000)] 
- fix bug #6861: 5 digit ports get truncated

18 years ago- release .24
Michael Wallner [Mon, 20 Feb 2006 16:43:48 +0000 (16:43 +0000)] 
- release .24

18 years ago- need php_stream_open_wrapper_*ex* to pass a stream context
Michael Wallner [Mon, 20 Feb 2006 16:06:21 +0000 (16:06 +0000)] 
- need php_stream_open_wrapper_*ex* to pass a stream context

18 years ago- add default stream context support
Michael Wallner [Mon, 20 Feb 2006 15:59:38 +0000 (15:59 +0000)] 
- add default stream context support

18 years ago- simplify
Michael Wallner [Sat, 18 Feb 2006 19:44:40 +0000 (19:44 +0000)] 
- simplify

18 years ago- add HttpQueryString::iconv()
Michael Wallner [Sat, 18 Feb 2006 19:11:33 +0000 (19:11 +0000)] 
- add HttpQueryString::iconv()
- let HttpQueryString implement Serializable
- make operations on the array recursive

18 years ago- add portrange request option
Michael Wallner [Fri, 17 Feb 2006 16:35:05 +0000 (16:35 +0000)] 
- add portrange request option

18 years ago- fix bug #6804 - configure does not recognize --without-http-zlib-compression
Michael Wallner [Fri, 17 Feb 2006 09:28:37 +0000 (09:28 +0000)] 
- fix bug #6804 - configure does not recognize --without-http-zlib-compression

18 years ago- add support for If-Range header
Michael Wallner [Thu, 16 Feb 2006 17:49:54 +0000 (17:49 +0000)] 
- add support for If-Range header
- fix cases where 412 Precondition failed should be generated

18 years ago- fixed message chain order in HttpRequest::getHistory()
Michael Wallner [Thu, 16 Feb 2006 09:09:23 +0000 (09:09 +0000)] 
- fixed message chain order in HttpRequest::getHistory()
# no need to reverse there; I got tricked by my own toString() impl

18 years ago- really fix http_parse_cookie()
Michael Wallner [Wed, 15 Feb 2006 18:44:12 +0000 (18:44 +0000)] 
- really fix http_parse_cookie()
- fix version info in main header file
- release .23.1

18 years ago- release 0.23
Michael Wallner [Wed, 15 Feb 2006 07:44:31 +0000 (07:44 +0000)] 
- release 0.23

18 years ago- fix stupidities
Michael Wallner [Tue, 14 Feb 2006 20:17:19 +0000 (20:17 +0000)] 
- fix stupidities

18 years ago- save some time by reversing on the message level
Michael Wallner [Tue, 14 Feb 2006 18:08:06 +0000 (18:08 +0000)] 
- save some time by reversing on the message level

18 years ago- reverse request history
Michael Wallner [Tue, 14 Feb 2006 17:18:54 +0000 (17:18 +0000)] 
- reverse request history

18 years ago- cosmetics
Michael Wallner [Tue, 14 Feb 2006 14:24:17 +0000 (14:24 +0000)] 
- cosmetics

18 years ago- reset request->_error
Michael Wallner [Tue, 14 Feb 2006 13:53:00 +0000 (13:53 +0000)] 
- reset request->_error
- add request->_error to info array
- update HttpRequest properties with empty values on failed request
- always fetch request info with HttpRequest
- append request message to history on failed  request
- call HttpRequest::onFinish even on failure with a bool param indicating success

18 years ago- typo
Michael Wallner [Tue, 14 Feb 2006 13:06:34 +0000 (13:06 +0000)] 
- typo