m6w6/ext-http
19 years ago- introduce a force flag for no_cache
Michael Wallner [Thu, 1 Sep 2005 07:06:28 +0000 (07:06 +0000)] 
- introduce a force flag for no_cache

19 years ago- bump version
Michael Wallner [Thu, 1 Sep 2005 07:05:58 +0000 (07:05 +0000)] 
- bump version
- ditch unused global

19 years ago- prepare for working static properties in PHP_5_1
Michael Wallner [Thu, 1 Sep 2005 07:05:31 +0000 (07:05 +0000)] 
- prepare for working static properties in PHP_5_1
- no HttpResponse class in PHP_5_0 (codename WONKY)

19 years ago- release
Michael Wallner [Fri, 26 Aug 2005 11:24:14 +0000 (11:24 +0000)] 
- release

19 years ago- update docs
Michael Wallner [Fri, 26 Aug 2005 11:13:15 +0000 (11:13 +0000)] 
- update docs

19 years ago- made low-lewel request pool object api more intuitive
Michael Wallner [Fri, 26 Aug 2005 09:52:50 +0000 (09:52 +0000)] 
- made low-lewel request pool object api more intuitive

19 years ago- add http_log() for cases we don't want to exit
Michael Wallner [Fri, 26 Aug 2005 09:22:59 +0000 (09:22 +0000)] 
- add http_log() for cases we don't want to exit
- remove clunky auth hooks completely

19 years ago- preventively set Accept-Encoding
Michael Wallner [Fri, 26 Aug 2005 08:19:26 +0000 (08:19 +0000)] 
- preventively set Accept-Encoding

19 years ago-fix macro parameter passing in HTTP_LOG_WRITE
Michael Wallner [Fri, 26 Aug 2005 07:31:06 +0000 (07:31 +0000)] 
-fix macro parameter passing in HTTP_LOG_WRITE

19 years ago-typo
Michael Wallner [Fri, 26 Aug 2005 07:19:23 +0000 (07:19 +0000)] 
-typo

19 years ago- ditch warnings
Michael Wallner [Thu, 25 Aug 2005 18:34:12 +0000 (18:34 +0000)] 
- ditch warnings
- fix PHP4 build, yet again
- http_message_parse() must check for Transfer-Encoding prior Content-Length

19 years ago- fix win32 DL build
Michael Wallner [Thu, 25 Aug 2005 18:28:19 +0000 (18:28 +0000)] 
- fix win32 DL build

19 years ago- update
Michael Wallner [Thu, 25 Aug 2005 17:53:49 +0000 (17:53 +0000)] 
- update

19 years ago- fix etag generation without libmhash
Michael Wallner [Thu, 25 Aug 2005 17:53:34 +0000 (17:53 +0000)] 
- fix etag generation without libmhash

19 years ago- fix php4 build
Michael Wallner [Thu, 25 Aug 2005 14:28:23 +0000 (14:28 +0000)] 
- fix php4 build

19 years ago- fix initialization of globals
Michael Wallner [Thu, 25 Aug 2005 13:24:52 +0000 (13:24 +0000)] 
- fix initialization of globals

19 years ago- fix includes
Michael Wallner [Thu, 25 Aug 2005 12:45:31 +0000 (12:45 +0000)] 
- fix includes
- remove tests/README.txt as it is no longer true
- add parse_message test

19 years ago- don't copy the refcount of the passed in value -- fixes remaining mem-leaks of...
Michael Wallner [Thu, 25 Aug 2005 12:18:01 +0000 (12:18 +0000)] 
- don't copy the refcount of the passed in value -- fixes remaining mem-leaks of the statics hack

19 years ago- add etag generation through mhash
Michael Wallner [Thu, 25 Aug 2005 11:51:39 +0000 (11:51 +0000)] 
- add etag generation through mhash
- fix several memleaks

19 years ago- don't destroy headers in http_message_tostruct_recursive()
Michael Wallner [Thu, 25 Aug 2005 09:18:32 +0000 (09:18 +0000)] 
- don't destroy headers in http_message_tostruct_recursive()

19 years ago- simplify request/response handling
Michael Wallner [Wed, 24 Aug 2005 15:59:44 +0000 (15:59 +0000)] 
- simplify request/response handling
- extend according test

19 years ago- fix php4 build
Michael Wallner [Wed, 24 Aug 2005 13:16:54 +0000 (13:16 +0000)] 
- fix php4 build

