m6w6/ext-http
19 years ago- typo
Michael Wallner [Mon, 13 Jun 2005 09:35:23 +0000 (09:35 +0000)] 
- typo

19 years ago- typos & allow passing NULL as curl handle in http_request() again'
Michael Wallner [Sun, 12 Jun 2005 15:48:13 +0000 (15:48 +0000)] 
- typos & allow passing NULL as curl handle in http_request() again'

19 years agoFugbx typo.
Sebastian Bergmann [Sat, 11 Jun 2005 11:47:21 +0000 (11:47 +0000)] 
Fugbx typo.

19 years ago- remove hackish UPLOADDATA code
Michael Wallner [Fri, 10 Jun 2005 15:04:13 +0000 (15:04 +0000)] 
- remove hackish UPLOADDATA code
- fix UPLOADFILE handling

19 years ago- fix PHP_FUNCTION(http_split_response)
Michael Wallner [Fri, 10 Jun 2005 13:35:11 +0000 (13:35 +0000)] 
- fix PHP_FUNCTION(http_split_response)

19 years ago- ditch redundant 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"

19 years ago- move http_parse_cookie() code to an odd http_parse_key_list() function
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

19 years ago- make the asynchronous behaviour of curl_multi available by socketSend(), socketSele...
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

19 years ago- move request_poolobject_dtor to request_pool_object_detach_all() (public API)
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

19 years ago- proper request pool cleanup
Michael Wallner [Wed, 8 Jun 2005 10:01:09 +0000 (10:01 +0000)] 
- proper request pool cleanup

19 years ago- crunch ARG_INFO
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

19 years ago- now I know what to use TSRMLS_SET_CTX() and TSRMLS_FETCH_FROM_CTX() for...
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...

19 years ago- flush version
Michael Wallner [Tue, 7 Jun 2005 14:25:15 +0000 (14:25 +0000)] 
- flush version

19 years ago- draft: implement curl_multi as HttpRequestPool
Michael Wallner [Tue, 7 Jun 2005 11:27:39 +0000 (11:27 +0000)] 
- draft: implement curl_multi as HttpRequestPool

19 years ago- release 0.8.0
Michael Wallner [Mon, 6 Jun 2005 11:49:10 +0000 (11:49 +0000)] 
- release 0.8.0

19 years ago- update docs
Michael Wallner [Mon, 6 Jun 2005 11:48:46 +0000 (11:48 +0000)] 
- update docs

19 years ago- move that at the end for PHP4
Michael Wallner [Mon, 6 Jun 2005 11:32:32 +0000 (11:32 +0000)] 
- move that at the end for PHP4

19 years ago- add http_match_request_header()
Michael Wallner [Mon, 6 Jun 2005 11:31:38 +0000 (11:31 +0000)] 
- add http_match_request_header()

19 years ago- bugs
Michael Wallner [Fri, 3 Jun 2005 09:18:55 +0000 (09:18 +0000)] 
- bugs

19 years ago- typos
Michael Wallner [Tue, 31 May 2005 19:49:18 +0000 (19:49 +0000)] 
- typos

19 years ago- prepare 0.8.0
Michael Wallner [Tue, 31 May 2005 12:29:27 +0000 (12:29 +0000)] 
- prepare 0.8.0

19 years ago- add put methods for HttpRequest
Michael Wallner [Tue, 31 May 2005 12:29:14 +0000 (12:29 +0000)] 
- add put methods for HttpRequest

19 years ago- ws
Michael Wallner [Tue, 31 May 2005 12:28:56 +0000 (12:28 +0000)] 
- ws

19 years ago- improve http_chunked_decode once more
Michael Wallner [Tue, 31 May 2005 12:27:16 +0000 (12:27 +0000)] 
- improve http_chunked_decode once more

19 years ago- add clean_ob parameter to HttpResponse::send()
Michael Wallner [Mon, 30 May 2005 15:26:35 +0000 (15:26 +0000)] 
- add clean_ob parameter to HttpResponse::send()

19 years ago- need module number for registering constants
Michael Wallner [Mon, 30 May 2005 12:35:17 +0000 (12:35 +0000)] 
- need module number for registering constants

19 years ago- might want to use HTTP_STATIC_ME_ALIAS() for other classes too
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

19 years ago- typo
Michael Wallner [Mon, 30 May 2005 12:06:57 +0000 (12:06 +0000)] 
- typo

19 years ago- define zend_(upate|declare)_property_double only for PHP-5.0
Michael Wallner [Mon, 30 May 2005 12:06:47 +0000 (12:06 +0000)] 
- define zend_(upate|declare)_property_double only for PHP-5.0

