m6w6/ext-http
15 years ago- ditch TSRMLS_FETCH() occurences
Michael Wallner [Wed, 7 Sep 2005 18:45:35 +0000 (18:45 +0000)] 
- ditch TSRMLS_FETCH() occurences

15 years ago- improve logging format
Michael Wallner [Wed, 7 Sep 2005 16:58:30 +0000 (16:58 +0000)] 
- improve logging format
- add logging tests

15 years ago- ws
Michael Wallner [Wed, 7 Sep 2005 16:00:51 +0000 (16:00 +0000)] 
- ws

15 years ago- typo
Michael Wallner [Wed, 7 Sep 2005 15:59:16 +0000 (15:59 +0000)] 
- typo

15 years ago- fix PHP4 build in http_error_ex()
Michael Wallner [Wed, 7 Sep 2005 15:56:03 +0000 (15:56 +0000)] 
- fix PHP4 build in http_error_ex()
- improve/fix debug builds on win32
- no specialities need for libmagic on win32 any more

15 years ago- improve libmagic support
Michael Wallner [Wed, 7 Sep 2005 10:17:56 +0000 (10:17 +0000)] 
- improve libmagic support

15 years ago- rephrase and add link to libmagic build files for win32
Michael Wallner [Tue, 6 Sep 2005 12:10:23 +0000 (12:10 +0000)] 
- rephrase and add link to libmagic build files for win32

15 years ago- only addref if we remember the stream
Michael Wallner [Tue, 6 Sep 2005 12:01:42 +0000 (12:01 +0000)] 
- only addref if we remember the stream

15 years ago- add HttpResponse::guessContentType() through libmagic
Michael Wallner [Tue, 6 Sep 2005 11:49:17 +0000 (11:49 +0000)] 
- add HttpResponse::guessContentType() through libmagic

15 years ago- MHASH_APINO is a number
Michael Wallner [Tue, 6 Sep 2005 11:48:31 +0000 (11:48 +0000)] 
- MHASH_APINO is a number

15 years ago- all those macros may conflict
Michael Wallner [Tue, 6 Sep 2005 11:47:57 +0000 (11:47 +0000)] 
- all those macros may conflict

15 years ago- even simpler MINFO
Michael Wallner [Mon, 5 Sep 2005 15:29:45 +0000 (15:29 +0000)] 
- even simpler MINFO

15 years ago- update
Michael Wallner [Mon, 5 Sep 2005 15:24:11 +0000 (15:24 +0000)] 
- update

15 years ago- fix config.m4 (CURL_LIBS define was missing)
Michael Wallner [Mon, 5 Sep 2005 15:12:46 +0000 (15:12 +0000)] 
- fix config.m4 (CURL_LIBS define was missing)
- fix HAVE_LIBMHASH -> HTTP_HAVE_MHASH macro
- check for curl_*_strerror() in the lib and assume they're there for windows
- separate http_request_method_api (should be available even without libcurl)
- use custom displayer for http.etag_mode INI entry
- simplify phpinfo() output

15 years ago- improve config.m4
Michael Wallner [Fri, 2 Sep 2005 16:06:12 +0000 (16:06 +0000)] 
- improve config.m4
- ditch some warnings

15 years ago- move around
Michael Wallner [Fri, 2 Sep 2005 14:55:43 +0000 (14:55 +0000)] 
- move around

15 years ago- no HttpResponse for WONKY
Michael Wallner [Fri, 2 Sep 2005 14:51:36 +0000 (14:51 +0000)] 
- no HttpResponse for WONKY

15 years ago- no need for additional configure argument; just check and enable
Michael Wallner [Fri, 2 Sep 2005 14:49:54 +0000 (14:49 +0000)] 
- no need for additional configure argument; just check and enable

15 years ago- fix WONKY build
Michael Wallner [Fri, 2 Sep 2005 06:40:39 +0000 (06:40 +0000)] 
- fix WONKY build

15 years ago- fixing ridiculous default transfer timeout of 3 seconds (set to 0 now)
Michael Wallner [Thu, 1 Sep 2005 16:44:54 +0000 (16:44 +0000)] 
- fixing ridiculous default transfer timeout of 3 seconds (set to 0 now)

