Commit Graph

148 Commits

Author SHA1 Message Date
Uwe Schindler
2605683a36 Fix a sigsegv on server shutdown, add missing sapi_shutdown().
!!! This should also be merged into 5.3, I prepared it, please tell me if it is ok to commit !!!
2009-03-20 15:53:34 +00:00
Uwe Schindler
76c26c9810 revert last commit, sizeof does not work in preprocessor :( 2009-01-11 13:46:45 +00:00
Uwe Schindler
044971a23a add sanity check for time_t size of win32 2009-01-11 13:39:01 +00:00
Uwe Schindler
72dad2c9a3 the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour. 2009-01-06 13:45:30 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Uwe Schindler
8786ee7ce0 remove unneeded includes (not needed since NSAPI 3.0, wich is very old). This is needed for cleanup of the windows build. 2008-12-01 10:08:42 +00:00
Uwe Schindler
d2e97a0e09 support stat cache of webserver (like apache does) 2008-11-29 23:43:43 +00:00
Uwe Schindler
4a2fd02927 Some nsapi.h specific ifdefs unified & corrected 2008-11-29 19:57:23 +00:00
Uwe Schindler
ba4ed0395a remove one stat call and replace by cached one 2008-11-29 19:36:40 +00:00
Uwe Schindler
ca51af4219 - Implement the changes needed for http://news.php.net/php.cvs/54228
- Additionally implement flushing in NSAPI and fix some small things
2008-11-29 14:44:26 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
916b56d2d9 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 16:02:16 +00:00
Felipe Pena
a230643038 - MFB: Added arginfo 2008-07-16 11:59:34 +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
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
Felipe Pena
d2f4086e34 Fix typo (#44381) 2008-03-09 16:07:46 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
dee01c13ad - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 23:10:14 +00:00
Uwe Schindler
218ce59478 Fix crash on server startup when log message is printed 2007-04-27 00:29:02 +00:00
Uwe Schindler
4f370ac55f Update function names for PHP6 to php6* 2007-03-06 19:47:12 +00:00
Uwe Schindler
7d9bf1d1cc remove (large) static buffers for header names and request uri 2007-03-06 18:15:04 +00:00
Uwe Schindler
ff979699c9 use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now) 2007-03-06 16:19:36 +00:00
Uwe Schindler
f8b7d0e046 snprintf patch 2007-03-05 16:28:39 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Uwe Schindler
d32cc4e0e4 update readme 2006-10-27 07:29:15 +00:00
Uwe Schindler
fbe7a4f545 Fix build in Sun Webserver 7 2006-10-27 07:22:46 +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
Uwe Schindler
c9156346eb Remove hiding of authorization headers completely because safe mode canceled 2006-04-29 21:50:17 +00:00
Ilia Alshanetsky
87c4a01b87 Nuke safe_mode from sapi/*
# only main/ remains at this point, this is the next step
2006-03-07 14:43:16 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
5ee664f80e nuke php3 legacy 2005-12-06 01:13:59 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Dmitry Stogov
d647e000a7 Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed) 2005-07-04 12:47:10 +00:00
Uwe Schindler
3fb36bf08e Add sapi.get_request_time() to NSAPI 2005-04-03 19:16:23 +00:00
Rasmus Lerdorf
fdaa130f3a Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
2004-12-20 19:33:41 +00:00
Uwe Schindler
74fe4ec0cb changed order of processing of ini entries 2004-09-20 13:30:13 +00:00
Uwe Schindler
5e1f396849 Fixed bug #29805 (HTTP Authentication Issues) 2004-09-15 21:28:30 +00:00
Uwe Schindler
3bb7e73656 replace strncpy with strlcpy 2004-06-26 10:30:07 +00:00
Uwe Schindler
8327d4e2bd Addendum to bug #28878: change ini keys as PHP_INI_SYSTEM
Also: Adding "bucket" parameter to non-ini-keys, Elemination of double CONTENT_TYPE/_LENGTH environment variables
2004-06-23 13:02:01 +00:00
Uwe Schindler
e276023d82 Fix bug #28878: php.ini values in php5_execute 2004-06-22 15:37:40 +00:00
Uwe Schindler
b39a1e5195 Security fix: Put '\0' string termination before loop 2004-05-03 12:23:25 +00:00
Uwe Schindler
fcfe11e9e4 hint to raise stacksize (bug #27231) 2004-03-18 13:37:16 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00