19 years ago- dynamically register request method constants
Michael Wallner [Mon, 30 May 2005 12:05:51 +0000 (12:05 +0000)] 
- dynamically register request method constants

19 years ago- docs
Michael Wallner [Mon, 30 May 2005 12:05:07 +0000 (12:05 +0000)] 
- docs

19 years ago- update docs
Michael Wallner [Wed, 25 May 2005 17:04:34 +0000 (17:04 +0000)] 
- update docs

19 years ago- fix compiler warnings (unused vars & missing includes)
Michael Wallner [Wed, 25 May 2005 16:45:00 +0000 (16:45 +0000)] 
- fix compiler warnings (unused vars & missing includes)

19 years ago- ws
Michael Wallner [Wed, 25 May 2005 16:36:54 +0000 (16:36 +0000)] 
- ws

19 years ago- typo
Michael Wallner [Wed, 25 May 2005 16:25:18 +0000 (16:25 +0000)] 
- typo

19 years ago- update Makefile fragments
Michael Wallner [Sun, 22 May 2005 18:01:18 +0000 (18:01 +0000)] 
- update Makefile fragments

19 years ago- fix type
Michael Wallner [Sun, 22 May 2005 17:59:42 +0000 (17:59 +0000)] 
- fix type
- update config.m4

19 years ago* flush *
Michael Wallner [Sun, 22 May 2005 17:24:15 +0000 (17:24 +0000)] 
* flush *
- added PHP_FUNCTIONS:
  http_throttle, http_request_method_(register|unregister|exists|name)
- added PHP_METHODS:
  HttpResponse::(set|get)ThrottleDelay, HttpResponse::(set|get)SendBuffersize
- http_globals cleanup
- added request methods to MINFO
- register error code constants
- added provisory http_message_dup() for the HttpMessage clone handler
- added some missing functions in missing.c
# gcc fixes follow

19 years ago- improved put support
Michael Wallner [Fri, 6 May 2005 21:07:57 +0000 (21:07 +0000)] 
- improved put support
# what the hell is wrong with this crap of an editor!

19 years agoI, moron
Michael Wallner [Fri, 6 May 2005 17:39:52 +0000 (17:39 +0000)] 
I, moron

19 years ago- missing STATUS
Michael Wallner [Fri, 6 May 2005 16:48:49 +0000 (16:48 +0000)] 
- missing STATUS

19 years agowtf?
Michael Wallner [Fri, 6 May 2005 16:39:30 +0000 (16:39 +0000)] 
wtf?

19 years ago- vastly simplified curl api and renamed it to request api (not completely finished)
Michael Wallner [Fri, 6 May 2005 16:37:53 +0000 (16:37 +0000)] 
- vastly simplified curl api and renamed it to request api (not completely finished)
# this should be the last major change

19 years ago- huh?
Michael Wallner [Fri, 6 May 2005 16:37:18 +0000 (16:37 +0000)] 
- huh?

19 years agoMakefile fragment installing headers
Michael Wallner [Tue, 3 May 2005 14:48:33 +0000 (14:48 +0000)] 
Makefile fragment installing headers

19 years ago- fix decl
Michael Wallner [Tue, 3 May 2005 14:26:41 +0000 (14:26 +0000)] 
- fix decl

19 years ago- not static declared static
Michael Wallner [Tue, 3 May 2005 14:20:55 +0000 (14:20 +0000)] 
- not static declared static

19 years ago- update
Michael Wallner [Tue, 3 May 2005 11:00:18 +0000 (11:00 +0000)] 
- update

19 years ago- remove ambigious OPT
Michael Wallner [Tue, 3 May 2005 10:21:08 +0000 (10:21 +0000)] 
- remove ambigious OPT

19 years ago- improve http_chunked_decode
Michael Wallner [Tue, 3 May 2005 10:20:42 +0000 (10:20 +0000)] 
- improve http_chunked_decode
- don't fail if the string is apperently not encoded

19 years ago- unroll loop
Michael Wallner [Tue, 3 May 2005 09:35:36 +0000 (09:35 +0000)] 
- unroll loop
# if there's a smarter way I'd appreciate a hint :)

19 years ago- add debug callback
Michael Wallner [Tue, 3 May 2005 08:57:30 +0000 (08:57 +0000)] 
- add debug callback
- name callback funcs "callback"

19 years ago- add progress callback
Michael Wallner [Tue, 3 May 2005 08:42:49 +0000 (08:42 +0000)] 
- add progress callback

19 years ago- remove dbg code
Michael Wallner [Tue, 3 May 2005 07:29:09 +0000 (07:29 +0000)] 
- remove dbg code
- typo

19 years ago- update property hash values
Michael Wallner [Tue, 3 May 2005 07:28:42 +0000 (07:28 +0000)] 
- update property hash values

