m6w6/ext-http
19 years ago* reset the curl handle if curl_easy_reset() is available
Michael Wallner [Thu, 3 Mar 2005 20:22:23 +0000 (20:22 +0000)] 
* reset the curl handle if curl_easy_reset() is available
* 0x070c02 !== 71202

19 years ago* reordering things for curl info and options a bit, so that they can be better compa...
Michael Wallner [Thu, 3 Mar 2005 20:12:52 +0000 (20:12 +0000)] 
* reordering things for curl info and options a bit, so that they can be better compared to the docs
* added some more curl options
* use better readable curl version numbers

19 years ago* ditch some inline functions and replace them with a macro
Michael Wallner [Thu, 3 Mar 2005 18:59:27 +0000 (18:59 +0000)] 
* ditch some inline functions and replace them with a macro

19 years ago* fix EOF
Michael Wallner [Sat, 26 Feb 2005 14:01:07 +0000 (14:01 +0000)] 
* fix EOF

19 years ago* melt http_api down
Michael Wallner [Fri, 25 Feb 2005 21:18:39 +0000 (21:18 +0000)] 
* melt http_api down

19 years ago* ditch warnings
Michael Wallner [Fri, 25 Feb 2005 18:47:01 +0000 (18:47 +0000)] 
* ditch warnings

19 years ago* unused vars
Michael Wallner [Fri, 25 Feb 2005 10:46:43 +0000 (10:46 +0000)] 
* unused vars

19 years ago* add std defs header
Michael Wallner [Fri, 25 Feb 2005 10:21:36 +0000 (10:21 +0000)] 
* add std defs header

19 years ago* moved defines into php_http_std_defs.h
Michael Wallner [Fri, 25 Feb 2005 10:20:22 +0000 (10:20 +0000)] 
* moved defines into php_http_std_defs.h
* added http_urlencode_hash_ex()
* added CREDITS file
* integrated http_build_query()/php_url_encode_hash_ex() into std source files

19 years ago* don't enable compression by default
Michael Wallner [Thu, 24 Feb 2005 19:19:55 +0000 (19:19 +0000)] 
* don't enable compression by default

19 years ago* not curl but I behaved weird
Michael Wallner [Thu, 24 Feb 2005 19:11:38 +0000 (19:11 +0000)] 
* not curl but I behaved weird

19 years ago* strlen("") => sizeof("")-1
Michael Wallner [Thu, 24 Feb 2005 19:07:12 +0000 (19:07 +0000)] 
* strlen("") => sizeof("")-1
* major meltdown for the curl api

19 years ago* prevent inclusion of winsock.h
Michael Wallner [Thu, 24 Feb 2005 17:52:42 +0000 (17:52 +0000)] 
* prevent inclusion of winsock.h

19 years ago* add src files
Michael Wallner [Wed, 23 Feb 2005 15:32:06 +0000 (15:32 +0000)] 
* add src files

19 years ago* missed http_curl_api.c
Michael Wallner [Wed, 23 Feb 2005 12:47:08 +0000 (12:47 +0000)] 
* missed http_curl_api.c

19 years ago* ditch warning
Michael Wallner [Wed, 23 Feb 2005 12:40:16 +0000 (12:40 +0000)] 
* ditch warning

19 years ago* un-hack curl info name duplication
Michael Wallner [Wed, 23 Feb 2005 11:34:57 +0000 (11:34 +0000)] 
* un-hack curl info name duplication

19 years ago* fix memory-leaks/pre-use-frees
Michael Wallner [Wed, 23 Feb 2005 11:31:41 +0000 (11:31 +0000)] 
* fix memory-leaks/pre-use-frees

19 years ago* split into more reasonable modules
Michael Wallner [Wed, 23 Feb 2005 10:50:01 +0000 (10:50 +0000)] 
* split into more reasonable modules
* no need to have separate buffers for headers and body

19 years ago* weird, weird
Michael Wallner [Tue, 22 Feb 2005 21:01:26 +0000 (21:01 +0000)] 
* weird, weird

