Arnaud Le Blanc
aaaf67e19e
Updated header_handler in apache2filter and apache_hooks
2008-11-13 13:41:08 +00:00
Arnaud Le Blanc
8c4151ad72
Added header_remove() (chsc at peytz dotdk, Arnaud)
...
[DOC] proto void header_remove([string header_name])
Removes an HTTP header previously set using header()
The header_name parameter is optionnal, all headers are
removed if it is not set
[SAPIs] The header_handler callback in sapi_module_struct has
been changed, it now take a new argument.
When it is set to SAPI_HEADER_DELETE, sapi_header->header is
the name of an header, header_handler has to delete it.
When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
to delete all headers.
When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
sapi_header->header is in the form "Name: value", header_handler
has to add or replace the given header.
In all cases, header_handler must not free sapi_header or
sapi_header->header. SAPI_HEADER_ADD must be returned if the
header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
Rasmus Lerdorf
f121e72ac7
Fix for bug #46525
2008-11-08 22:56:17 +00:00
Alexey Zakhlestin
f9d86cf9d3
new parameter-parsing API
2008-11-07 13:28:23 +00:00
Arnaud Le Blanc
9b0d76d585
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:05:31 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
8fa119a6f6
- MFH: Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at yahoo dot com)
2008-10-24 23:16:46 +00:00
Felipe Pena
cc9a286005
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 16:03:15 +00:00
Arnaud Le Blanc
e3c556c85e
MFH: Fixed FCGI_GET_VALUES requests ( fixes #45522 )
2008-10-21 03:19:28 +00:00
Ilia Alshanetsky
e45af91313
Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 response
...
code, in cgi sapi)
2008-10-17 01:31:12 +00:00
Rob Richards
a16bcaeb4b
MFH: use getenv
2008-09-30 15:11:05 +00:00
George Wang
ffe4bd566f
*** empty log message ***
2008-09-21 02:38:32 +00:00
George Wang
0f4f00e3ae
disable core dump by default
2008-09-21 02:34:08 +00:00
Dmitry Stogov
51eb7f5de9
Fixed bug #45860 (header() function fails to correctly replace all Status lines)
2008-09-02 13:22:16 +00:00
Dmitry Stogov
762d6706d3
Fixed bug #42318 (problem with nm on AIX, not finding object files)
2008-09-01 13:15:31 +00:00
Marcus Boerger
3dadcee60b
- MFH Fix test
2008-08-30 11:32:29 +00:00
George Wang
f091e745c9
ignore signal SIGXFSZ
2008-08-26 22:05:17 +00:00
Alexey Zakhlestin
e7eba5af6a
switch to the new parameter-parse API
2008-08-26 17:34:16 +00:00
Rasmus Lerdorf
421751d240
Remove stray folding tag here
2008-08-26 15:37:01 +00:00
Dmitry Stogov
ced680941a
Fixed bug #45786 (FastCGI process exited unexpectedly)
2008-08-26 09:56:08 +00:00
Dmitry Stogov
5304e5631f
Fix for bug #45786 (FastCGI process exited unexpectedly)
2008-08-18 10:49:35 +00:00
Dmitry Stogov
4362b07e62
Fixed double call to MSHUTDOWN in case of php-cgi -m
2008-08-15 07:30:50 +00:00
Jani Taskinen
13dff74889
fix tests
2008-08-14 20:51:35 +00:00
Antony Dovgal
593e7c7da4
MFH: nuke unused var
2008-08-14 09:46:26 +00:00
Jani Taskinen
e5e6f553a2
MFH
2008-08-13 00:53:28 +00:00
Dmitry Stogov
05376077b3
Fixed bug #45779 (regression with shebang lines processing)
2008-08-12 16:43:53 +00:00
Nuno Lopes
9732c409a4
fix this, so that I can build php without litespeed..
2008-08-07 19:32:15 +00:00
George Wang
7c7bb11bcd
use PHP_ARG_WITH instead of AC_ARG_WITH
2008-08-07 16:41:31 +00:00
George Wang
52604d2832
added litespeed SAPI
2008-08-05 22:37:32 +00:00
Dmitry Stogov
7355c3c54c
Removed shebang line check from CGI sapi (it is checked by scanner)
2008-08-04 07:20:15 +00:00
Jani Taskinen
b17dc14f18
MFH: nuketh C++ comments
2008-08-03 12:15:55 +00:00
Jani Taskinen
a31dc18b39
MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header).
2008-07-31 00:48:48 +00:00
Antony Dovgal
5265201075
fix warnings
2008-07-25 15:05:48 +00:00
Arnaud Le Blanc
aa31988e43
MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779 )
2008-07-24 09:12:45 +00:00
Antony Dovgal
28a22396d4
MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
2008-07-23 11:25:14 +00:00
Felipe Pena
fdfbfb96a1
- MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen())
2008-07-22 14:09:24 +00:00
Dmitry Stogov
baab204436
Fixed chdir() into requested file directory inconsistencies
2008-07-21 08:43:36 +00:00
Felipe Pena
b22f47ee30
- Added arginfo
2008-07-20 14:28:41 +00:00
Scott MacVicar
35c58958a2
Fix compile error due to the removal of fteller on streams.
2008-07-18 13:08:08 +00:00
Felipe Pena
67185d6098
- Added arginfo
2008-07-16 11:59:15 +00:00
Dmitry Stogov
05f3ed67d4
Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))
2008-07-15 13:39:17 +00:00
Dmitry Stogov
c27eba9bcf
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:11:19 +00:00
Antony Dovgal
8793440eee
fix test
2008-07-13 09:42:25 +00:00
Nuno Lopes
180a7bef35
add test for the shebang thing
2008-07-06 16:59:39 +00:00
Nuno Lopes
504fe5eedb
fix test for good consoles (tm)
2008-07-06 16:38:18 +00:00
Antony Dovgal
d76ecaae08
long -> int + minor sources reorganization
2008-07-01 07:58:42 +00:00
Alexey Zakhlestin
d33c8680ab
fixed types (no more compiler warnings)
2008-06-28 10:01:17 +00:00
Alexey Zakhlestin
0045cb305b
updated to the new parameter-parsing api
2008-06-28 09:52:03 +00:00
Dmitry Stogov
8054f84a3c
Fixed possible buffer overflow
2008-06-23 11:37:50 +00:00
Uwe Schindler
48bfd44789
MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :)
2008-06-22 18:09:41 +00:00