19 years ago- simple message test
Michael Wallner [Tue, 3 May 2005 07:28:12 +0000 (07:28 +0000)] 
- simple message test

19 years ago- serialize HttpMessage in the same order as deserialized
Michael Wallner [Tue, 3 May 2005 07:22:32 +0000 (07:22 +0000)] 
- serialize HttpMessage in the same order as deserialized
- add body part only if there's one
- replace transfer encoding header with content-length header after decoding

19 years ago- add second host header
Michael Wallner [Tue, 3 May 2005 06:38:37 +0000 (06:38 +0000)] 
- add second host header

19 years ago- we need the trailing NUL or CRLF to catch the last header
Michael Wallner [Tue, 3 May 2005 06:35:30 +0000 (06:35 +0000)] 
- we need the trailing NUL or CRLF to catch the last header

19 years ago- run-tests diff supporting env vars
Michael Wallner [Tue, 3 May 2005 06:14:40 +0000 (06:14 +0000)] 
- run-tests diff supporting env vars

19 years agoMinor fix to avoid future mysterious failed test headaches. I don't really
Rasmus Lerdorf [Mon, 2 May 2005 21:49:08 +0000 (21:49 +0000)] 
Minor fix to avoid future mysterious failed test headaches.  I don't really
understand the point of this test in the first place, but I figured I
should fix the obvious bug.

19 years agoflush
Michael Wallner [Mon, 2 May 2005 20:58:00 +0000 (20:58 +0000)] 
flush

19 years ago- yay, I guess this needs to be done by hand...
Michael Wallner [Fri, 29 Apr 2005 17:19:53 +0000 (17:19 +0000)] 
- yay, I guess this needs to be done by hand...

19 years ago- ditch HttpMessage::__construct() and ::setRaw
Michael Wallner [Wed, 27 Apr 2005 15:25:52 +0000 (15:25 +0000)] 
- ditch HttpMessage::__construct() and ::setRaw
- make HttpMessage::$nestedMessage public

19 years ago- separated http_check_method() from http_check_allowed_methods()
Michael Wallner [Wed, 27 Apr 2005 13:37:05 +0000 (13:37 +0000)] 
- separated http_check_method() from http_check_allowed_methods()
- message parser now recognizes nested messages if there's a content length header or chunked transfer encoding
- added (still crashing) HttpMessage::getMessage()
- some other fixes & adjustments

19 years ago- unify script termination
Michael Wallner [Tue, 26 Apr 2005 19:48:03 +0000 (19:48 +0000)] 
- unify script termination
- don't dllexport http_cache_exit()
- move know request methods over to http_std_defs
- introduce http.cache_log

19 years ago- missing proto keyword
Michael Wallner [Tue, 26 Apr 2005 16:03:14 +0000 (16:03 +0000)] 
- missing proto keyword

19 years ago- http_ob_etaghandler() belongs to the cache_api now
Michael Wallner [Tue, 26 Apr 2005 15:41:37 +0000 (15:41 +0000)] 
- http_ob_etaghandler() belongs to the cache_api now

19 years ago- unified cache_api function names
Michael Wallner [Tue, 26 Apr 2005 15:37:49 +0000 (15:37 +0000)] 
- unified cache_api function names
- moved http_ob_etaghandler() to cache_api
- don't pretend to be smarter than the developer at etag caching; removed http_start_ob_buffer, etc;
- renamed ob_httpetaghandler to ob_etaghandler

19 years ago- memleaks & error messages
Michael Wallner [Tue, 26 Apr 2005 12:17:10 +0000 (12:17 +0000)] 
- memleaks & error messages

19 years ago- typo & ws
Michael Wallner [Tue, 26 Apr 2005 11:14:08 +0000 (11:14 +0000)] 
- typo & ws

19 years ago- added missing methods (except setBody) for HttpMessage
Michael Wallner [Tue, 26 Apr 2005 11:11:33 +0000 (11:11 +0000)] 
- added missing methods (except setBody) for HttpMessage

19 years ago- cosmetics
Michael Wallner [Wed, 13 Apr 2005 17:29:50 +0000 (17:29 +0000)] 
- cosmetics

19 years ago- no global curlbuf anymore
Michael Wallner [Wed, 13 Apr 2005 17:29:24 +0000 (17:29 +0000)] 
- no global curlbuf anymore

19 years ago- E_THROW for PHP4 too
Michael Wallner [Wed, 13 Apr 2005 17:29:04 +0000 (17:29 +0000)] 
- E_THROW for PHP4 too
- dont return on wrong param count

19 years ago* return length directly in curl cb
Michael Wallner [Wed, 13 Apr 2005 15:15:46 +0000 (15:15 +0000)] 
* return length directly in curl cb