19 years ago* added POST support to HTTPi_Request
Michael Wallner [Tue, 22 Feb 2005 20:46:49 +0000 (20:46 +0000)] 
* added POST support to HTTPi_Request

19 years ago* release 0.5.1
Michael Wallner [Tue, 22 Feb 2005 12:50:27 +0000 (12:50 +0000)] 
* release 0.5.1

19 years ago* ditch mem-leak
Michael Wallner [Tue, 22 Feb 2005 12:41:44 +0000 (12:41 +0000)] 
* ditch mem-leak

19 years ago* avoid warning
Michael Wallner [Tue, 22 Feb 2005 12:41:33 +0000 (12:41 +0000)] 
* avoid warning

19 years ago* no need to wrap around zend_objects_destroy_object()
Michael Wallner [Tue, 22 Feb 2005 12:11:10 +0000 (12:11 +0000)] 
* no need to wrap around zend_objects_destroy_object()

19 years ago* more compatibility
Michael Wallner [Tue, 22 Feb 2005 12:06:19 +0000 (12:06 +0000)] 
* more compatibility

19 years ago* do the dtor dance the right way
Michael Wallner [Tue, 22 Feb 2005 12:01:18 +0000 (12:01 +0000)] 
* do the dtor dance the right way

19 years ago* more version checks
Michael Wallner [Tue, 22 Feb 2005 12:00:47 +0000 (12:00 +0000)] 
* more version checks

19 years ago- Call __destruct
Marcus Boerger [Tue, 22 Feb 2005 11:35:44 +0000 (11:35 +0000)] 
- Call __destruct

19 years ago* compatibility with older libcurl versions, take 2
Michael Wallner [Tue, 22 Feb 2005 11:31:07 +0000 (11:31 +0000)] 
* compatibility with older libcurl versions, take 2

19 years ago- Compatibility with older libcurl
Marcus Boerger [Tue, 22 Feb 2005 11:04:50 +0000 (11:04 +0000)] 
- Compatibility with older libcurl

19 years ago* typos/ws
Michael Wallner [Tue, 22 Feb 2005 10:17:34 +0000 (10:17 +0000)] 
* typos/ws

19 years ago* remove obsolete include
Michael Wallner [Mon, 21 Feb 2005 16:12:23 +0000 (16:12 +0000)] 
* remove obsolete include

19 years ago* fixed typo
Michael Wallner [Mon, 21 Feb 2005 16:12:00 +0000 (16:12 +0000)] 
* fixed typo
* use php_stream_stat_path() instead of php_stat()

19 years ago* curlbuf struct isn't needed any where else and breaks the php4 build - so no typedef
Michael Wallner [Mon, 21 Feb 2005 11:21:52 +0000 (11:21 +0000)] 
* curlbuf struct isn't needed any where else and breaks the php4 build - so no typedef

19 years ago* release 0.5.0
Michael Wallner [Sat, 19 Feb 2005 12:35:53 +0000 (12:35 +0000)] 
* release 0.5.0

19 years ago* fixed a LOAD of mem-leaks
Michael Wallner [Sat, 19 Feb 2005 12:22:36 +0000 (12:22 +0000)] 
* fixed a LOAD of mem-leaks

19 years ago* added HTTPi_Request::getResponseInfo(), ::setOptions() ::getOptions()
Michael Wallner [Fri, 18 Feb 2005 19:02:35 +0000 (19:02 +0000)] 
* added HTTPi_Request::getResponseInfo(), ::setOptions() ::getOptions()

19 years ago* filestat fixes
Michael Wallner [Fri, 18 Feb 2005 15:58:39 +0000 (15:58 +0000)] 
* filestat fixes

19 years ago* HTTPi_Request prototype
Michael Wallner [Fri, 18 Feb 2005 15:53:05 +0000 (15:53 +0000)] 
* HTTPi_Request prototype

19 years ago* hopefully satisfying snaps.php.net
Michael Wallner [Fri, 18 Feb 2005 11:28:28 +0000 (11:28 +0000)] 
* hopefully satisfying snaps.php.net

