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

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

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

18 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

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

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

18 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

18 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

18 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

18 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()

18 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

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

18 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()

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

18 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()

18 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()

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

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

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

18 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()

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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()

18 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

18 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

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

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

18 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

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

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

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

18 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

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

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

18 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

18 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()

18 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

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

18 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

18 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

18 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

18 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

18 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()

18 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?

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

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

18 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

18 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

18 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

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

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

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

18 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()

18 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()

18 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()

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

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

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

18 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

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

18 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

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

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

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

18 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

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

18 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

18 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!

18 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

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

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

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

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

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

18 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

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

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

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

18 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

18 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

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

18 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

18 years ago- byebye leaks
Michael Wallner [Thu, 21 Jul 2005 18:28:23 +0000 (18:28 +0000)] 
- byebye leaks
# seems odd? is odd!

18 years agowhat the?
Michael Wallner [Thu, 21 Jul 2005 16:18:09 +0000 (16:18 +0000)] 
what the?

18 years ago- ws
Michael Wallner [Thu, 21 Jul 2005 16:15:24 +0000 (16:15 +0000)] 
- ws

18 years ago- set etag if not defined by user
Michael Wallner [Thu, 21 Jul 2005 16:06:15 +0000 (16:06 +0000)] 
- set etag if not defined by user
- unerasable output buffers

18 years ago- add http_etag() for files
Michael Wallner [Thu, 21 Jul 2005 16:04:35 +0000 (16:04 +0000)] 
- add http_etag() for files

18 years ago- fix output buffering, default mime type
Michael Wallner [Thu, 21 Jul 2005 15:37:20 +0000 (15:37 +0000)] 
- fix output buffering, default mime type
- get rid of unused macros

18 years ago- better some leaks than mem read errors
Michael Wallner [Thu, 21 Jul 2005 14:34:31 +0000 (14:34 +0000)] 
- better some leaks than mem read errors

18 years ago- fix refelction info
Michael Wallner [Thu, 21 Jul 2005 09:33:10 +0000 (09:33 +0000)] 
- fix refelction info

18 years ago- separate http_methods.c into http_*_object.c files
Michael Wallner [Wed, 20 Jul 2005 15:01:27 +0000 (15:01 +0000)] 
- separate http_methods.c into http_*_object.c files
- attempt to make HttpResponse static

# no idea, but the static members of HttpResponse are leaking all around

18 years ago- reflection awareness of HttpRequest
Michael Wallner [Tue, 19 Jul 2005 23:00:34 +0000 (23:00 +0000)] 
- reflection awareness of HttpRequest
- added HttpResponse::catchOutput()

# I'm pondering making HttpResponse a static class --
# is there even a need to instantiate an HttpResponse object?