15 years ago- fix static property access (sizeof() vs. sizeof()-1)
Michael Wallner [Thu, 1 Sep 2005 07:39:27 +0000 (07:39 +0000)] 
- fix static property access (sizeof() vs. sizeof()-1)

15 years ago- fix capture mode (again)
Michael Wallner [Thu, 1 Sep 2005 07:27:48 +0000 (07:27 +0000)] 
- fix capture mode (again)

15 years ago- leftovers
Michael Wallner [Thu, 1 Sep 2005 07:09:10 +0000 (07:09 +0000)] 
- leftovers

15 years ago- introduce a force flag for no_cache
Michael Wallner [Thu, 1 Sep 2005 07:06:28 +0000 (07:06 +0000)] 
- introduce a force flag for no_cache

15 years ago- bump version
Michael Wallner [Thu, 1 Sep 2005 07:05:58 +0000 (07:05 +0000)] 
- bump version
- ditch unused global

15 years ago- prepare for working static properties in PHP_5_1
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)

15 years ago- release
Michael Wallner [Fri, 26 Aug 2005 11:24:14 +0000 (11:24 +0000)] 
- release

15 years ago- update docs
Michael Wallner [Fri, 26 Aug 2005 11:13:15 +0000 (11:13 +0000)] 
- update docs

15 years ago- made low-lewel request pool object api more intuitive
Michael Wallner [Fri, 26 Aug 2005 09:52:50 +0000 (09:52 +0000)] 
- made low-lewel request pool object api more intuitive

15 years ago- add http_log() for cases we don't want to exit
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

15 years ago- preventively set Accept-Encoding
Michael Wallner [Fri, 26 Aug 2005 08:19:26 +0000 (08:19 +0000)] 
- preventively set Accept-Encoding

15 years ago-fix macro parameter passing in HTTP_LOG_WRITE
Michael Wallner [Fri, 26 Aug 2005 07:31:06 +0000 (07:31 +0000)] 
-fix macro parameter passing in HTTP_LOG_WRITE

15 years ago-typo
Michael Wallner [Fri, 26 Aug 2005 07:19:23 +0000 (07:19 +0000)] 
-typo

15 years ago- ditch warnings
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

15 years ago- fix win32 DL build
Michael Wallner [Thu, 25 Aug 2005 18:28:19 +0000 (18:28 +0000)] 
- fix win32 DL build

15 years ago- update
Michael Wallner [Thu, 25 Aug 2005 17:53:49 +0000 (17:53 +0000)] 
- update

15 years ago- fix etag generation without libmhash
Michael Wallner [Thu, 25 Aug 2005 17:53:34 +0000 (17:53 +0000)] 
- fix etag generation without libmhash

15 years ago- fix php4 build
Michael Wallner [Thu, 25 Aug 2005 14:28:23 +0000 (14:28 +0000)] 
- fix php4 build

15 years ago- fix initialization of globals
Michael Wallner [Thu, 25 Aug 2005 13:24:52 +0000 (13:24 +0000)] 
- fix initialization of globals

15 years ago- fix includes
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

15 years ago- don't copy the refcount of the passed in value -- fixes remaining mem-leaks of...
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

15 years ago- add etag generation through mhash
Michael Wallner [Thu, 25 Aug 2005 11:51:39 +0000 (11:51 +0000)] 
- add etag generation through mhash
- fix several memleaks

15 years ago- don't destroy headers in http_message_tostruct_recursive()
Michael Wallner [Thu, 25 Aug 2005 09:18:32 +0000 (09:18 +0000)] 
- don't destroy headers in http_message_tostruct_recursive()

15 years ago- simplify request/response handling
Michael Wallner [Wed, 24 Aug 2005 15:59:44 +0000 (15:59 +0000)] 
- simplify request/response handling
- extend according test

15 years ago- fix php4 build
Michael Wallner [Wed, 24 Aug 2005 13:16:54 +0000 (13:16 +0000)] 
- fix php4 build

