Michael Wallner [Thu, 1 Sep 2005 07:39:27 +0000 (07:39 +0000)]
- fix static property access (sizeof() vs. sizeof()-1)
Michael Wallner [Thu, 1 Sep 2005 07:27:48 +0000 (07:27 +0000)]
- fix capture mode (again)
Michael Wallner [Thu, 1 Sep 2005 07:09:10 +0000 (07:09 +0000)]
- leftovers
Michael Wallner [Thu, 1 Sep 2005 07:06:28 +0000 (07:06 +0000)]
- introduce a force flag for no_cache
Michael Wallner [Thu, 1 Sep 2005 07:05:58 +0000 (07:05 +0000)]
- bump version
- ditch unused global
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)
Michael Wallner [Fri, 26 Aug 2005 11:24:14 +0000 (11:24 +0000)]
- release
Michael Wallner [Fri, 26 Aug 2005 11:13:15 +0000 (11:13 +0000)]
- update docs
Michael Wallner [Fri, 26 Aug 2005 09:52:50 +0000 (09:52 +0000)]
- made low-lewel request pool object api more intuitive
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
Michael Wallner [Fri, 26 Aug 2005 08:19:26 +0000 (08:19 +0000)]
- preventively set Accept-Encoding
Michael Wallner [Fri, 26 Aug 2005 07:31:06 +0000 (07:31 +0000)]
-fix macro parameter passing in HTTP_LOG_WRITE
Michael Wallner [Fri, 26 Aug 2005 07:19:23 +0000 (07:19 +0000)]
-typo
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
Michael Wallner [Thu, 25 Aug 2005 18:28:19 +0000 (18:28 +0000)]
- fix win32 DL build
Michael Wallner [Thu, 25 Aug 2005 17:53:49 +0000 (17:53 +0000)]
- update
Michael Wallner [Thu, 25 Aug 2005 17:53:34 +0000 (17:53 +0000)]
- fix etag generation without libmhash
Michael Wallner [Thu, 25 Aug 2005 14:28:23 +0000 (14:28 +0000)]
- fix php4 build
Michael Wallner [Thu, 25 Aug 2005 13:24:52 +0000 (13:24 +0000)]
- fix initialization of globals
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
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
Michael Wallner [Thu, 25 Aug 2005 11:51:39 +0000 (11:51 +0000)]
- add etag generation through mhash
- fix several memleaks
Michael Wallner [Thu, 25 Aug 2005 09:18:32 +0000 (09:18 +0000)]
- don't destroy headers in http_message_tostruct_recursive()
Michael Wallner [Wed, 24 Aug 2005 15:59:44 +0000 (15:59 +0000)]
- simplify request/response handling
- extend according test
Michael Wallner [Wed, 24 Aug 2005 13:16:54 +0000 (13:16 +0000)]
- fix php4 build
Michael Wallner [Wed, 24 Aug 2005 13:05:00 +0000 (13:05 +0000)]
- single LF aware http_chunked_decode()
Michael Wallner [Wed, 24 Aug 2005 10:55:57 +0000 (10:55 +0000)]
- typo
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()
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()
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...
Michael Wallner [Fri, 19 Aug 2005 15:26:16 +0000 (15:26 +0000)]
- test for bug #34191
Michael Wallner [Fri, 19 Aug 2005 15:18:59 +0000 (15:18 +0000)]
- typo
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()
Michael Wallner [Fri, 19 Aug 2005 14:56:55 +0000 (14:56 +0000)]
- content-length header awareness
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
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
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