19 years ago- single LF aware http_chunked_decode()
Michael Wallner [Wed, 24 Aug 2005 13:05:00 +0000 (13:05 +0000)] 
- single LF aware http_chunked_decode()

19 years ago- typo
Michael Wallner [Wed, 24 Aug 2005 10:55:57 +0000 (10:55 +0000)] 
- typo

19 years ago- include missing.h in http.c for static property fixup
Michael Wallner [Wed, 24 Aug 2005 10:53:51 +0000 (10:53 +0000)] 
- include missing.h in http.c for static property fixup
- don't free the http message in http_message_tostruct_recursive() but where it was allocated
- use the "standard" way in RETVAL_OBJVAL()

19 years ago- ditch left-overs of yesterday's commit
Michael Wallner [Wed, 24 Aug 2005 08:54:30 +0000 (08:54 +0000)] 
- ditch left-overs of yesterday's commit
- use http_locate_body() in http_message_parse()

19 years ago- ditch http_split_response()
Michael Wallner [Tue, 23 Aug 2005 18:14:11 +0000 (18:14 +0000)] 
- ditch http_split_response()
- unify parsing of HTTP pre-header line; add info api
- add several log facilities through http_exit()
- several other fixbits

# unfinished...

19 years ago- test for bug #34191
Michael Wallner [Fri, 19 Aug 2005 15:26:16 +0000 (15:26 +0000)] 
- test for bug #34191

19 years ago- typo
Michael Wallner [Fri, 19 Aug 2005 15:18:59 +0000 (15:18 +0000)] 
- typo

19 years ago- we pass the file name as char* not zval* in http_etag() and http_last_modified()
Michael Wallner [Fri, 19 Aug 2005 14:57:43 +0000 (14:57 +0000)] 
- we pass the file name as char* not zval* in http_etag() and http_last_modified()

19 years ago- content-length header awareness
Michael Wallner [Fri, 19 Aug 2005 14:56:55 +0000 (14:56 +0000)] 
- content-length header awareness

19 years ago- send a content-length header if we send the full plain data
Michael Wallner [Fri, 19 Aug 2005 14:56:23 +0000 (14:56 +0000)] 
- send a content-length header if we send the full plain data

19 years ago- improve static property handling
Michael Wallner [Fri, 19 Aug 2005 14:55:28 +0000 (14:55 +0000)] 
- improve static property handling
- make output buffers unerasable by user
- fix method names in header
- don't overwrite custom etag and last-modified

19 years ago- use &EG(symbol_table)'s HTTP_SERVER_VARS instead of
Michael Wallner [Fri, 19 Aug 2005 07:50:54 +0000 (07:50 +0000)] 
- use &EG(symbol_table)'s HTTP_SERVER_VARS instead of
  PG(http_globals)[TRACK_VARS_SERVER] as the latter might
  only be filled with register_long_arrays=On

19 years ago- bloody workaround for internal class' static properties
Michael Wallner [Tue, 16 Aug 2005 17:05:46 +0000 (17:05 +0000)] 
- bloody workaround for internal class' static properties
- fix HttpRequest_002.phpt

19 years ago- catch ranges starting with 0
Michael Wallner [Tue, 16 Aug 2005 15:24:00 +0000 (15:24 +0000)] 
- catch ranges starting with 0

19 years ago- add note about infunctional HttpResponse class due to the problems with static...
Michael Wallner [Tue, 16 Aug 2005 15:18:13 +0000 (15:18 +0000)] 
- add note about infunctional HttpResponse class due to the problems with static properties

19 years ago- parameter to set*() and add*() methods is optional
Michael Wallner [Tue, 16 Aug 2005 15:12:49 +0000 (15:12 +0000)] 
- parameter to set*() and add*() methods is optional

19 years ago- API cleanup: remove unset*() methods and make set*() methods capable of that
Michael Wallner [Tue, 16 Aug 2005 15:06:48 +0000 (15:06 +0000)] 
- API cleanup: remove unset*() methods and make set*() methods capable of that

19 years ago- add PHP_FUNCTION(http_parse_message) -- http_get() etc would be pretty useless...
Michael Wallner [Tue, 9 Aug 2005 11:32:25 +0000 (11:32 +0000)] 
- add PHP_FUNCTION(http_parse_message) -- http_get() etc would be pretty useless without that in many cases

