Commit Graph

41 Commits

Author SHA1 Message Date
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Jani Taskinen
3d733ce6fa - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation) 2010-01-19 13:44:08 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
f61a06350a - Switching to TSRMLS_FETCH version 2009-11-16 10:36:27 +00:00
Felipe Pena
5411bb32a8 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Jani Taskinen
4f760d11f8 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Kalle Sommer Nielsen
21f836ee64 MFH: Fixed compiler warnings
# (see previous commit message)
2009-05-19 18:08:57 +00:00
Jani Taskinen
0b4875313a MFH: - Fixed Bug #45092header HTTP context option not being used (--with-curlwrappers) 2009-05-05 00:31:56 +00:00
Ilia Alshanetsky
e85ec7c864 Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs under
heavy load)

# Patch by giuseppe bonacci
2009-02-23 15:58:19 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
0f2eed24bb MFH 2006-12-20 13:09:02 +00:00
Antony Dovgal
c40975eda5 MFH: missing part of the fix for #38844 2006-09-15 15:42:53 +00:00
Antony Dovgal
fcf4f87919 still output an error, even if there is no curl_easy_strerror() 2006-09-15 15:33:14 +00:00
Antony Dovgal
5111cd3af9 MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0) 2006-09-15 13:44:50 +00:00
Ilia Alshanetsky
307b3bcbb4 Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Ilia Alshanetsky
2ce982b433 Fixed condition 2006-08-10 15:02:41 +00:00
Ilia Alshanetsky
a4d2f04307 Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.

# Patches by Stefan E.
2006-08-10 14:40:13 +00:00
Antony Dovgal
ad3ad9bb79 MFH: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 13:28:03 +00:00
Michael Wallner
d6212d96f4 - only try to fetch stream context options if context is set 2006-06-06 21:38:03 +00:00
Michael Wallner
3dcef1b9be - implement standard http stream wrapper options, fixes bug #34180
- skip empty headers in on_header_available()
2006-05-25 12:41:35 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
4f89b2e0cb Fix crash with e.g. stream_get_meta_data() 2005-08-25 12:25:10 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Sara Golemon
579575e430 Use user_agent ini setting if it's available. 2004-08-31 20:11:18 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Sara Golemon
c56647833b Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Sara Golemon
b1f8236b63 Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
Ilia Alshanetsky
ace83a8262 Silence warning. 2003-11-17 04:54:27 +00:00
Edin Kadribasic
7886bc93f6 Win32 build fixes 2003-06-19 23:07:14 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +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
foobar
b4b661ae0a WS & CS fixes 2003-03-17 15:06:11 +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
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +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
537284418c add multi support and reorganize things a bit... 2002-11-13 22:25:33 +00:00