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

19 years ago- check for success
Michael Wallner [Mon, 11 Apr 2005 10:12:26 +0000 (10:12 +0000)] 
- check for success

19 years ago- http_parse_headers() now accepts a callback for handling of request/response lines
Michael Wallner [Mon, 11 Apr 2005 10:04:34 +0000 (10:04 +0000)] 
- http_parse_headers() now accepts a callback for handling of request/response lines
  (used in the http_message api)

19 years ago- a header may have an array of values
Michael Wallner [Mon, 11 Apr 2005 07:12:17 +0000 (07:12 +0000)] 
- a header may have an array of values

19 years ago- typo
Michael Wallner [Mon, 11 Apr 2005 06:53:39 +0000 (06:53 +0000)] 
- typo

19 years ago- simplify
Michael Wallner [Mon, 11 Apr 2005 06:52:08 +0000 (06:52 +0000)] 
- simplify

19 years ago- missing includes
Michael Wallner [Mon, 11 Apr 2005 06:51:55 +0000 (06:51 +0000)] 
- missing includes

19 years ago* more modular file structure
Michael Wallner [Sun, 10 Apr 2005 15:58:30 +0000 (15:58 +0000)] 
* more modular file structure
# one big file was convenient for vim but not for GUI editors

19 years ago- error workaround
Michael Wallner [Sun, 10 Apr 2005 15:56:35 +0000 (15:56 +0000)] 
- error workaround

19 years ago* update
Michael Wallner [Thu, 24 Mar 2005 17:03:40 +0000 (17:03 +0000)] 
* update

19 years ago* check initial length of arg_separator
Michael Wallner [Thu, 24 Mar 2005 16:57:50 +0000 (16:57 +0000)] 
* check initial length of arg_separator

19 years ago* satisfy gcc
Michael Wallner [Thu, 24 Mar 2005 16:50:10 +0000 (16:50 +0000)] 
* satisfy gcc

19 years ago* update version info
Michael Wallner [Thu, 24 Mar 2005 16:49:52 +0000 (16:49 +0000)] 
* update version info

19 years ago* fix compiler warning
Michael Wallner [Thu, 24 Mar 2005 16:49:39 +0000 (16:49 +0000)] 
* fix compiler warning

19 years ago* renamed HttpRequest::addHeader() to ::addHeaders() and addCookie() to ::addCookies()
Michael Wallner [Thu, 24 Mar 2005 16:32:48 +0000 (16:32 +0000)] 
* renamed HttpRequest::addHeader() to ::addHeaders() and addCookie() to ::addCookies()
* added ::(set|get|unset)SslOptions()
* added ::(get|unstet)(Headers|Cookies)()

19 years ago* added arg_sep param ot http_build_query()
Michael Wallner [Thu, 24 Mar 2005 16:30:56 +0000 (16:30 +0000)] 
* added arg_sep param ot http_build_query()

19 years ago* added http_parse_cookie()
Michael Wallner [Thu, 24 Mar 2005 16:30:12 +0000 (16:30 +0000)] 
* added http_parse_cookie()
* http_parse_headers() now makes an array out of headers with equal name

19 years ago- send full entity if range is "0-"
Michael Wallner [Wed, 23 Mar 2005 13:17:45 +0000 (13:17 +0000)] 
- send full entity if range is "0-"

19 years ago- added SSL options
Michael Wallner [Wed, 23 Mar 2005 13:12:01 +0000 (13:12 +0000)] 
- added SSL options

19 years ago- improved range checking
Michael Wallner [Wed, 23 Mar 2005 13:11:19 +0000 (13:11 +0000)] 
- improved range checking

19 years ago- class renamed from HTTPi to Http
Michael Wallner [Tue, 22 Mar 2005 19:20:18 +0000 (19:20 +0000)] 
- class renamed from HTTPi to Http
- added short note in README

19 years ago- use size_t and return 0 on fail
Michael Wallner [Tue, 22 Mar 2005 15:59:39 +0000 (15:59 +0000)] 
- use size_t and return 0 on fail

19 years ago- updating docs
Michael Wallner [Tue, 22 Mar 2005 14:41:53 +0000 (14:41 +0000)] 
- updating docs

19 years ago* that should do the trick
Michael Wallner [Tue, 22 Mar 2005 12:14:06 +0000 (12:14 +0000)] 
* that should do the trick

19 years ago* move include to top
Michael Wallner [Tue, 22 Mar 2005 11:45:24 +0000 (11:45 +0000)] 
* move include to top

19 years ago* we're not in ext on the snaps box
Michael Wallner [Mon, 21 Mar 2005 20:23:51 +0000 (20:23 +0000)] 
* we're not in ext on the snaps box