15 years ago- single LF aware http_chunked_decode()
Michael Wallner [Wed, 24 Aug 2005 13:05:00 +0000 (13:05 +0000)] 
- single LF aware http_chunked_decode()

15 years ago- typo
Michael Wallner [Wed, 24 Aug 2005 10:55:57 +0000 (10:55 +0000)] 
- typo

15 years ago- include missing.h in http.c for static property fixup
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()

15 years ago- ditch left-overs of yesterday's commit
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()

15 years ago- ditch http_split_response()
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...

15 years ago- test for bug #34191
Michael Wallner [Fri, 19 Aug 2005 15:26:16 +0000 (15:26 +0000)] 
- test for bug #34191

15 years ago- typo
Michael Wallner [Fri, 19 Aug 2005 15:18:59 +0000 (15:18 +0000)] 
- typo

15 years ago- we pass the file name as char* not zval* in http_etag() and http_last_modified()
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()

15 years ago- content-length header awareness
Michael Wallner [Fri, 19 Aug 2005 14:56:55 +0000 (14:56 +0000)] 
- content-length header awareness

15 years ago- send a content-length header if we send the full plain data
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

15 years ago- improve static property handling
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

15 years ago- use &EG(symbol_table)'s HTTP_SERVER_VARS instead of
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

15 years ago- bloody workaround for internal class' static properties
Michael Wallner [Tue, 16 Aug 2005 17:05:46 +0000 (17:05 +0000)] 
- bloody workaround for internal class' static properties
- fix HttpRequest_002.phpt

15 years ago- catch ranges starting with 0
Michael Wallner [Tue, 16 Aug 2005 15:24:00 +0000 (15:24 +0000)] 
- catch ranges starting with 0

15 years ago- add note about infunctional HttpResponse class due to the problems with static...
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

15 years ago- parameter to set*() and add*() methods is optional
Michael Wallner [Tue, 16 Aug 2005 15:12:49 +0000 (15:12 +0000)] 
- parameter to set*() and add*() methods is optional

15 years ago- API cleanup: remove unset*() methods and make set*() methods capable of that
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

15 years ago- add PHP_FUNCTION(http_parse_message) -- http_get() etc would be pretty useless...
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

15 years ago- proper fallthrough in zend_update_static_property()
Michael Wallner [Mon, 8 Aug 2005 15:05:49 +0000 (15:05 +0000)] 
- proper fallthrough in zend_update_static_property()

15 years ago- incorporate static property routines into missing.c
Michael Wallner [Mon, 8 Aug 2005 14:09:32 +0000 (14:09 +0000)] 
- incorporate static property routines into missing.c

15 years ago- be smart about internal/user zvals, though it's not actually used
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

15 years ago- unused var
Michael Wallner [Mon, 8 Aug 2005 09:24:15 +0000 (09:24 +0000)] 
- unused var

15 years ago- missing include
Michael Wallner [Mon, 8 Aug 2005 09:23:09 +0000 (09:23 +0000)] 
- missing include

15 years ago- http_redirect(): proper check for ext/session; fix possible mem-leaks
Michael Wallner [Mon, 8 Aug 2005 08:47:15 +0000 (08:47 +0000)] 
- http_redirect(): proper check for ext/session; fix possible mem-leaks

15 years ago- fix php4 build
Michael Wallner [Mon, 8 Aug 2005 07:23:27 +0000 (07:23 +0000)] 
- fix php4 build

15 years ago- support for proprietary Unless-Modified-Since header (eq If-Unmodified-Since)
Michael Wallner [Wed, 3 Aug 2005 13:30:25 +0000 (13:30 +0000)] 
- support for proprietary Unless-Modified-Since header (eq If-Unmodified-Since)

15 years ago- add HttpMessage class constants
Michael Wallner [Wed, 3 Aug 2005 11:40:02 +0000 (11:40 +0000)] 
- add HttpMessage class constants

15 years ago- fix builds and tests without libcurl linked in
Michael Wallner [Wed, 3 Aug 2005 08:50:39 +0000 (08:50 +0000)] 
- fix builds and tests without libcurl linked in