19 years ago* update
Michael Wallner [Fri, 18 Feb 2005 11:04:17 +0000 (11:04 +0000)] 
* update

19 years ago* simplify HTTPi_Response::send() a lot
Michael Wallner [Fri, 18 Feb 2005 10:53:26 +0000 (10:53 +0000)] 
* simplify HTTPi_Response::send() a lot
* move caching code into separate functions

19 years ago* fixed some memleaks
Michael Wallner [Thu, 17 Feb 2005 21:30:31 +0000 (21:30 +0000)] 
* fixed some memleaks
* fixed property initalization
* typo

19 years ago* HTTPi_Response mostly done
Michael Wallner [Thu, 17 Feb 2005 20:29:25 +0000 (20:29 +0000)] 
* HTTPi_Response mostly done

19 years ago* hoppala
Michael Wallner [Thu, 17 Feb 2005 17:13:13 +0000 (17:13 +0000)] 
* hoppala

19 years ago* preparations for the OO interface
Michael Wallner [Thu, 17 Feb 2005 17:11:44 +0000 (17:11 +0000)] 
* preparations for the OO interface
* missed to include RINIT and MSHUTDOWN in the module struct

19 years ago* sanitize ob_httpetaghandler
Michael Wallner [Wed, 16 Feb 2005 20:08:15 +0000 (20:08 +0000)] 
* sanitize ob_httpetaghandler

19 years ago* use 4k cs
Michael Wallner [Wed, 16 Feb 2005 19:33:46 +0000 (19:33 +0000)] 
* use 4k cs

19 years ago* don't restart "default output handler"
Michael Wallner [Wed, 16 Feb 2005 19:33:14 +0000 (19:33 +0000)] 
* don't restart "default output handler"
* copy text_length, too

19 years ago* fix fatal erealloc error
Michael Wallner [Wed, 16 Feb 2005 16:58:51 +0000 (16:58 +0000)] 
* fix fatal erealloc error

19 years ago* added ob_httpetaghandler() (has major limitations compared to http_cache_etag())
Michael Wallner [Wed, 16 Feb 2005 16:25:47 +0000 (16:25 +0000)] 
* added ob_httpetaghandler() (has major limitations compared to http_cache_etag())
* smarter ob handling in http_cache_etag() - used buffers will be fetched, freed
  and piped through again, so that everything passes the etag ob handler

19 years ago* release 0.4.0
Michael Wallner [Wed, 16 Feb 2005 08:34:54 +0000 (08:34 +0000)] 
* release 0.4.0

19 years ago* add winmm.lib for timeGetTime
Michael Wallner [Tue, 15 Feb 2005 09:33:56 +0000 (09:33 +0000)] 
* add winmm.lib for timeGetTime

19 years ago* add zlib
Michael Wallner [Tue, 15 Feb 2005 09:02:44 +0000 (09:02 +0000)] 
* add zlib

19 years ago* add ssl libs
Michael Wallner [Mon, 14 Feb 2005 16:04:25 +0000 (16:04 +0000)] 
* add ssl libs

19 years ago* add wsock32.lib
Michael Wallner [Mon, 14 Feb 2005 15:57:56 +0000 (15:57 +0000)] 
* add wsock32.lib

19 years ago* keep winsock crap outta door
Michael Wallner [Mon, 14 Feb 2005 10:29:44 +0000 (10:29 +0000)] 
* keep winsock crap outta door

19 years ago* ms cc chokes on that
Michael Wallner [Mon, 14 Feb 2005 10:20:17 +0000 (10:20 +0000)] 
* ms cc chokes on that

19 years ago* fix etag caching
Michael Wallner [Sun, 13 Feb 2005 19:50:30 +0000 (19:50 +0000)] 
* fix etag caching
* fix send_data()

19 years ago* fix etag caching
Michael Wallner [Sun, 13 Feb 2005 19:48:46 +0000 (19:48 +0000)] 
* fix etag caching
* some maintainance in RSHUTDOWN

