Commit Graph

423 Commits

Author SHA1 Message Date
Antony Dovgal
83b3d8545e fix test 2007-04-17 20:17:20 +00:00
foobar
c19178d966 MFB:- Fix a possible leak when multiple -c parameters are used 2007-04-17 20:01:22 +00:00
Antony Dovgal
2488b83ebe add tests for CGI 2007-04-17 19:48:22 +00:00
Antony Dovgal
b2f169ebf8 fix leak appearing when more than one -f option specified 2007-04-17 18:51:24 +00:00
foobar
0439662815 MFB: Allow using syntax highlighting in fastcgi mode 2007-04-15 23:02:05 +00:00
foobar
fd9af91146 MFB: sync getopt from CLI 2007-04-15 22:54:26 +00:00
Dmitry Stogov
2ebfb15089 Removed wrong size_t definition 2007-04-09 15:40:23 +00:00
Dmitry Stogov
072f7f1c60 Improved FastCGI SAPI to support external pipe and socket servers on win32 2007-03-28 15:39:35 +00:00
Dmitry Stogov
3a4101c437 Fixed compilation warning 2007-03-12 07:39:24 +00:00
Dmitry Stogov
69ff1d0e4d Return HTTP 403 in case of "access denied". 2007-03-09 16:50:17 +00:00
Dmitry Stogov
b915076031 poll() is not affected by FD_SETSIZE (Tony) 2007-02-26 09:39:08 +00:00
Dmitry Stogov
10ffce3285 Use poll() instead of select() if available 2007-02-24 11:21:10 +00:00
Dmitry Stogov
23ee3bf9bc Check for FD_SETSIZE limit 2007-02-21 15:46:30 +00:00
Antony Dovgal
0f5b9e4e39 fix typo 2007-02-21 08:08:47 +00:00
Antony Dovgal
389e17332e move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in
its result is used in sapi/cli & sapi/embed, not just sapi/cgi
2007-02-20 20:10:53 +00:00
Antony Dovgal
2ad6c07ca1 don't call php_module_startup() directly, use startup functions
patch by Andrei Nigmatulin
2007-02-20 19:19:14 +00:00
Antony Dovgal
95741bd34a MFB 2007-02-20 09:09:47 +00:00
Antony Dovgal
862523f69a MFB: Eliminate strcat() usage
Fixed handling of argv[] for GET
2007-02-19 20:01:17 +00:00
Dmitry Stogov
bc873b7b1d Initialize "retval" on each request 2007-02-19 14:13:35 +00:00
Dmitry Stogov
4de0758b91 Fixed fcgi_putenv() semantic with NULL value 2007-02-19 13:21:49 +00:00
Dmitry Stogov
32d7fd76a2 Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed) 2007-02-16 11:30:38 +00:00
Dmitry Stogov
d57b78aab1 Fixed bug #40414 (possivle endless fork() loop when running fastcgi) 2007-02-15 12:33:54 +00:00
Dmitry Stogov
5ebba1b2f6 Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost) 2007-02-15 12:05:25 +00:00
Dmitry Stogov
68885b28dc Prevent flush() of closed handle on php_module_shutdown() 2007-01-29 19:38:21 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
36e75c5669 make sure l != 0 2006-12-28 22:36:45 +00:00
Dmitry Stogov
916de0e30f Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org) 2006-12-19 09:17:28 +00:00
Dmitry Stogov
65f8f45692 Fixed FastCGI impersonation for persistent connections on Windows 2006-12-05 08:55:34 +00:00
Dmitry Stogov
9fa7b87ff0 Removed unnecessary getenv/putenv calls 2006-11-15 13:34:05 +00:00
Dmitry Stogov
ad2b3e69f0 Fixed wrong ext/filter behavior. It might not to register FastCGI environment variables and make memory leaks. 2006-11-15 11:14:27 +00:00
Dmitry Stogov
dc5124d2bb cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line. 2006-11-14 10:32:11 +00:00
Ilia Alshanetsky
cca8f2ded2 Fixed build 2006-10-25 14:04:48 +00:00
Ilia Alshanetsky
3642ebdcdd Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF if filtered in Apache 1 sapi
2006-10-23 19:17:51 +00:00
Dmitry Stogov
3c8973d51b Fixed bug #39020 (PHP in FastCGI server mode crashes) 2006-10-16 10:47:23 +00:00
Antony Dovgal
b6e0aa9856 fix CGI build 2006-09-23 12:27:35 +00:00
Ilia Alshanetsky
12b0b6368a MFB: Restore support for unquoted -d options 2006-09-22 17:42:08 +00:00
Dmitry Stogov
73d53309c3 Fix for bug #38757 (MultiPart Form Uploads fail with FastCGI) 2006-09-13 13:03:14 +00:00
Dmitry Stogov
45d09f5eac Don't try to do safe connection close in case of FastCGI protocol error 2006-09-11 07:23:40 +00:00
Dmitry Stogov
df23e559b5 Fixed "signed/unsigned mismatch" warning 2006-09-04 07:27:50 +00:00
Dmitry Stogov
b94fb5e09c FastCGI environment variables must not be overriden by system environment variables 2006-08-31 13:12:18 +00:00
Sascha Schumann
3582e2f132 "sa_len" is defined to "sa_union . sa_generic . sa_len2" on IRIX,
so we use another variable name here.
2006-08-20 17:44:06 +00:00
Dmitry Stogov
b0e3dfab13 Documentation fix 2006-07-24 12:15:29 +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
d6669ef575 plug leak in CGI SAPI when running scripts with query string in console 2006-06-19 17:49:20 +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
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