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
Michael Wallner [Tue, 14 Jun 2005 18:22:38 +0000 (18:22 +0000)]
- fixed mem leak
- update known issues
- memory corruption of urls still there...
Michael Wallner [Tue, 14 Jun 2005 17:39:17 +0000 (17:39 +0000)]
- fix HttpRequest::getResponseMessage()
Michael Wallner [Tue, 14 Jun 2005 16:36:27 +0000 (16:36 +0000)]
- no need to allocate two contexts for the same payload
Michael Wallner [Tue, 14 Jun 2005 16:03:10 +0000 (16:03 +0000)]
- free handles
Michael Wallner [Tue, 14 Jun 2005 15:40:39 +0000 (15:40 +0000)]
- enable $pool = new HttpRequestPool(HttpRequest r, ...);
Michael Wallner [Tue, 14 Jun 2005 14:21:23 +0000 (14:21 +0000)]
- fix request pool issues
# hopefully -- need to test on linux yet
Michael Wallner [Tue, 14 Jun 2005 11:01:04 +0000 (11:01 +0000)]
- ZTS needs ZEND_INIT_MODULE_GLOBALS
Michael Wallner [Tue, 14 Jun 2005 10:57:36 +0000 (10:57 +0000)]
- senseless statement
Michael Wallner [Tue, 14 Jun 2005 10:44:35 +0000 (10:44 +0000)]
- add known issues file
Michael Wallner [Tue, 14 Jun 2005 10:44:06 +0000 (10:44 +0000)]
- request pools for ZE2 only yet
Michael Wallner [Tue, 14 Jun 2005 10:39:22 +0000 (10:39 +0000)]
- curl_multi_add_handle may return CURLM_CALL_MULTI_PERFORM (at least it does in v7.11.3 on debian)
Michael Wallner [Tue, 14 Jun 2005 10:37:33 +0000 (10:37 +0000)]
- needs to be a pointer
Michael Wallner [Mon, 13 Jun 2005 17:02:12 +0000 (17:02 +0000)]
- yet better a memleak than a segfault
Michael Wallner [Mon, 13 Jun 2005 16:48:05 +0000 (16:48 +0000)]
- fix memleak
Michael Wallner [Mon, 13 Jun 2005 16:38:34 +0000 (16:38 +0000)]
- hossa - missed to clean the llist at rshutdown
Michael Wallner [Mon, 13 Jun 2005 16:35:14 +0000 (16:35 +0000)]
- fix mem-leaks with http_curl_callback_ctx
- need to sort out curl_multi_strerror
Michael Wallner [Mon, 13 Jun 2005 15:25:06 +0000 (15:25 +0000)]
- add PHP_ATTRIBUTE_FORMAT
Michael Wallner [Mon, 13 Jun 2005 15:24:45 +0000 (15:24 +0000)]
- sanitize retreival of response info
Michael Wallner [Mon, 13 Jun 2005 15:22:47 +0000 (15:22 +0000)]
- request pool test
Michael Wallner [Mon, 13 Jun 2005 15:22:16 +0000 (15:22 +0000)]
- test response code of response message
Michael Wallner [Mon, 13 Jun 2005 09:35:23 +0000 (09:35 +0000)]
- typo
Michael Wallner [Sun, 12 Jun 2005 15:48:13 +0000 (15:48 +0000)]
- typos & allow passing NULL as curl handle in http_request() again'
Sebastian Bergmann [Sat, 11 Jun 2005 11:47:21 +0000 (11:47 +0000)]
Fugbx typo.
Michael Wallner [Fri, 10 Jun 2005 15:04:13 +0000 (15:04 +0000)]
- remove hackish UPLOADDATA code
- fix UPLOADFILE handling
Michael Wallner [Fri, 10 Jun 2005 13:35:11 +0000 (13:35 +0000)]
- fix PHP_FUNCTION(http_split_response)
Michael Wallner [Fri, 10 Jun 2005 12:54:44 +0000 (12:54 +0000)]
- ditch redundant http_split_response
- missing include
- old libcurl on snaps revealed a "left-over"
Michael Wallner [Thu, 9 Jun 2005 15:23:33 +0000 (15:23 +0000)]
- move http_parse_cookie() code to an odd http_parse_key_list() function
- name basic auth function basic
- start auth digest implementation
# if anyone wants to get his hands dirty... I've already lost my head
Michael Wallner [Wed, 8 Jun 2005 11:14:14 +0000 (11:14 +0000)]
- make the asynchronous behaviour of curl_multi available by socketSend(), socketSelect() and socketRead() methods of HttpRequestPool
Michael Wallner [Wed, 8 Jun 2005 10:40:24 +0000 (10:40 +0000)]
- move request_poolobject_dtor to request_pool_object_detach_all() (public API)
- add HttpRequestPool::reset()
- add debugging code to request_pool API
Michael Wallner [Wed, 8 Jun 2005 10:01:09 +0000 (10:01 +0000)]
- proper request pool cleanup
Michael Wallner [Tue, 7 Jun 2005 19:16:34 +0000 (19:16 +0000)]
- crunch ARG_INFO
- move request dependend stuff from http.c to http_request_api.c
- provide a llist global for curl_slists (needed for custom headers in requests)
- make http_curl_copystr() http_request_data_copy() accepting different arguments
- don't copy request_uri twice
Michael Wallner [Tue, 7 Jun 2005 16:10:15 +0000 (16:10 +0000)]
- now I know what to use TSRMLS_SET_CTX() and TSRMLS_FETCH_FROM_CTX() for...
Michael Wallner [Tue, 7 Jun 2005 14:25:15 +0000 (14:25 +0000)]
- flush version
Michael Wallner [Tue, 7 Jun 2005 11:27:39 +0000 (11:27 +0000)]
- draft: implement curl_multi as HttpRequestPool
Michael Wallner [Mon, 6 Jun 2005 11:49:10 +0000 (11:49 +0000)]
- release 0.8.0
Michael Wallner [Mon, 6 Jun 2005 11:48:46 +0000 (11:48 +0000)]
- update docs
Michael Wallner [Mon, 6 Jun 2005 11:32:32 +0000 (11:32 +0000)]
- move that at the end for PHP4
Michael Wallner [Mon, 6 Jun 2005 11:31:38 +0000 (11:31 +0000)]
- add http_match_request_header()
Michael Wallner [Fri, 3 Jun 2005 09:18:55 +0000 (09:18 +0000)]
- bugs
Michael Wallner [Tue, 31 May 2005 19:49:18 +0000 (19:49 +0000)]
- typos
Michael Wallner [Tue, 31 May 2005 12:29:27 +0000 (12:29 +0000)]
- prepare 0.8.0
Michael Wallner [Tue, 31 May 2005 12:29:14 +0000 (12:29 +0000)]
- add put methods for HttpRequest
Michael Wallner [Tue, 31 May 2005 12:28:56 +0000 (12:28 +0000)]
- ws
Michael Wallner [Tue, 31 May 2005 12:27:16 +0000 (12:27 +0000)]
- improve http_chunked_decode once more
Michael Wallner [Mon, 30 May 2005 15:26:35 +0000 (15:26 +0000)]
- add clean_ob parameter to HttpResponse::send()
Michael Wallner [Mon, 30 May 2005 12:35:17 +0000 (12:35 +0000)]
- need module number for registering constants
Michael Wallner [Mon, 30 May 2005 12:08:09 +0000 (12:08 +0000)]
- might want to use HTTP_STATIC_ME_ALIAS() for other classes too
Michael Wallner [Mon, 30 May 2005 12:06:57 +0000 (12:06 +0000)]
- typo
Michael Wallner [Mon, 30 May 2005 12:06:47 +0000 (12:06 +0000)]
- define zend_(upate|declare)_property_double only for PHP-5.0
Michael Wallner [Mon, 30 May 2005 12:05:51 +0000 (12:05 +0000)]
- dynamically register request method constants