19 years ago* adding tests
Michael Wallner [Sun, 13 Feb 2005 10:41:15 +0000 (10:41 +0000)] 
* adding tests

19 years ago* -dev version
Michael Wallner [Sun, 13 Feb 2005 10:38:50 +0000 (10:38 +0000)] 
* -dev version
* make package.xml installable
* fix etag sending
* fix mem-corruption in http_parse_headers() with empty header values
* fix http dates being truncated
* expand default allowed methods to all standard methods

19 years ago* cosmetics
Michael Wallner [Fri, 11 Feb 2005 18:19:26 +0000 (18:19 +0000)] 
* cosmetics

19 years ago* we should just send the full entity if the range header si syntactically invalid
Michael Wallner [Fri, 11 Feb 2005 18:07:08 +0000 (18:07 +0000)] 
* we should just send the full entity if the range header si syntactically invalid

19 years ago* separate http_check_allowed_methods()
Michael Wallner [Fri, 11 Feb 2005 17:53:23 +0000 (17:53 +0000)] 
* separate http_check_allowed_methods()

19 years ago* we must send an allow header
Michael Wallner [Fri, 11 Feb 2005 17:43:12 +0000 (17:43 +0000)] 
* we must send an allow header

19 years ago* added http.allowed_methods ini entry
Michael Wallner [Fri, 11 Feb 2005 16:18:03 +0000 (16:18 +0000)] 
* added http.allowed_methods ini entry

19 years ago* add defines too
Michael Wallner [Fri, 11 Feb 2005 16:04:30 +0000 (16:04 +0000)] 
* add defines too

19 years ago* php_http.dll successfully built for php4 and working - now going ahead... :)
Michael Wallner [Fri, 11 Feb 2005 16:03:10 +0000 (16:03 +0000)] 
* php_http.dll successfully built for php4 and working - now going ahead... :)

19 years ago* added http_get_request_headers()
Michael Wallner [Fri, 11 Feb 2005 14:42:09 +0000 (14:42 +0000)] 
* added http_get_request_headers()
* prettify array keys of curl info

19 years ago* failproof http_parse_headers()
Michael Wallner [Fri, 11 Feb 2005 10:45:58 +0000 (10:45 +0000)] 
* failproof http_parse_headers()

19 years agoFix win32 compile on php4
Edin Kadribasic [Fri, 11 Feb 2005 10:19:28 +0000 (10:19 +0000)] 
Fix win32 compile on php4

19 years ago* http_auth_header() should return the status of http_send_header()
Michael Wallner [Fri, 11 Feb 2005 09:42:45 +0000 (09:42 +0000)] 
* http_auth_header() should return the status of http_send_header()
* remove *ANY* ws in front of header value

19 years ago* http_auth_header() should return the status of http_send_header()
Michael Wallner [Fri, 11 Feb 2005 09:42:10 +0000 (09:42 +0000)] 
* http_auth_header() should return the status of http_send_header()

19 years ago* proper cpp indention
Michael Wallner [Fri, 11 Feb 2005 09:30:17 +0000 (09:30 +0000)] 
* proper cpp indention

19 years agoAdded .cvsignore
Edin Kadribasic [Fri, 11 Feb 2005 09:28:26 +0000 (09:28 +0000)] 
Added .cvsignore

19 years ago* attempt to fix php4 ref handling
Michael Wallner [Fri, 11 Feb 2005 09:23:58 +0000 (09:23 +0000)] 
* attempt to fix php4 ref handling

19 years ago* force ref for $info in http_request functions
Michael Wallner [Fri, 11 Feb 2005 09:13:58 +0000 (09:13 +0000)] 
* force ref for $info in http_request functions

19 years ago* version bump
Michael Wallner [Thu, 10 Feb 2005 18:58:11 +0000 (18:58 +0000)] 
* version bump

19 years ago* some basic docs
Michael Wallner [Thu, 10 Feb 2005 18:53:27 +0000 (18:53 +0000)] 
* some basic docs

19 years ago* release 0.3.0
Michael Wallner [Thu, 10 Feb 2005 18:49:44 +0000 (18:49 +0000)] 
* release 0.3.0