19 years ago- proper fallthrough in zend_update_static_property()
Michael Wallner [Mon, 8 Aug 2005 15:05:49 +0000 (15:05 +0000)] 
- proper fallthrough in zend_update_static_property()

19 years ago- incorporate static property routines into missing.c
Michael Wallner [Mon, 8 Aug 2005 14:09:32 +0000 (14:09 +0000)] 
- incorporate static property routines into missing.c

19 years ago- be smart about internal/user zvals, though it's not actually used
Michael Wallner [Mon, 8 Aug 2005 12:15:52 +0000 (12:15 +0000)] 
- be smart about internal/user zvals, though it's not actually used

19 years ago- unused var
Michael Wallner [Mon, 8 Aug 2005 09:24:15 +0000 (09:24 +0000)] 
- unused var

19 years ago- missing include
Michael Wallner [Mon, 8 Aug 2005 09:23:09 +0000 (09:23 +0000)] 
- missing include

19 years ago- http_redirect(): proper check for ext/session; fix possible mem-leaks
Michael Wallner [Mon, 8 Aug 2005 08:47:15 +0000 (08:47 +0000)] 
- http_redirect(): proper check for ext/session; fix possible mem-leaks

19 years ago- fix php4 build
Michael Wallner [Mon, 8 Aug 2005 07:23:27 +0000 (07:23 +0000)] 
- fix php4 build

19 years ago- support for proprietary Unless-Modified-Since header (eq If-Unmodified-Since)
Michael Wallner [Wed, 3 Aug 2005 13:30:25 +0000 (13:30 +0000)] 
- support for proprietary Unless-Modified-Since header (eq If-Unmodified-Since)

19 years ago- add HttpMessage class constants
Michael Wallner [Wed, 3 Aug 2005 11:40:02 +0000 (11:40 +0000)] 
- add HttpMessage class constants

19 years ago- fix builds and tests without libcurl linked in
Michael Wallner [Wed, 3 Aug 2005 08:50:39 +0000 (08:50 +0000)] 
- fix builds and tests without libcurl linked in

19 years ago- missing include
Michael Wallner [Tue, 2 Aug 2005 17:23:28 +0000 (17:23 +0000)] 
- missing include

19 years ago- fix PHP4 build
Michael Wallner [Tue, 2 Aug 2005 17:20:36 +0000 (17:20 +0000)] 
- fix PHP4 build
- nuke unused variables