19 years ago* try the direct way
Michael Wallner [Mon, 21 Mar 2005 19:54:14 +0000 (19:54 +0000)] 
* try the direct way

19 years ago* fixing concept of phpstr dtor/free
Michael Wallner [Mon, 21 Mar 2005 19:33:38 +0000 (19:33 +0000)] 
* fixing concept of phpstr dtor/free
# so, how to typedef a struct for the php4 build :-?

19 years ago* use phpstr
Michael Wallner [Sun, 20 Mar 2005 17:36:16 +0000 (17:36 +0000)] 
* use phpstr

19 years ago* renamed classes
Michael Wallner [Sun, 20 Mar 2005 17:35:40 +0000 (17:35 +0000)] 
* renamed classes

19 years ago*build files
Michael Wallner [Sun, 20 Mar 2005 17:35:15 +0000 (17:35 +0000)] 
*build files

19 years ago* add phpstr
Michael Wallner [Sun, 20 Mar 2005 17:31:41 +0000 (17:31 +0000)] 
* add phpstr

19 years ago* signature fixes
Michael Wallner [Sun, 20 Mar 2005 17:30:56 +0000 (17:30 +0000)] 
* signature fixes
* better integration of php_url_encode_hash_ex()

19 years ago* typo
Michael Wallner [Sun, 20 Mar 2005 17:27:21 +0000 (17:27 +0000)] 
* typo

19 years ago* rename classes according CS
Michael Wallner [Sun, 20 Mar 2005 17:24:49 +0000 (17:24 +0000)] 
* rename classes according CS

19 years ago* allow curl use zends memory functions (just to check if everything goes right)
Michael Wallner [Fri, 18 Mar 2005 17:01:51 +0000 (17:01 +0000)] 
* allow curl use zends memory functions (just to check if everything goes right)

19 years ago* curl_easy_strerror() is available as of 7.12.0
Michael Wallner [Fri, 18 Mar 2005 13:16:01 +0000 (13:16 +0000)] 
* curl_easy_strerror() is available as of 7.12.0

19 years ago* fix memleak
Michael Wallner [Fri, 18 Mar 2005 13:05:23 +0000 (13:05 +0000)] 
* fix memleak

19 years ago* improve http_send() and http_negotiate_q() code
Michael Wallner [Fri, 18 Mar 2005 12:50:24 +0000 (12:50 +0000)] 
* improve http_send() and http_negotiate_q() code

19 years ago* zval_add_ref() expects zval **
Michael Wallner [Fri, 18 Mar 2005 10:40:04 +0000 (10:40 +0000)] 
* zval_add_ref() expects zval **

19 years ago* added HTTPi_Request::unsetOptions(), HTTPi_Request::addHeader(), HTTPi_Request...
Michael Wallner [Thu, 17 Mar 2005 14:45:41 +0000 (14:45 +0000)] 
* added HTTPi_Request::unsetOptions(), HTTPi_Request::addHeader(), HTTPi_Request::addCookie()

19 years ago* fixed/improved ranges support
Michael Wallner [Tue, 15 Mar 2005 20:07:43 +0000 (20:07 +0000)] 
* fixed/improved ranges support

19 years ago* dep files
Michael Wallner [Tue, 15 Mar 2005 19:54:25 +0000 (19:54 +0000)] 
* dep files

19 years ago* renaming tests
Michael Wallner [Tue, 15 Mar 2005 19:53:52 +0000 (19:53 +0000)] 
* renaming tests
* adding some tests

19 years ago* nicer MINFO
Michael Wallner [Thu, 10 Mar 2005 15:46:12 +0000 (15:46 +0000)] 
* nicer MINFO

19 years ago* ditch warnings
Michael Wallner [Thu, 10 Mar 2005 15:45:46 +0000 (15:45 +0000)] 
* ditch warnings

19 years ago* attempt to be smarter than windows ;)
Michael Wallner [Thu, 10 Mar 2005 12:41:45 +0000 (12:41 +0000)] 
* attempt to be smarter than windows ;)
# seems that the regarding code in curl/multi.h that should prevent winsock(2) troubles does not take effect as it is intended

19 years ago* fix layout
Michael Wallner [Wed, 9 Mar 2005 18:42:27 +0000 (18:42 +0000)] 
* fix layout

19 years ago* pre-include winsock2.h
Michael Wallner [Wed, 9 Mar 2005 16:23:12 +0000 (16:23 +0000)] 
* pre-include winsock2.h

19 years ago* complete - commented - webdav request methods
Michael Wallner [Wed, 9 Mar 2005 14:23:11 +0000 (14:23 +0000)] 
* complete - commented - webdav request methods