Michael Wallner [Fri, 25 Feb 2005 10:21:36 +0000 (10:21 +0000)]
* add std defs header
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
Michael Wallner [Thu, 24 Feb 2005 19:19:55 +0000 (19:19 +0000)]
* don't enable compression by default
Michael Wallner [Thu, 24 Feb 2005 19:11:38 +0000 (19:11 +0000)]
* not curl but I behaved weird
Michael Wallner [Thu, 24 Feb 2005 19:07:12 +0000 (19:07 +0000)]
* strlen("") => sizeof("")-1
* major meltdown for the curl api
Michael Wallner [Thu, 24 Feb 2005 17:52:42 +0000 (17:52 +0000)]
* prevent inclusion of winsock.h
Michael Wallner [Wed, 23 Feb 2005 15:32:06 +0000 (15:32 +0000)]
* add src files
Michael Wallner [Wed, 23 Feb 2005 12:47:08 +0000 (12:47 +0000)]
* missed http_curl_api.c
Michael Wallner [Wed, 23 Feb 2005 12:40:16 +0000 (12:40 +0000)]
* ditch warning
Michael Wallner [Wed, 23 Feb 2005 11:34:57 +0000 (11:34 +0000)]
* un-hack curl info name duplication
Michael Wallner [Wed, 23 Feb 2005 11:31:41 +0000 (11:31 +0000)]
* fix memory-leaks/pre-use-frees
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
Michael Wallner [Tue, 22 Feb 2005 21:01:26 +0000 (21:01 +0000)]
* weird, weird
Michael Wallner [Tue, 22 Feb 2005 20:46:49 +0000 (20:46 +0000)]
* added POST support to HTTPi_Request
Michael Wallner [Tue, 22 Feb 2005 12:50:27 +0000 (12:50 +0000)]
* release 0.5.1
Michael Wallner [Tue, 22 Feb 2005 12:41:44 +0000 (12:41 +0000)]
* ditch mem-leak
Michael Wallner [Tue, 22 Feb 2005 12:41:33 +0000 (12:41 +0000)]
* avoid warning
Michael Wallner [Tue, 22 Feb 2005 12:11:10 +0000 (12:11 +0000)]
* no need to wrap around zend_objects_destroy_object()
Michael Wallner [Tue, 22 Feb 2005 12:06:19 +0000 (12:06 +0000)]
* more compatibility
Michael Wallner [Tue, 22 Feb 2005 12:01:18 +0000 (12:01 +0000)]
* do the dtor dance the right way
Michael Wallner [Tue, 22 Feb 2005 12:00:47 +0000 (12:00 +0000)]
* more version checks
Marcus Boerger [Tue, 22 Feb 2005 11:35:44 +0000 (11:35 +0000)]
- Call __destruct
Michael Wallner [Tue, 22 Feb 2005 11:31:07 +0000 (11:31 +0000)]
* compatibility with older libcurl versions, take 2
Marcus Boerger [Tue, 22 Feb 2005 11:04:50 +0000 (11:04 +0000)]
- Compatibility with older libcurl
Michael Wallner [Tue, 22 Feb 2005 10:17:34 +0000 (10:17 +0000)]
* typos/ws
Michael Wallner [Mon, 21 Feb 2005 16:12:23 +0000 (16:12 +0000)]
* remove obsolete include
Michael Wallner [Mon, 21 Feb 2005 16:12:00 +0000 (16:12 +0000)]
* fixed typo
* use php_stream_stat_path() instead of php_stat()
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
Michael Wallner [Sat, 19 Feb 2005 12:35:53 +0000 (12:35 +0000)]
* release 0.5.0
Michael Wallner [Sat, 19 Feb 2005 12:22:36 +0000 (12:22 +0000)]
* fixed a LOAD of mem-leaks
Michael Wallner [Fri, 18 Feb 2005 19:02:35 +0000 (19:02 +0000)]
* added HTTPi_Request::getResponseInfo(), ::setOptions() ::getOptions()
Michael Wallner [Fri, 18 Feb 2005 15:58:39 +0000 (15:58 +0000)]
* filestat fixes
Michael Wallner [Fri, 18 Feb 2005 15:53:05 +0000 (15:53 +0000)]
* HTTPi_Request prototype
Michael Wallner [Fri, 18 Feb 2005 11:28:28 +0000 (11:28 +0000)]
* hopefully satisfying snaps.php.net
Michael Wallner [Fri, 18 Feb 2005 11:04:17 +0000 (11:04 +0000)]
* update
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
Michael Wallner [Thu, 17 Feb 2005 21:30:31 +0000 (21:30 +0000)]
* fixed some memleaks
* fixed property initalization
* typo
Michael Wallner [Thu, 17 Feb 2005 20:29:25 +0000 (20:29 +0000)]
* HTTPi_Response mostly done
Michael Wallner [Thu, 17 Feb 2005 17:13:13 +0000 (17:13 +0000)]
* hoppala
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
Michael Wallner [Wed, 16 Feb 2005 20:08:15 +0000 (20:08 +0000)]
* sanitize ob_httpetaghandler
Michael Wallner [Wed, 16 Feb 2005 19:33:46 +0000 (19:33 +0000)]
* use 4k cs
Michael Wallner [Wed, 16 Feb 2005 19:33:14 +0000 (19:33 +0000)]
* don't restart "default output handler"
* copy text_length, too
Michael Wallner [Wed, 16 Feb 2005 16:58:51 +0000 (16:58 +0000)]
* fix fatal erealloc error
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
Michael Wallner [Wed, 16 Feb 2005 08:34:54 +0000 (08:34 +0000)]
* release 0.4.0
Michael Wallner [Tue, 15 Feb 2005 09:33:56 +0000 (09:33 +0000)]
* add winmm.lib for timeGetTime
Michael Wallner [Tue, 15 Feb 2005 09:02:44 +0000 (09:02 +0000)]
* add zlib
Michael Wallner [Mon, 14 Feb 2005 16:04:25 +0000 (16:04 +0000)]
* add ssl libs
Michael Wallner [Mon, 14 Feb 2005 15:57:56 +0000 (15:57 +0000)]
* add wsock32.lib
Michael Wallner [Mon, 14 Feb 2005 10:29:44 +0000 (10:29 +0000)]
* keep winsock crap outta door
Michael Wallner [Mon, 14 Feb 2005 10:20:17 +0000 (10:20 +0000)]
* ms cc chokes on that
Michael Wallner [Sun, 13 Feb 2005 19:50:30 +0000 (19:50 +0000)]
* fix etag caching
* fix send_data()
Michael Wallner [Sun, 13 Feb 2005 19:48:46 +0000 (19:48 +0000)]
* fix etag caching
* some maintainance in RSHUTDOWN
Michael Wallner [Sun, 13 Feb 2005 10:41:15 +0000 (10:41 +0000)]
* adding tests
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
Michael Wallner [Fri, 11 Feb 2005 18:19:26 +0000 (18:19 +0000)]
* cosmetics
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
Michael Wallner [Fri, 11 Feb 2005 17:53:23 +0000 (17:53 +0000)]
* separate http_check_allowed_methods()
Michael Wallner [Fri, 11 Feb 2005 17:43:12 +0000 (17:43 +0000)]
* we must send an allow header
Michael Wallner [Fri, 11 Feb 2005 16:18:03 +0000 (16:18 +0000)]
* added http.allowed_methods ini entry
Michael Wallner [Fri, 11 Feb 2005 16:04:30 +0000 (16:04 +0000)]
* add defines too
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... :)
Michael Wallner [Fri, 11 Feb 2005 14:42:09 +0000 (14:42 +0000)]
* added http_get_request_headers()
* prettify array keys of curl info
Michael Wallner [Fri, 11 Feb 2005 10:45:58 +0000 (10:45 +0000)]
* failproof http_parse_headers()
Edin Kadribasic [Fri, 11 Feb 2005 10:19:28 +0000 (10:19 +0000)]
Fix win32 compile on php4
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
Michael Wallner [Fri, 11 Feb 2005 09:42:10 +0000 (09:42 +0000)]
* http_auth_header() should return the status of http_send_header()
Michael Wallner [Fri, 11 Feb 2005 09:30:17 +0000 (09:30 +0000)]
* proper cpp indention
Edin Kadribasic [Fri, 11 Feb 2005 09:28:26 +0000 (09:28 +0000)]
Added .cvsignore
Michael Wallner [Fri, 11 Feb 2005 09:23:58 +0000 (09:23 +0000)]
* attempt to fix php4 ref handling
Michael Wallner [Fri, 11 Feb 2005 09:13:58 +0000 (09:13 +0000)]
* force ref for $info in http_request functions
Michael Wallner [Thu, 10 Feb 2005 18:58:11 +0000 (18:58 +0000)]
* version bump
Michael Wallner [Thu, 10 Feb 2005 18:53:27 +0000 (18:53 +0000)]
* some basic docs
Michael Wallner [Thu, 10 Feb 2005 18:49:44 +0000 (18:49 +0000)]
* release 0.3.0
Michael Wallner [Thu, 10 Feb 2005 17:19:01 +0000 (17:19 +0000)]
* http_send_ranges() cosmetics
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
Michael Wallner [Wed, 9 Feb 2005 20:17:20 +0000 (20:17 +0000)]
* update
Michael Wallner [Wed, 9 Feb 2005 20:10:20 +0000 (20:10 +0000)]
* separate http_parse_header() function (doesn't support folded headers yet)
Michael Wallner [Wed, 9 Feb 2005 19:04:24 +0000 (19:04 +0000)]
* typo
Michael Wallner [Wed, 9 Feb 2005 19:03:20 +0000 (19:03 +0000)]
* attempt to make http_build_query available for PHP4
Michael Wallner [Wed, 9 Feb 2005 17:00:29 +0000 (17:00 +0000)]
* MFB
Michael Wallner [Wed, 9 Feb 2005 16:59:22 +0000 (16:59 +0000)]
* fix PHP4 build
Michael Wallner [Wed, 9 Feb 2005 11:32:50 +0000 (11:32 +0000)]
* removed debug statements
Michael Wallner [Wed, 9 Feb 2005 10:59:36 +0000 (10:59 +0000)]
* attempt to fix snap-build
Michael Wallner [Wed, 9 Feb 2005 07:27:07 +0000 (07:27 +0000)]
* attempt yet again to fix php4 snaps build
Michael Wallner [Wed, 9 Feb 2005 07:19:29 +0000 (07:19 +0000)]
* move includes around
Michael Wallner [Tue, 8 Feb 2005 18:49:37 +0000 (18:49 +0000)]
* fixing PHP5 snap build
Michael Wallner [Tue, 8 Feb 2005 18:49:20 +0000 (18:49 +0000)]
* fixing PHP5 snap build
* removed stupid **zentries
Michael Wallner [Tue, 8 Feb 2005 17:09:51 +0000 (17:09 +0000)]
* typos
Michael Wallner [Tue, 8 Feb 2005 11:59:57 +0000 (11:59 +0000)]
# this LF issue is going to drive me nuts
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
Michael Wallner [Tue, 8 Feb 2005 07:31:53 +0000 (07:31 +0000)]
* use \r\n
Michael Wallner [Mon, 7 Feb 2005 17:13:56 +0000 (17:13 +0000)]
* more intuitive support for headers and cookies (associative arrays)
* proto fixed
* include snprintf.h
* added info parameter to http_get/head/post functions
* include ctype.h - always
* fix curl config
* ditch http_accept_ranges() (sent automatically in http_send_data/resource)
* new HASH_ORNULL() macro
Michael Wallner [Mon, 7 Feb 2005 09:10:03 +0000 (09:10 +0000)]
* another try
Michael Wallner [Mon, 7 Feb 2005 08:46:46 +0000 (08:46 +0000)]
* hopefully fixing the ap_php_snprintf() issue
Michael Wallner [Sat, 5 Feb 2005 21:46:37 +0000 (21:46 +0000)]
* php 4!
Michael Wallner [Sat, 5 Feb 2005 21:32:21 +0000 (21:32 +0000)]
* probably fixing the PHP4 build issue (mostly took the lines out of ext/curls dsp file)
Michael Wallner [Fri, 4 Feb 2005 17:47:55 +0000 (17:47 +0000)]
* dsp is needed too
Michael Wallner [Fri, 4 Feb 2005 16:22:27 +0000 (16:22 +0000)]
* add to pecl