19 years ago- fix PHP4 build (has no only_exceptions INI setting
Michael Wallner [Tue, 2 Aug 2005 08:25:38 +0000 (08:25 +0000)] 
- fix PHP4 build (has no only_exceptions INI setting

19 years ago- simplify http_send_header API
Michael Wallner [Mon, 1 Aug 2005 20:31:24 +0000 (20:31 +0000)] 
- simplify http_send_header API
- remove HttpResponse::sendHeader()
- rename HttpResponse::sendStatus() to HttpResponse::status()
- add HttpResponse::setHeader() and HttpResponse::getHeader()

19 years ago- no run-tests.diff any more
Michael Wallner [Mon, 1 Aug 2005 08:06:57 +0000 (08:06 +0000)] 
- no run-tests.diff any more

19 years ago- release 0.11.0
Michael Wallner [Mon, 1 Aug 2005 08:04:01 +0000 (08:04 +0000)] 
- release 0.11.0

19 years ago- avoid notices of new ext/date
Michael Wallner [Fri, 29 Jul 2005 21:04:54 +0000 (21:04 +0000)] 
- avoid notices of new ext/date

19 years ago- avoid leak in RETURN_OBJECT
Michael Wallner [Fri, 29 Jul 2005 20:56:11 +0000 (20:56 +0000)] 
- avoid leak in RETURN_OBJECT
- fix HttpRequest_002.phpt

19 years ago- remove the declaration of http_request_global_init() from the header too
Michael Wallner [Fri, 29 Jul 2005 20:38:33 +0000 (20:38 +0000)] 
- remove the declaration of http_request_global_init() from the header too

19 years ago - curl cannot use zend mm
Michael Wallner [Fri, 29 Jul 2005 20:35:02 +0000 (20:35 +0000)] 
 - curl cannot use zend mm

19 years ago- HTTP_REGISTER_CLASS_EX already calls http_request_object_declare_default_properties()
Michael Wallner [Fri, 29 Jul 2005 20:33:58 +0000 (20:33 +0000)] 
- HTTP_REGISTER_CLASS_EX already calls http_request_object_declare_default_properties()

19 years ago- we're not using new ext/date but php_gmtime_r()
Michael Wallner [Fri, 29 Jul 2005 20:32:37 +0000 (20:32 +0000)] 
- we're not using new ext/date but php_gmtime_r()

# Marcus, did that INI setting really change anything for you?

19 years ago- Fix property handling
Marcus Boerger [Fri, 29 Jul 2005 18:12:12 +0000 (18:12 +0000)] 
- Fix property handling
- Fix tests

19 years ago- No longer needed
Marcus Boerger [Fri, 29 Jul 2005 17:26:08 +0000 (17:26 +0000)] 
- No longer needed

19 years ago- fix INI entries
Michael Wallner [Fri, 29 Jul 2005 08:57:37 +0000 (08:57 +0000)] 
- fix INI entries
- add INI entry http.only_exceptions
- use custom error codes so that http.only_exceptions is honored
- introduce several different exception classes
- use http_curl_conv struct for the curl callback

19 years ago- no user debug callbacks any longer
Michael Wallner [Thu, 28 Jul 2005 14:55:50 +0000 (14:55 +0000)] 
- no user debug callbacks any longer
- cleanup lately introduced request mess with a serious hack

# now we get the raw sent and received data through
# the curl debug callback -- all that because the "normal"
# interface does not provide us with the response bodies
# for redirects and leaves for instance the transfer encoding
# header intact while decoding the response body
#
# all this kind of stuff breaks the http message parser
#
# too much magic for a library -- all that actions should
# be done by ther CLI or such... well
#
# maybe I can convince the curl people to introduce
# a raw data callback for future versions of libcurl

19 years ago- ssl options were only setable rather than modifiable through setOptions
Michael Wallner [Wed, 27 Jul 2005 19:59:38 +0000 (19:59 +0000)] 
- ssl options were only setable rather than modifiable through setOptions

19 years ago- Add missing .cvsignore file
Marcus Boerger [Wed, 27 Jul 2005 19:33:38 +0000 (19:33 +0000)] 
- Add missing .cvsignore file

19 years ago- fix option setting
Michael Wallner [Wed, 27 Jul 2005 16:38:07 +0000 (16:38 +0000)] 
- fix option setting

19 years ago- avoid callbacks during shutdown
Michael Wallner [Wed, 27 Jul 2005 16:33:15 +0000 (16:33 +0000)] 
- avoid callbacks during shutdown

19 years ago- increment refcount for HttpRequest object put into hashtable as debug wrapper
Michael Wallner [Wed, 27 Jul 2005 14:59:22 +0000 (14:59 +0000)] 
- increment refcount for HttpRequest object put into hashtable as debug wrapper
- fix http_message_parse() to be only greedy at fetching body from response messages
- add HttpRequest::$recordHistory and HttpRequest::getHistory()
- fetch body of redirects through the HttpRequest::debugWrapper()

19 years ago- fix possible mem-leak in http_absolute_uri()
Michael Wallner [Tue, 26 Jul 2005 16:44:27 +0000 (16:44 +0000)] 
- fix possible mem-leak in http_absolute_uri()
- make url and request method configurable through HttpRequest::setOptions()

19 years ago- bump version
Michael Wallner [Tue, 26 Jul 2005 15:23:04 +0000 (15:23 +0000)] 
- bump version
- reset dbg_user_cb on unsetOptions()

19 years ago- fix refelction info for some methods of HttpRequest
Michael Wallner [Tue, 26 Jul 2005 15:05:15 +0000 (15:05 +0000)] 
- fix refelction info for some methods of HttpRequest
- added HttpRequest::getRequestMessage() returning the outgoing request message(s)
- added HttpRequest::debugWrapper() actually fetching the request message(s)

19 years ago- release 0.10.1
Michael Wallner [Mon, 25 Jul 2005 16:10:11 +0000 (16:10 +0000)] 
- release 0.10.1

19 years ago-fix installation through pear
Michael Wallner [Mon, 25 Jul 2005 16:01:42 +0000 (16:01 +0000)] 
-fix installation through pear

19 years ago- release 0.10.0
Michael Wallner [Mon, 25 Jul 2005 12:51:39 +0000 (12:51 +0000)] 
- release 0.10.0
- update docs

19 years ago- actally returns STATUS
Michael Wallner [Mon, 25 Jul 2005 10:36:59 +0000 (10:36 +0000)] 
- actally returns STATUS

19 years ago- I thought I already fixed them
Michael Wallner [Mon, 25 Jul 2005 10:10:07 +0000 (10:10 +0000)] 
- I thought I already fixed them

19 years ago- another test
Michael Wallner [Sun, 24 Jul 2005 18:23:37 +0000 (18:23 +0000)] 
- another test

19 years ago- wrong file
Michael Wallner [Sun, 24 Jul 2005 18:23:03 +0000 (18:23 +0000)] 
- wrong file

19 years ago- add tests
Michael Wallner [Sun, 24 Jul 2005 18:22:12 +0000 (18:22 +0000)] 
- add tests

19 years ago- no need to mark HttpUtil as final
Michael Wallner [Sun, 24 Jul 2005 18:16:11 +0000 (18:16 +0000)] 
- no need to mark HttpUtil as final
- Reflection awareness of HttpUtil
- fix config.m4

19 years ago- fix some gcc warnings
Michael Wallner [Sun, 24 Jul 2005 10:30:45 +0000 (10:30 +0000)] 
- fix some gcc warnings

19 years ago- API juggling
Michael Wallner [Sun, 24 Jul 2005 08:51:41 +0000 (08:51 +0000)] 
- API juggling
- make tests -which can- working with CLI and CGI

19 years ago- This must not be changed here
Marcus Boerger [Sat, 23 Jul 2005 21:48:45 +0000 (21:48 +0000)] 
- This must not be changed here
# It belongs in the private environment or private shell startup scripts
# or a private build script that calls make. If it still should go here
# then it must be ensured that it only affects phpized builds of the ext.
#
# Anyway very brave developing!

19 years ago- fix write access of HttpMessage headers array in inherited context
Michael Wallner [Sat, 23 Jul 2005 20:32:32 +0000 (20:32 +0000)] 
- fix write access of HttpMessage headers array in inherited context
- fix float/double of http message's http version
- fix request pool handles destruction
- HttpRequestPool now implements Iterator
- nuke unused variables

19 years ago- add response tests
Michael Wallner [Fri, 22 Jul 2005 20:34:46 +0000 (20:34 +0000)] 
- add response tests

19 years ago- fix tests
Michael Wallner [Fri, 22 Jul 2005 20:33:03 +0000 (20:33 +0000)] 
- fix tests

19 years ago- update
Michael Wallner [Fri, 22 Jul 2005 16:01:57 +0000 (16:01 +0000)] 
- update

19 years ago- docs
Michael Wallner [Fri, 22 Jul 2005 15:50:29 +0000 (15:50 +0000)] 
- docs

19 years agohoppla
Michael Wallner [Fri, 22 Jul 2005 15:32:11 +0000 (15:32 +0000)] 
hoppla

19 years ago- added capture mode to HttpResponse
Michael Wallner [Fri, 22 Jul 2005 15:28:48 +0000 (15:28 +0000)] 
- added capture mode to HttpResponse

19 years ago- fix leaking curl callbacks
Michael Wallner [Fri, 22 Jul 2005 14:30:18 +0000 (14:30 +0000)] 
- fix leaking curl callbacks

19 years ago- clean previous response
Michael Wallner [Fri, 22 Jul 2005 13:48:22 +0000 (13:48 +0000)] 
- clean previous response

19 years ago- example
Michael Wallner [Fri, 22 Jul 2005 12:39:12 +0000 (12:39 +0000)] 
- example

19 years ago- proper handling of static members
Michael Wallner [Fri, 22 Jul 2005 09:47:43 +0000 (09:47 +0000)] 
- proper handling of static members

19 years ago- return error if headers have been already sent
Michael Wallner [Fri, 22 Jul 2005 09:45:56 +0000 (09:45 +0000)] 
- return error if headers have been already sent

19 years ago- fix stream handling
Michael Wallner [Fri, 22 Jul 2005 09:43:30 +0000 (09:43 +0000)] 
- fix stream handling

19 years ago- (declare|update)_property_bool is also missing
Michael Wallner [Fri, 22 Jul 2005 09:26:11 +0000 (09:26 +0000)] 
- (declare|update)_property_bool is also missing