19 years ago* http_send_ranges() cosmetics
Michael Wallner [Thu, 10 Feb 2005 17:19:01 +0000 (17:19 +0000)] 
* http_send_ranges() cosmetics

19 years ago* rename http_parse_header to http_parse_headers
Michael Wallner [Thu, 10 Feb 2005 15:55:04 +0000 (15:55 +0000)] 
* rename http_parse_header to http_parse_headers
* HTTP_CRLF constant
* smarter http_parse_headers() with support for folded headers

19 years ago* update
Michael Wallner [Wed, 9 Feb 2005 20:17:20 +0000 (20:17 +0000)] 
* update

19 years ago* separate http_parse_header() function (doesn't support folded headers yet)
Michael Wallner [Wed, 9 Feb 2005 20:10:20 +0000 (20:10 +0000)] 
* separate http_parse_header() function (doesn't support folded headers yet)

19 years ago* typo
Michael Wallner [Wed, 9 Feb 2005 19:04:24 +0000 (19:04 +0000)] 
* typo

19 years ago* attempt to make http_build_query available for PHP4
Michael Wallner [Wed, 9 Feb 2005 19:03:20 +0000 (19:03 +0000)] 
* attempt to make http_build_query available for PHP4

19 years ago* MFB
Michael Wallner [Wed, 9 Feb 2005 17:00:29 +0000 (17:00 +0000)] 
* MFB

19 years ago* fix PHP4 build
Michael Wallner [Wed, 9 Feb 2005 16:59:22 +0000 (16:59 +0000)] 
* fix PHP4 build

19 years ago* removed debug statements
Michael Wallner [Wed, 9 Feb 2005 11:32:50 +0000 (11:32 +0000)] 
* removed debug statements

19 years ago* attempt to fix snap-build
Michael Wallner [Wed, 9 Feb 2005 10:59:36 +0000 (10:59 +0000)] 
* attempt to fix snap-build

19 years ago* attempt yet again to fix php4 snaps build
Michael Wallner [Wed, 9 Feb 2005 07:27:07 +0000 (07:27 +0000)] 
* attempt yet again to fix php4 snaps build

19 years ago* move includes around
Michael Wallner [Wed, 9 Feb 2005 07:19:29 +0000 (07:19 +0000)] 
* move includes around

19 years ago* fixing PHP5 snap build
Michael Wallner [Tue, 8 Feb 2005 18:49:37 +0000 (18:49 +0000)] 
* fixing PHP5 snap build

19 years ago* fixing PHP5 snap build
Michael Wallner [Tue, 8 Feb 2005 18:49:20 +0000 (18:49 +0000)] 
* fixing PHP5 snap build
* removed stupid **zentries

19 years ago* typos
Michael Wallner [Tue, 8 Feb 2005 17:09:51 +0000 (17:09 +0000)] 
* typos

19 years ago# this LF issue is going to drive me nuts
Michael Wallner [Tue, 8 Feb 2005 11:59:57 +0000 (11:59 +0000)] 
# this LF issue is going to drive me nuts

19 years ago* fixed http_cache_last_modified(): if parameter was omitted, would have always sent...
Michael Wallner [Tue, 8 Feb 2005 11:52:24 +0000 (11:52 +0000)] 
* fixed http_cache_last_modified(): if parameter was omitted, would have always sent 304 Not Modified
* we do not need to suggest closing the connection in http_cache_etag() as we'll end the ob_buffer
* made http_redirect() really RFC compliant by writing out "Redirecting to <link>URI</link>."
* separate params argument in http_redirect()
* remember sent etag and last-modified as globals
* new HTTP_SERVER_VARS define
* only try to match the etag in http_ob_etag_handler() if we have not been stopped so far
* ignore spaces in range request of IE
* free zranges where they've been initialized
* caching handling in http_send()
* update package.xml

19 years ago* use \r\n
Michael Wallner [Tue, 8 Feb 2005 07:31:53 +0000 (07:31 +0000)] 
* use \r\n