15 years ago- missing include
Michael Wallner [Tue, 2 Aug 2005 17:23:28 +0000 (17:23 +0000)] 
- missing include

15 years ago- fix PHP4 build
Michael Wallner [Tue, 2 Aug 2005 17:20:36 +0000 (17:20 +0000)] 
- fix PHP4 build
- nuke unused variables

15 years ago- fix PHP4 build (has no only_exceptions INI setting
Michael Wallner [Tue, 2 Aug 2005 08:25:38 +0000 (08:25 +0000)] 
- fix PHP4 build (has no only_exceptions INI setting

15 years ago- simplify http_send_header API
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()

15 years ago- no run-tests.diff any more
Michael Wallner [Mon, 1 Aug 2005 08:06:57 +0000 (08:06 +0000)] 
- no run-tests.diff any more

15 years ago- release 0.11.0
Michael Wallner [Mon, 1 Aug 2005 08:04:01 +0000 (08:04 +0000)] 
- release 0.11.0

15 years ago- avoid notices of new ext/date
Michael Wallner [Fri, 29 Jul 2005 21:04:54 +0000 (21:04 +0000)] 
- avoid notices of new ext/date

15 years ago- avoid leak in RETURN_OBJECT
Michael Wallner [Fri, 29 Jul 2005 20:56:11 +0000 (20:56 +0000)] 
- avoid leak in RETURN_OBJECT
- fix HttpRequest_002.phpt

15 years ago- remove the declaration of http_request_global_init() from the header too
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

15 years ago - curl cannot use zend mm
Michael Wallner [Fri, 29 Jul 2005 20:35:02 +0000 (20:35 +0000)] 
 - curl cannot use zend mm

15 years ago- HTTP_REGISTER_CLASS_EX already calls http_request_object_declare_default_properties()
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()

15 years ago- we're not using new ext/date but php_gmtime_r()
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?

15 years ago- Fix property handling
Marcus Boerger [Fri, 29 Jul 2005 18:12:12 +0000 (18:12 +0000)] 
- Fix property handling
- Fix tests

15 years ago- No longer needed
Marcus Boerger [Fri, 29 Jul 2005 17:26:08 +0000 (17:26 +0000)] 
- No longer needed

15 years ago- fix INI entries
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

15 years ago- no user debug callbacks any longer
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

15 years ago- ssl options were only setable rather than modifiable through setOptions
Michael Wallner [Wed, 27 Jul 2005 19:59:38 +0000 (19:59 +0000)] 
- ssl options were only setable rather than modifiable through setOptions

15 years ago- Add missing .cvsignore file
Marcus Boerger [Wed, 27 Jul 2005 19:33:38 +0000 (19:33 +0000)] 
- Add missing .cvsignore file

15 years ago- fix option setting
Michael Wallner [Wed, 27 Jul 2005 16:38:07 +0000 (16:38 +0000)] 
- fix option setting

15 years ago- avoid callbacks during shutdown
Michael Wallner [Wed, 27 Jul 2005 16:33:15 +0000 (16:33 +0000)] 
- avoid callbacks during shutdown

15 years ago- increment refcount for HttpRequest object put into hashtable as debug wrapper
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()

15 years ago- fix possible mem-leak in http_absolute_uri()
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()

15 years ago- bump version
Michael Wallner [Tue, 26 Jul 2005 15:23:04 +0000 (15:23 +0000)] 
- bump version
- reset dbg_user_cb on unsetOptions()

15 years ago- fix refelction info for some methods of HttpRequest
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)

15 years ago- release 0.10.1
Michael Wallner [Mon, 25 Jul 2005 16:10:11 +0000 (16:10 +0000)] 
- release 0.10.1

15 years ago-fix installation through pear
Michael Wallner [Mon, 25 Jul 2005 16:01:42 +0000 (16:01 +0000)] 
-fix installation through pear

15 years ago- release 0.10.0
Michael Wallner [Mon, 25 Jul 2005 12:51:39 +0000 (12:51 +0000)] 
- release 0.10.0
- update docs