Dmitry Stogov
bd8f3908c4
Reverted wrong patch
2010-09-20 10:45:22 +00:00
Kalle Sommer Nielsen
210fe80bd5
Fix incompatible types, we need to use a char here for recv()
2010-09-19 19:18:30 +00:00
Pierre Joye
14e77486e0
- unused, double declared
2010-09-15 22:25:44 +00:00
Dmitry Stogov
c290767ed7
Fixed bug #46723 (FastCGI persistent connection is incredibly slow due to TCP ack delay).
2010-09-06 11:11:40 +00:00
Felipe Pena
7396657fc1
- Fixed compiler warning (missing return statement)
2010-09-01 23:21:03 +00:00
Dmitry Stogov
6bc16cce8f
Reduced overhead of FastCGI using near-perfect hash function and predcalculated hash values.
2010-09-01 15:34:48 +00:00
Dmitry Stogov
001d83dc47
invalid length
2010-09-01 14:42:43 +00:00
Dmitry Stogov
d4c2c6c6ba
Don't check FCGI_WEB_SERVER_ADDRS for UNIX sockets
2010-08-27 08:50:32 +00:00
Dmitry Stogov
a95dd97752
Added apache compatible functions (apache_child_terminate, getallheaders, apache_request_headers, apache_response_headers) to FastCGI SAPI
2010-08-27 08:34:44 +00:00
Dmitry Stogov
d663b9cc77
Don't try to read the rest of malformed FCGI requests, close immediately. It saves one recv() call for proper FCGI request.
2010-08-25 13:48:16 +00:00
Dmitry Stogov
7fc86e5cb4
ws
2010-08-25 11:44:15 +00:00
Kalle Sommer Nielsen
250fcf9317
Nuke compiler warning, wrong fix that shouldn't have been in the previously commit
2010-08-18 18:00:33 +00:00
Kalle Sommer Nielsen
34b631f679
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
2010-08-18 13:34:40 +00:00
Kalle Sommer Nielsen
65d031d3da
Use the TSRMLS_DC/TSRMLS_CC macros instead of TSRMLS_FETCH()
2010-08-18 12:59:52 +00:00
Dmitry Stogov
d6e772a1d0
Fixed ZTS build
2010-08-18 11:59:30 +00:00
Dmitry Stogov
bfbfd15a2a
improved performance of FastCGI request parsing
2010-08-18 08:22:41 +00:00
Dmitry Stogov
f20f516129
typo
2010-07-20 11:28:53 +00:00
Dmitry Stogov
b4216e0a82
Use zend_stream API to open main PHP script in CGI/FastCGI. This allows to override the open function by opcode caches and eliminate the actual open syscall.
2010-07-07 16:54:55 +00:00
Dmitry Stogov
d22dff0903
reduced request processing overhead
2010-07-05 15:40:54 +00:00
Felipe Pena
f2419953d9
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
...
# To commit a new common fix
2010-06-30 02:30:14 +00:00
Felipe Pena
22e2302e78
- Improved initialization
2010-06-27 22:13:41 +00:00
Felipe Pena
3396a6d185
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Antony Dovgal
04d673472f
fix micro-memleaks (happened once per process)
2010-06-08 12:02:55 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Pierre Joye
8a197878c8
- Fix #51688 , ini per dir crashes when invalid document root are given
2010-04-30 08:15:09 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Antony Dovgal
6a9d78f102
fix minor leak in CGI sapi (happened once per child)
2009-12-23 09:40:28 +00:00
Dmitry Stogov
b26c9d400d
Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to non-existant file)
2009-11-30 14:43:22 +00:00
Antony Dovgal
f298e6ce6e
fix crash on empty doc_root
2009-10-20 12:57:44 +00:00
Stanislav Malyshev
a226082475
improve fix for #49767 and #47627 - make PHP report
...
"no script" on 404 again
2009-10-16 23:34:31 +00:00
Pierre Joye
e4adfe4f61
- #48779 , fix another use case where / usage may differ
2009-10-15 13:09:25 +00:00
Pierre Joye
e5d4b019b9
- #48779 , improve fix, drop usage of _tolower and use zend_strtolower
2009-10-12 14:40:27 +00:00
Felipe Pena
994307d429
- Fixed build and comment-style
2009-10-09 20:01:16 +00:00
Garrett Serack
8e5a00e546
- changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)
2009-10-09 19:43:00 +00:00
Jani Taskinen
ccd6e501d1
- Simplified a bit and fixed possible memory corruption and definate leak.
2009-09-10 16:19:42 +00:00
Felipe Pena
5c9579c27f
- Drop unused var
2009-09-05 18:22:16 +00:00
Jani Taskinen
f723d368b3
- Fixed bug #49182 (PHP CGI always outputs the shebang line)
2009-09-05 17:07:14 +00:00
Pierre Joye
48d031aa6e
- fix build
2009-08-26 19:17:32 +00:00
Ilia Alshanetsky
19f11e401d
Fixed variable clobbering
2009-08-26 15:29:06 +00:00
Jani Taskinen
555b177c83
- Fix this again :)
2009-07-25 21:07:02 +00:00
Jani Taskinen
dad7c68b27
- Fix test
2009-07-25 00:35:25 +00:00
Pierre Joye
a7db554314
- #48624 .user.ini never gets parsed
2009-06-22 14:10:40 +00:00
Pierre Joye
6086c0866c
- kill unused var
2009-06-17 19:28:52 +00:00
Pierre Joye
f2457fbd56
- #47318 , UMR when trying to activate user config
2009-06-17 19:22:24 +00:00
David Soria Parra
368569c05b
MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
...
The fix was provided by Sriram Natarajan.
2009-06-09 13:31:39 +00:00
Jani Taskinen
a332541aaa
MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
2009-06-04 11:51:43 +00:00
Jani Taskinen
29c0b397ec
MFH: CS + WS changes
2009-06-04 11:47:27 +00:00
Kalle Sommer Nielsen
01fc4ed1d6
MFH: Fix compiler warnings
2009-05-19 16:03:36 +00:00