19 years ago* return modification length
Michael Wallner [Wed, 13 Apr 2005 15:14:35 +0000 (15:14 +0000)] 
* return modification length

19 years ago- fix & enhance option setting
Michael Wallner [Wed, 13 Apr 2005 15:14:07 +0000 (15:14 +0000)] 
- fix & enhance option setting
 *walk through the options even if the options array is empty, so that some default options will be set
 *always convert options

19 years ago- use custom error function
Michael Wallner [Wed, 13 Apr 2005 13:37:09 +0000 (13:37 +0000)] 
- use custom error function
- smarter response handling for http_request using http_message

19 years ago- error constants
Michael Wallner [Wed, 13 Apr 2005 13:35:57 +0000 (13:35 +0000)] 
- error constants

19 years ago- added custom error function which is able to throw exceptions
Michael Wallner [Wed, 13 Apr 2005 13:35:46 +0000 (13:35 +0000)] 
- added custom error function which is able to throw exceptions

19 years ago- smarter check for allowed methods
Michael Wallner [Wed, 13 Apr 2005 13:35:20 +0000 (13:35 +0000)] 
- smarter check for allowed methods

19 years ago- removed unused stuff
Michael Wallner [Wed, 13 Apr 2005 13:34:34 +0000 (13:34 +0000)] 
- removed unused stuff

19 years ago* typo
Michael Wallner [Wed, 13 Apr 2005 08:03:20 +0000 (08:03 +0000)] 
* typo

19 years ago- no empty_string anymore
Michael Wallner [Tue, 12 Apr 2005 20:29:08 +0000 (20:29 +0000)] 
- no empty_string anymore

19 years ago- renamed response.status to response.code
Michael Wallner [Tue, 12 Apr 2005 20:17:35 +0000 (20:17 +0000)] 
- renamed response.status to response.code
- added HttpMessage::get* methods

19 years ago- renamed response.status to response.code
Michael Wallner [Tue, 12 Apr 2005 20:16:54 +0000 (20:16 +0000)] 
- renamed response.status to response.code

19 years ago- missing include
Michael Wallner [Tue, 12 Apr 2005 17:51:43 +0000 (17:51 +0000)] 
- missing include
- unused var

19 years ago- use exceptions in constructors and HttpRequest::send()
Michael Wallner [Tue, 12 Apr 2005 17:45:34 +0000 (17:45 +0000)] 
- use exceptions in constructors and HttpRequest::send()

19 years ago- update
Michael Wallner [Tue, 12 Apr 2005 16:05:25 +0000 (16:05 +0000)] 
- update

19 years ago- even better use a object struct member for that crap
Michael Wallner [Tue, 12 Apr 2005 15:36:00 +0000 (15:36 +0000)] 
- even better use a object struct member for that crap

19 years ago- add HttpMessage::setRaw(), ::getBody(), ::getHeaders()
Michael Wallner [Tue, 12 Apr 2005 15:28:44 +0000 (15:28 +0000)] 
- add HttpMessage::setRaw(), ::getBody(), ::getHeaders()
- using a global tmp zval for the property avoids memleaks

19 years ago- missing inluce
Michael Wallner [Tue, 12 Apr 2005 14:57:55 +0000 (14:57 +0000)] 
- missing inluce
- old macro

19 years ago- include object headers only for ZE2
Michael Wallner [Tue, 12 Apr 2005 14:44:48 +0000 (14:44 +0000)] 
- include object headers only for ZE2

19 years ago- update
Michael Wallner [Tue, 12 Apr 2005 14:06:43 +0000 (14:06 +0000)] 
- update

19 years ago- split object code into separate files
Michael Wallner [Tue, 12 Apr 2005 13:58:59 +0000 (13:58 +0000)] 
- split object code into separate files

19 years ago- undef debug stmts
Michael Wallner [Tue, 12 Apr 2005 11:29:32 +0000 (11:29 +0000)] 
- undef debug stmts
- clean obj prop hash on beginning ...

19 years ago- preparations for HttpMessage
Michael Wallner [Tue, 12 Apr 2005 11:19:47 +0000 (11:19 +0000)] 
- preparations for HttpMessage
# <rant>object/property handlers suck big rocks</rant>

19 years ago* "Status" now is "Response Status"
Michael Wallner [Mon, 11 Apr 2005 10:33:00 +0000 (10:33 +0000)] 
* "Status" now is "Response Status"
# need to switch to http_message api

19 years agooops, typos causing mem-corruption
Michael Wallner [Mon, 11 Apr 2005 10:26:58 +0000 (10:26 +0000)] 
oops, typos causing mem-corruption