Commit Graph

2070 Commits

Author SHA1 Message Date
Arnaud Le Blanc
047870a61f MFB: Added header_remove() (chsc at peytz dotdk, Arnaud) 2008-11-13 10:33:08 +00:00
Rasmus Lerdorf
f459896964 Fix for bug #46525 which fixes Ilia's fix for bug #46319 2008-11-09 15:50:13 +00:00
Alexey Zakhlestin
bf9dc86e1a MFB: new parameter-parsing API 2008-11-07 13:28:56 +00:00
Arnaud Le Blanc
0036a09ebe Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:04:28 +00:00
Marcus Boerger
57a1a7c48d - Cleanup 2008-11-04 00:34:24 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
01b1c57f6a - Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at yahoo dot com) 2008-10-24 23:16:16 +00:00
Felipe Pena
916b56d2d9 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 16:02:16 +00:00
Arnaud Le Blanc
d5c0fbb06b Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 03:19:07 +00:00
Ilia Alshanetsky
23ed94cbba MFB: Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
response code, in cgi sapi)
2008-10-17 01:34:26 +00:00
Rob Richards
a750e6a8e8 use getenv 2008-09-30 15:10:34 +00:00
George Wang
86978e726c *** empty log message *** 2008-09-21 02:37:57 +00:00
George Wang
babc62e9ea disable core dump by default 2008-09-21 02:34:48 +00:00
Dmitry Stogov
1b6dbf2c7a Fixed bug #45860 (header() function fails to correctly replace all Status lines) 2008-09-02 13:22:27 +00:00
Dmitry Stogov
85a0fa8fd0 Fixed bug #42318 (problem with nm on AIX, not finding object files) 2008-09-01 13:15:42 +00:00
Marcus Boerger
35d30c97fe - Fix test 2008-08-30 11:32:12 +00:00
George Wang
aeb4dd8796 ignore signal SIGXFSZ 2008-08-26 21:59:56 +00:00
Alexey Zakhlestin
1092c84220 MFB: switch to the new parameter-parse API 2008-08-26 17:36:33 +00:00
Rasmus Lerdorf
cf06da29a5 Remove stray folding tag here 2008-08-26 15:37:38 +00:00
Dmitry Stogov
7a12ee1ccc Fixed bug #45786 (FastCGI process exited unexpectedly) 2008-08-26 09:56:22 +00:00
Dmitry Stogov
d2197dfef8 Fix for bug #45786 (FastCGI process exited unexpectedly) 2008-08-18 10:48:49 +00:00
Dmitry Stogov
2f41686810 Fixed double call to MSHUTDOWN in case of php-cgi -m 2008-08-15 07:31:07 +00:00
Jani Taskinen
2f9fddbb7b - Fix test 2008-08-14 20:50:56 +00:00
Jani Taskinen
5a6f6baa86 - Fix tests 2008-08-14 20:05:00 +00:00
Antony Dovgal
9eb18c3ccb nuke unused var 2008-08-14 09:46:12 +00:00
Dmitry Stogov
bb15ca0a56 Fixed bug #45779 (regression with shebang lines processing) 2008-08-13 06:17:15 +00:00
Jani Taskinen
bc6a9ad209 [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC]  startup:
[DOC]
[DOC]  To disable: Override default php.ini by using both -c and -n with
[DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC]              to an empty string.
[DOC]
[DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC]             to another path.

- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Nuno Lopes
52044a7003 MFB: fix build 2008-08-07 19:32:48 +00:00
George Wang
fcb1f9d857 use PHP_ARG_WITH instead of AC_ARG_WITH 2008-08-07 16:41:30 +00:00
George Wang
3fa8a8babb add CREDITS 2008-08-05 22:30:56 +00:00
Dmitry Stogov
c1ef996a1c Removed shebang line check from CGI sapi (it is checked by scanner) 2008-08-04 07:20:44 +00:00
Jani Taskinen
3cd81726a2 oops 2008-08-03 11:55:06 +00:00
Jani Taskinen
e008959c02 - Added missing $Id$ tags and nuked c++ comments 2008-08-03 11:46:02 +00:00
Jani Taskinen
bde0403de0 - Fixed bug #45568 (ISAPI does not property clear auth_digest in header). 2008-07-31 00:48:32 +00:00
George Wang
835c0b022c make it compatible with PHP 6.0 using new php output API 2008-07-30 00:07:29 +00:00
Antony Dovgal
dba7f154fc fix warnings 2008-07-25 15:05:33 +00:00
Arnaud Le Blanc
6688c798e1 Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:11:48 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Dmitry Stogov
637e591a3d Fixed chdir() into requested file directory inconsistencies 2008-07-21 08:42:35 +00:00
Felipe Pena
d986dd8bc1 - MFB: Added arginfo 2008-07-20 14:29:30 +00:00
Felipe Pena
a230643038 - MFB: Added arginfo 2008-07-16 11:59:34 +00:00
Dmitry Stogov
18076953a1 Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)) 2008-07-15 13:38:56 +00:00
Dmitry Stogov
6cf169b16c Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com) 2008-07-15 13:10:42 +00:00
Antony Dovgal
94f128cfcf use int for length 2008-07-14 10:51:45 +00:00
Nuno Lopes
ec8a21dd95 add 2008-07-06 17:00:00 +00:00
Nuno Lopes
96258d4a76 MFB 2008-07-06 16:42:10 +00:00
Alexey Zakhlestin
6495bcca65 updated to the new parameter-parsing api (port from 5.3) 2008-06-28 10:16:25 +00:00
Dmitry Stogov
c3408755ec Fixed possible buffer overflow 2008-06-23 11:38:10 +00:00
Uwe Schindler
756731f2c8 fix flushing for PHP6 output code 2008-06-22 22:28:31 +00:00
Uwe Schindler
bd3e42dc99 URI should be UTF-8 2008-06-22 22:16:41 +00:00
Uwe Schindler
8c6f54c94f Response to: [PHP-DEV] cleaning up the functions - any volunteers? :) 2008-06-22 18:08:45 +00:00
Felipe Pena
068e927322 - Removed UEXPECTF 2008-06-13 01:16:25 +00:00
Scott MacVicar
2926ffea4d MFB: Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds) 2008-06-01 16:10:46 +00:00
Matt Wilmas
d5aff66781 Fixed build 2008-06-01 14:01:07 +00:00
Elizabeth Marie Smith
132ecdfa7d MFB and steph's pecl fixes into confutils 2008-05-14 03:32:27 +00:00
George Wang
cd6bdb6fbe use nonblock listener socket to avoid blocking 2008-04-15 18:36:48 +00:00
Elizabeth Marie Smith
8c285a77a3 MFB 2008-04-15 16:59:40 +00:00
Dmitry Stogov
f3c82b0055 Optimized request startup sequence for php.ini without per dir and per host conf
igurations
2008-04-15 11:32:13 +00:00
Dmitry Stogov
afbc0c20ab Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) 2008-04-09 09:17:01 +00:00
Antony Dovgal
4ab97f25a8 fix test 2008-04-07 12:13:36 +00:00
George Wang
274d0242a1 dual-license LSAPI lib, code style updates 2008-04-03 16:44:44 +00:00
Dmitry Stogov
3cbd48398d - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
  (Andrey Nigmatulin)
