1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

185 Commits

Author SHA1 Message Date
Edin Kadribasic ccff468774 MFB 2003-07-22 12:36:59 +00:00
Derick Rethans 12cf3ec385 - Removed duplicate constants 2003-06-28 09:55:12 +00:00
Edin Kadribasic 23a9f80f89 ZTS Fixes 2003-06-19 23:13:28 +00:00
Edin Kadribasic 7886bc93f6 Win32 build fixes 2003-06-19 23:07:14 +00:00
Ilia Alshanetsky d81f2e582c Added missing safe_mode checks.
Added support for additional libcurl options.
Set CURLOPT_NOSIGNAL by default for ZTS, for signal free operation.
2003-06-19 22:12:21 +00:00
Sterling Hughes 8eef152174 recognize CURLOPT_PORT 2003-06-18 21:02:02 +00:00
Andrey Hristov 03a135a141 proto fix 2003-06-12 12:32:22 +00:00
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Derick Rethans 48041d4d7f - Fixed bug #23751: Confusing configure warning concerning required cURL
version
2003-05-22 13:08:49 +00:00
Sterling Hughes 5641234ee2 move all the other callbacks 2003-05-21 23:27:12 +00:00
Sterling Hughes 3de6a7d3b2 switch over to using fast_call_user_function() with the callbacks 2003-05-21 23:15:28 +00:00
Sterling Hughes 18254e85ef ilia's request is my command 2003-05-21 15:47:01 +00:00
Sterling Hughes dd8accf890 apply fix from bug #23539 2003-05-17 14:12:36 +00:00
Sara Golemon 5126fbe556 Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops 2003-05-14 06:10:04 +00:00
Ilia Alshanetsky 09fbc97d55 Add missing initialization. 2003-05-09 01:10:18 +00:00
Derick Rethans 810ac117f0 - Fix non-ZTS build after Sterling's changes to TSRM 2003-04-28 10:40:28 +00:00
Sterling Hughes 7ed6fd22bc use the new TSRMLS_FETCH_FROM_CTX() macro 2003-04-27 22:15:19 +00:00
Brian France 031aef1e0c Added HAVE_CONFIG_H check so the phpize build method works 2003-04-05 08:14:56 +00:00
Sterling Hughes 335a1c1a6d forgot to commit this. 2003-04-04 16:00:33 +00:00
Sterling Hughes bb7c2ddb23 add the ability for curl_multi_info to introspect the handles.
# Zend commit doesn't break anything, so I'm committing it.  If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Wez Furlong badd5fb6fd Fix curl detection when multiple installations exist 2003-03-23 18:14:41 +00:00
foobar b4b661ae0a WS & CS fixes 2003-03-17 15:06:11 +00:00
Hartmut Holzgraefe dbe4f2238c proto fixes 2003-03-17 13:11:19 +00:00
Ilia Alshanetsky cf072c4a75 Fixed bug #22681 (Crash when reading from invalid file pointer). 2003-03-13 18:15:31 +00:00
foobar 535a73a71e - Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
(Phil Oleson <poleson@verio.net>)
2003-02-28 07:34:45 +00:00
foobar afc69728a8 (hope) fix some win32 build errors 2003-02-25 07:19:44 +00:00
Wez Furlong 0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky b0924da0cf Fixed bug #22031 (Made curl_write() & curl_write_header() binary safe). 2003-02-03 20:56:23 +00:00
Ilia Alshanetsky 923ae6ca3e Gave the user the ability to specify encoding of the request.
Patch by jens@mermaidconsulting.dk.
2003-02-02 20:56:51 +00:00
Ilia Alshanetsky aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Sebastian Bergmann b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Ilia Alshanetsky 98e85ae80b Fixed bug #20987 (no handling for client certificates). 2002-12-21 18:03:46 +00:00
Wez Furlong bceb56b2ba Re-enable the curlwrappers configure option.
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.
2002-11-18 12:00:21 +00:00
Wez Furlong 9ae3c2f7bd Commit these before Sterling renames the files again :-)
When curlstreams are enabled, registers a each supported protocol
with PHP.
"More Correctly" implement eof for curlstreams.
Still not ready for anything like primetime.
2002-11-14 11:41:24 +00:00
Sterling Hughes 89ea16ffaa remove C++ comments 2002-11-14 04:07:51 +00:00
Sterling Hughes 9d04acdaaa curl_multi_info_read is unimplemented... 2002-11-13 22:43:31 +00:00
Sterling Hughes 537284418c add multi support and reorganize things a bit... 2002-11-13 22:25:33 +00:00
Derick Rethans 30daa9489c - Make it rely on cURL version 7.9.8 again, so that we can start with the
Release Process.
2002-11-10 21:26:14 +00:00
Sterling Hughes c4bb7f4776 add a whole bunch of constants that make the interface somewhat up-to-date. 2002-11-09 13:52:00 +00:00
Sterling Hughes 767c02af51 add check for curl 7.10.2 2002-11-09 13:08:49 +00:00
Sterling Hughes 71d316e39e add support for curl 7.10.* constants (at least most of them)
add support for persistent connections
2002-11-08 17:58:43 +00:00
Wez Furlong be769483d5 Really disable curlwrappers configure option. 2002-11-07 18:07:03 +00:00
Wez Furlong ec955b07bb Disable --with-curlwrappers.
(Pending support from libcurl itself)
2002-11-06 10:24:48 +00:00
Ilia Alshanetsky 62aefeb01f Fixed ZTS build. 2002-10-22 18:54:09 +00:00
Sterling Hughes 102c945501 no need to double fetch 2002-10-21 22:35:59 +00:00
Derick Rethans f85e6fe51d - Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
<alex@wankwood.com>)
2002-10-02 16:44:48 +00:00
Wez Furlong 4d8a07d529 Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
foobar 3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
Derick Rethans 8218b5838c @- PHP's cURL extention now requires cURL version 7.9.8 (Derick)
- Bump up required version number of cURL to 7.9.8
2002-08-25 12:24:40 +00:00
Wez Furlong fc1ef270ce Implement curl based wrappers.
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:

--with-curlwrappers     Use CURL for url streams

Not for production use...

This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00