Commit Graph

1757 Commits

Author SHA1 Message Date
Antony Dovgal
cdb628d67d nuke unused variable 2006-07-26 10:30:45 +00:00
Michael Wallner
29438e890a - fix TS issue found by Jani 2006-07-25 20:22:28 +00:00
Dmitry Stogov
61d39cf1c1 Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 13:41:08 +00:00
Dmitry Stogov
b0e3dfab13 Documentation fix 2006-07-24 12:15:29 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Ilia Alshanetsky
bb9a727682 MFB: apache2handler sapi is no longer experimental 2006-07-11 00:15:44 +00:00
Edin Kadribasic
66790e727a Added windows build support for apach2filter, supporting apache 2.0.x and 2.2.x 2006-07-05 10:12:42 +00:00
Antony Dovgal
5c06523d75 fix #37920 (compilation problems on z/OS) 2006-06-27 08:26:54 +00:00
Hannes Magnusson
9f96f0340b Argument info 2006-06-25 19:17:20 +00:00
Antony Dovgal
737e1bdd92 initialize pointers 2006-06-20 13:01:08 +00:00
Antony Dovgal
d6669ef575 plug leak in CGI SAPI when running scripts with query string in console 2006-06-19 17:49:20 +00:00
Michael Wallner
dbfa7271c8 MFB52: Fix Bug #37780 memory leak trying to execute a non existing file (CLI) 2006-06-19 14:53:03 +00:00
Antony Dovgal
cb68193690 add missing ifdef and avoid "unused variable" warning 2006-06-19 11:38:51 +00:00
Nuno Lopes
f1d78f433d MFB 2006-06-17 11:14:21 +00:00
Dmitry Stogov
e901a7a870 Removed warnings 2006-06-13 14:22:27 +00:00
Dmitry Stogov
cd54f8ef04 Removed warning 2006-06-13 13:55:32 +00:00
Michael Wallner
40ac3637c2 - sync with apache2handler 2006-06-09 16:29:25 +00:00
Michael Wallner
d6b04eb53e - fix bug #37720 (merge_php_config scrambles values) 2006-06-09 15:13:12 +00:00
Johannes Schlüter
9c5fdd1b7f - Removed useless -g command line option from CGI and CLI
- Fixed conflicting behaviour if -B and -a are set with CLI
- Fixed handling of auto_prepend and exceptions in readline-a-mode
2006-06-03 22:00:30 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Michael Wallner
04766b7933 - call ap_set_content_type() only once, else each time we call it,
configured output filters for that content type will be added
2006-05-28 20:31:15 +00:00
Dmitry Stogov
c6256d890a Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-25 06:40:47 +00:00
Dmitry Stogov
94004da0ed Fixed bug #37256 (php-fastcgi dosen't handle connection abort) 2006-05-24 09:41:55 +00:00
Dmitry Stogov
0f9c8e550e Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used). 2006-05-24 07:52:58 +00:00
Dmitry Stogov
dbf6f9b81c Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-22 09:23:01 +00:00
Antony Dovgal
0e5ce38c04 fix typo 2006-05-22 06:49:44 +00:00
Dmitry Stogov
c0c388832c - Removed source compatibility with libfcgi
- Optimized access to FastCGI environment using HashTable instead of linear sear
ch
- Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die
- Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers
2006-05-15 14:30:50 +00:00
Rasmus Lerdorf
9b985490f6 We might want to consider moving this to a long throughout the sapi code,
but for now switch to a signed int.
2006-05-13 21:48:14 +00:00
Dmitry Stogov
b75a22b203 Fixed bug #37306 (max_execution_time = max_input_time). 2006-05-11 22:08:55 +00:00
Rasmus Lerdorf
839c3e24a3 MFB input filter hook for getenv() 2006-05-10 21:25:01 +00:00
Ilia Alshanetsky
2721311863 MFB: Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). 2006-05-09 22:00:36 +00:00
Edin Kadribasic
75af4d3bb5 MFB: Enable parallel build against Apache 2.2 libs and headers 2006-05-07 00:10:06 +00:00
Dmitry Stogov
27fe3ef1e7 Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdolecek) 2006-05-05 07:05:59 +00:00
Antony Dovgal
8ab0e121d4 plug leak 2006-05-03 19:40:49 +00:00
Dmitry Stogov
d958c27fca Fixed bug #37205 (incompatibility with mod_fastcgi) 2006-05-03 15:48:33 +00:00
Dmitry Stogov
0f489f738c Fixed incompatibility with isapi_fcgi.dll 2006-05-03 13:20:12 +00:00
Uwe Schindler
c9156346eb Remove hiding of authorization headers completely because safe mode canceled 2006-04-29 21:50:17 +00:00
Frank M. Kromann
954199c9fb More ZSTR() fixes 2006-04-29 14:53:26 +00:00
Dmitry Stogov
f9a6119214 Proper fix for bug #37205 2006-04-27 11:39:46 +00:00
Dmitry Stogov
3bc7017543 Revert wrong fix 2006-04-26 17:48:45 +00:00
Dmitry Stogov
8fbff809bd Fixed bug #37205 (Serving binary content/images fails with "comm with server aborted" FastCGI err) 2006-04-26 11:08:23 +00:00
Edin Kadribasic
80ac536d13 MFB: Correctly import external data (#33292) 2006-04-26 09:32:11 +00:00
Dmitry Stogov
09d628c62d Fixed compilation on Solaris 2006-04-24 09:56:56 +00:00
Andrei Zmievski
a4cea91d01 MFB 2006-04-23 19:57:40 +00:00
Frank M. Kromann
1791befa0c Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR) 2006-04-22 10:39:31 +00:00
Dmitry Stogov
4c583d6f73 Fixed SUN_LEN calculation 2006-04-18 06:59:31 +00:00
Dmitry Stogov
83657db8ff Fixed memory leaks 2006-04-18 06:58:54 +00:00
Dmitry Stogov
f3c00034b6 CGI anf FastCGI assume $_SERVER and $_ENV have the same values,
so we don't need construct the same arrays twich and may just copy it
2006-04-07 13:45:51 +00:00
Dmitry Stogov
3ada78d408 Removed unnecessary copying 2006-04-07 12:39:28 +00:00