2008-04-03 10:25:08 +00:00
George Wang
80bb8ea277 code style changes: using TAB for indenting, moving opening { to the end of previous line 2008-04-01 05:01:14 +00:00
Felipe Pena
223b7349a0 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:27:37 +00:00
George Wang
c8ca9d2275 follow PHP coding standard 2008-03-27 19:24:14 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Marcus Boerger
97781b818b - Fix memory leak found by Osman
- Merge strlen to sizof change from CLI
2008-03-25 22:04:58 +00:00
Marcus Boerger
bd366b66da - Use sizeof rather than strlen and cleanup 2008-03-25 21:58:03 +00:00
George Wang
a4213c5e63 catch up with the latest release 2008-03-19 22:43:25 +00:00
Felipe Pena
c2cc4c428e Fixed test 2008-03-19 19:16:58 +00:00
Rasmus Lerdorf
b911467d1d MFB
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Dmitry Stogov
ea9305c543 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
Antony Dovgal
9d255b6f2f fix test 2008-03-17 14:05:32 +00:00
Lars Strojny
a25b1f6d6d Adding itk again to non-threaded MPMs. Sorry for the confusion 2008-03-11 22:50:41 +00:00
Felipe Pena
d2f4086e34 Fix typo (#44381) 2008-03-09 16:07:46 +00:00
Lars Strojny
7e63d1eb67 sapi/apache2(handler|filter)/config.m4: Removing itk from the list of threaded MPMs (thanks Hannes) 2008-03-09 12:37:05 +00:00
Lars Strojny
b15b1dcedd Adding itk and and peruser MPM to the list of threaded Apache MPMs 2008-03-09 01:10:13 +00:00
Johannes Schlüter
421414f913 - New tests 2008-03-07 21:32:52 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Johannes Schlüter
b3fc4f94cf - New tests 2008-03-01 21:55:20 +00:00
Felipe Pena
187b9d27c0 Revert 2008-02-28 15:34:51 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Antony Dovgal
cfcfbb24da use pcre for testing reflection 2008-02-28 09:18:06 +00:00
Ilia Alshanetsky
9737e9ee3b MFB: Fixed security issue detailed in CVE-2008-0599 2008-02-28 00:52:11 +00:00
Dmitry Stogov
965054d2f0 optimization 2008-02-15 14:51:52 +00:00
Marcus Boerger
8942024d3d - MFB Sync 2008-02-03 17:50:06 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Dmitry Stogov
3c02d2402d Fixed bug #43968 (Extending internal class causes a crash)
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:43 +00:00
Antony Dovgal
87c9233d83 fix test 2008-01-29 12:27:49 +00:00
Hannes Magnusson
5bbb878db0 Fix test 2008-01-27 19:10:26 +00:00
Ilia Alshanetsky
ee3b0eefa6 MFB: Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
response)
2008-01-16 15:50:53 +00:00
Ilia Alshanetsky
7129e68436 MFB: fixed test 2008-01-13 17:23:36 +00:00
Ilia Alshanetsky
6c945ee014 MFB: Update copyright 2008-01-01 18:30:59 +00:00
Sebastian Bergmann
3c94f05aea MFB: Leftover: Bump copyright year. 2008-01-01 06:22:15 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
b6da010f35 fix test 2007-12-15 12:44:21 +00:00
Dmitry Stogov
e54f02059e The -f option is fixed to work in the same way as in CLI sapi 2007-12-03 09:38:25 +00:00
Jani Taskinen
ae2b2b1465 - Added support for [HOST=www.example.com] sections
# Works the same way as PATH, just the SERVER_NAME is matched with these
2007-11-09 16:02:50 +00:00