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
Michael Wallner [Tue, 16 Aug 2005 17:05:46 +0000 (17:05 +0000)]
- bloody workaround for internal class' static properties
- fix HttpRequest_002.phpt
Michael Wallner [Tue, 16 Aug 2005 15:24:00 +0000 (15:24 +0000)]
- catch ranges starting with 0
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
Michael Wallner [Tue, 16 Aug 2005 15:12:49 +0000 (15:12 +0000)]
- parameter to set*() and add*() methods is optional
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
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
Michael Wallner [Mon, 8 Aug 2005 15:05:49 +0000 (15:05 +0000)]
- proper fallthrough in zend_update_static_property()
Michael Wallner [Mon, 8 Aug 2005 14:09:32 +0000 (14:09 +0000)]
- incorporate static property routines into missing.c
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
Michael Wallner [Mon, 8 Aug 2005 09:24:15 +0000 (09:24 +0000)]
- unused var
Michael Wallner [Mon, 8 Aug 2005 09:23:09 +0000 (09:23 +0000)]
- missing include
Michael Wallner [Mon, 8 Aug 2005 08:47:15 +0000 (08:47 +0000)]
- http_redirect(): proper check for ext/session; fix possible mem-leaks
Michael Wallner [Mon, 8 Aug 2005 07:23:27 +0000 (07:23 +0000)]
- fix php4 build
Michael Wallner [Wed, 3 Aug 2005 13:30:25 +0000 (13:30 +0000)]
- support for proprietary Unless-Modified-Since header (eq If-Unmodified-Since)
Michael Wallner [Wed, 3 Aug 2005 11:40:02 +0000 (11:40 +0000)]
- add HttpMessage class constants
Michael Wallner [Wed, 3 Aug 2005 08:50:39 +0000 (08:50 +0000)]
- fix builds and tests without libcurl linked in
Michael Wallner [Tue, 2 Aug 2005 17:23:28 +0000 (17:23 +0000)]
- missing include
Michael Wallner [Tue, 2 Aug 2005 17:20:36 +0000 (17:20 +0000)]
- fix PHP4 build
- nuke unused variables
Michael Wallner [Tue, 2 Aug 2005 08:25:38 +0000 (08:25 +0000)]
- fix PHP4 build (has no only_exceptions INI setting
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()
Michael Wallner [Mon, 1 Aug 2005 08:06:57 +0000 (08:06 +0000)]
- no run-tests.diff any more
Michael Wallner [Mon, 1 Aug 2005 08:04:01 +0000 (08:04 +0000)]
- release 0.11.0
Michael Wallner [Fri, 29 Jul 2005 21:04:54 +0000 (21:04 +0000)]
- avoid notices of new ext/date
Michael Wallner [Fri, 29 Jul 2005 20:56:11 +0000 (20:56 +0000)]
- avoid leak in RETURN_OBJECT
- fix HttpRequest_002.phpt
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
Michael Wallner [Fri, 29 Jul 2005 20:35:02 +0000 (20:35 +0000)]
- curl cannot use zend mm
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()
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?
Marcus Boerger [Fri, 29 Jul 2005 18:12:12 +0000 (18:12 +0000)]
- Fix property handling
- Fix tests
Marcus Boerger [Fri, 29 Jul 2005 17:26:08 +0000 (17:26 +0000)]
- No longer needed
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
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
Michael Wallner [Wed, 27 Jul 2005 19:59:38 +0000 (19:59 +0000)]
- ssl options were only setable rather than modifiable through setOptions
Marcus Boerger [Wed, 27 Jul 2005 19:33:38 +0000 (19:33 +0000)]
- Add missing .cvsignore file
Michael Wallner [Wed, 27 Jul 2005 16:38:07 +0000 (16:38 +0000)]
- fix option setting
Michael Wallner [Wed, 27 Jul 2005 16:33:15 +0000 (16:33 +0000)]
- avoid callbacks during shutdown
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()
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()
Michael Wallner [Tue, 26 Jul 2005 15:23:04 +0000 (15:23 +0000)]
- bump version
- reset dbg_user_cb on unsetOptions()
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)
Michael Wallner [Mon, 25 Jul 2005 16:10:11 +0000 (16:10 +0000)]
- release 0.10.1
Michael Wallner [Mon, 25 Jul 2005 16:01:42 +0000 (16:01 +0000)]
-fix installation through pear
Michael Wallner [Mon, 25 Jul 2005 12:51:39 +0000 (12:51 +0000)]
- release 0.10.0
- update docs
Michael Wallner [Mon, 25 Jul 2005 10:36:59 +0000 (10:36 +0000)]
- actally returns STATUS
Michael Wallner [Mon, 25 Jul 2005 10:10:07 +0000 (10:10 +0000)]
- I thought I already fixed them
Michael Wallner [Sun, 24 Jul 2005 18:23:37 +0000 (18:23 +0000)]
- another test
Michael Wallner [Sun, 24 Jul 2005 18:23:03 +0000 (18:23 +0000)]
- wrong file
Michael Wallner [Sun, 24 Jul 2005 18:22:12 +0000 (18:22 +0000)]
- add tests
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
Michael Wallner [Sun, 24 Jul 2005 10:30:45 +0000 (10:30 +0000)]
- fix some gcc warnings
Michael Wallner [Sun, 24 Jul 2005 08:51:41 +0000 (08:51 +0000)]
- API juggling
- make tests -which can- working with CLI and CGI
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!
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
Michael Wallner [Fri, 22 Jul 2005 20:34:46 +0000 (20:34 +0000)]
- add response tests
Michael Wallner [Fri, 22 Jul 2005 20:33:03 +0000 (20:33 +0000)]
- fix tests
Michael Wallner [Fri, 22 Jul 2005 16:01:57 +0000 (16:01 +0000)]
- update
Michael Wallner [Fri, 22 Jul 2005 15:50:29 +0000 (15:50 +0000)]
- docs
Michael Wallner [Fri, 22 Jul 2005 15:32:11 +0000 (15:32 +0000)]
hoppla
Michael Wallner [Fri, 22 Jul 2005 15:28:48 +0000 (15:28 +0000)]
- added capture mode to HttpResponse
Michael Wallner [Fri, 22 Jul 2005 14:30:18 +0000 (14:30 +0000)]
- fix leaking curl callbacks
Michael Wallner [Fri, 22 Jul 2005 13:48:22 +0000 (13:48 +0000)]
- clean previous response
Michael Wallner [Fri, 22 Jul 2005 12:39:12 +0000 (12:39 +0000)]
- example
Michael Wallner [Fri, 22 Jul 2005 09:47:43 +0000 (09:47 +0000)]
- proper handling of static members
Michael Wallner [Fri, 22 Jul 2005 09:45:56 +0000 (09:45 +0000)]
- return error if headers have been already sent
Michael Wallner [Fri, 22 Jul 2005 09:43:30 +0000 (09:43 +0000)]
- fix stream handling
Michael Wallner [Fri, 22 Jul 2005 09:26:11 +0000 (09:26 +0000)]
- (declare|update)_property_bool is also missing
Michael Wallner [Thu, 21 Jul 2005 18:28:23 +0000 (18:28 +0000)]
- byebye leaks
# seems odd? is odd!
Michael Wallner [Thu, 21 Jul 2005 16:18:09 +0000 (16:18 +0000)]
what the?
Michael Wallner [Thu, 21 Jul 2005 16:15:24 +0000 (16:15 +0000)]
- ws
Michael Wallner [Thu, 21 Jul 2005 16:06:15 +0000 (16:06 +0000)]
- set etag if not defined by user
- unerasable output buffers
Michael Wallner [Thu, 21 Jul 2005 16:04:35 +0000 (16:04 +0000)]
- add http_etag() for files
Michael Wallner [Thu, 21 Jul 2005 15:37:20 +0000 (15:37 +0000)]
- fix output buffering, default mime type
- get rid of unused macros
Michael Wallner [Thu, 21 Jul 2005 14:34:31 +0000 (14:34 +0000)]
- better some leaks than mem read errors
Michael Wallner [Thu, 21 Jul 2005 09:33:10 +0000 (09:33 +0000)]
- fix refelction info
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
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?
Michael Wallner [Tue, 19 Jul 2005 20:33:50 +0000 (20:33 +0000)]
- flush
Michael Wallner [Tue, 19 Jul 2005 19:13:24 +0000 (19:13 +0000)]
- reflection awareness for HttpResponse, HttpMessage and HttpRequestPool
Michael Wallner [Tue, 19 Jul 2005 16:30:27 +0000 (16:30 +0000)]
- typo
Michael Wallner [Tue, 19 Jul 2005 16:19:27 +0000 (16:19 +0000)]
- reorder includes, always include php.h first
Michael Wallner [Tue, 19 Jul 2005 15:57:44 +0000 (15:57 +0000)]
- added http_get_request_body()
Marcus Boerger [Sun, 17 Jul 2005 20:20:31 +0000 (20:20 +0000)]
- Add .cvsignore
Michael Wallner [Tue, 28 Jun 2005 16:25:47 +0000 (16:25 +0000)]
- raise default timeouts (were way too low for e.g. modem commections
Michael Wallner [Tue, 21 Jun 2005 08:21:43 +0000 (08:21 +0000)]
- missed that message.info.response.http_version should also be double
Michael Wallner [Fri, 17 Jun 2005 15:57:47 +0000 (15:57 +0000)]
- more default curl options
- new curlsession option
Michael Wallner [Fri, 17 Jun 2005 15:31:06 +0000 (15:31 +0000)]
- warning hunt
Michael Wallner [Wed, 15 Jun 2005 16:18:43 +0000 (16:18 +0000)]
- bump version
Michael Wallner [Wed, 15 Jun 2005 16:15:45 +0000 (16:15 +0000)]
- release 0.9.0
Michael Wallner [Wed, 15 Jun 2005 16:12:45 +0000 (16:12 +0000)]
- fix php4 build; path has changed
Michael Wallner [Wed, 15 Jun 2005 13:44:12 +0000 (13:44 +0000)]
- check responseMessage to be an object
Michael Wallner [Wed, 15 Jun 2005 13:12:20 +0000 (13:12 +0000)]
- update known issues
Michael Wallner [Wed, 15 Jun 2005 13:03:44 +0000 (13:03 +0000)]
- update docs
Michael Wallner [Wed, 15 Jun 2005 12:13:13 +0000 (12:13 +0000)]
- update
Michael Wallner [Wed, 15 Jun 2005 11:55:13 +0000 (11:55 +0000)]
- multiple send seems to work now without bigger problems
Michael Wallner [Wed, 15 Jun 2005 11:53:06 +0000 (11:53 +0000)]
- don't copy static strings
Michael Wallner [Wed, 15 Jun 2005 10:01:40 +0000 (10:01 +0000)]
- define TSRMLS_FETCH_FROM_CTX and TSRMLS_SET_CTX if not defined
Michael Wallner [Wed, 15 Jun 2005 10:01:13 +0000 (10:01 +0000)]
- missing include
Michael Wallner [Tue, 14 Jun 2005 19:21:22 +0000 (19:21 +0000)]
- update
Michael Wallner [Tue, 14 Jun 2005 19:17:55 +0000 (19:17 +0000)]
- remove const qualifier from url param in http_request_*()
- allow HttpRequestPools to be used only once