1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00
Commit Graph

90 Commits

Author SHA1 Message Date
Uwe Schindler
2b43578d54 Fix a sigsegv on server shutdown, add missing sapi_shutdown(). 2009-03-20 15:54:36 +00:00
Uwe Schindler
2b2874eafd Fix Bug 47495: Keep header in internal list after add, so headers_list() works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes this more elegant. 2009-02-25 19:52:06 +00:00
Uwe Schindler
f732dfba27 MFH: 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:46:49 +00:00
Sebastian Bergmann
ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Uwe Schindler
e073d72618 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:11:57 +00:00
Uwe Schindler
4560601437 MFH: support stat cache of webserver (like apache does) 2008-11-29 23:44:44 +00:00
Uwe Schindler
77972bc68a MFH: Some nsapi.h specific ifdefs unified & corrected (same like last commit, only cleanup) 2008-11-29 19:59:27 +00:00
Uwe Schindler
877cdf6862 MFH: remove one stat call and replace by cached one
(release-manager: the same like with last commit)
2008-11-29 19:38:04 +00:00
Uwe Schindler
75b081d0d1 Hallo release manager: This patch is not release critical (affects only NSAPI, but I want it to be fixed in the last version of PHP 5.2). If you do not want to have it in, revert it, a new RC is definitely not needed because of this (and I am sure nobody who tests RCs is using NSAPI :)!
MFH: Implement flushing in NSAPI, fix some problems with output buffering if the response was not started (no headers sent) before doing something in ub_write() or flush() - Writing or flushing output will fail in NSAPI, if headers were not sent before.
2008-11-29 14:51:45 +00:00
Uwe Schindler
c1bb953c71 MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :) 2008-06-22 18:10:33 +00:00
Felipe Pena
d39fbb1548 Fix typo (#44381) 2008-03-09 16:06:33 +00:00
Sebastian Bergmann
d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Uwe Schindler
88bef568da MFH: Fix crash on server startup when log message is printed 2007-04-27 00:29:26 +00:00
Uwe Schindler
ad336e432a remove (large) static buffers for header names and request uri 2007-03-06 18:15:25 +00:00
Uwe Schindler
e25bb8ea04 use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now) 2007-03-06 15:43:49 +00:00
Uwe Schindler
f34ec4f606 snprintf patch 2007-03-05 16:29:18 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
b9af8f2719 MFH: nuke php3 legacy 2005-12-06 01:14:02 +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
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Uwe Schindler
844d63081c remove revision tag from module version entry 2003-12-12 16:21:28 +00:00
Uwe Schindler
d3d94ff2f3 fix header handler 2003-10-31 17:31:46 +00:00
Uwe Schindler
4dca199a98 Send correct default content type from php.ini not static text/html (important for other charsets than iso-8859-1) 2003-10-31 12:20:33 +00:00
Uwe Schindler
294fcddc0e Give user the chance to support nsapi_virtual() in newer servers by adding parameter server_lib to php5_init (windows only) 2003-08-04 12:46:03 +00:00
Andrey Hristov
a0ad4f949e Removed the unnecessary check of array_init() return value. 2003-08-01 11:09:11 +00:00
Uwe Schindler
3fbe69f49a Possibility to use php5_execute to display server error pages or directory listing pages 2003-07-24 17:40:40 +00:00
Uwe Schindler
17c02dd9d4 some code cleanups 2003-07-21 14:20:47 +00:00
Uwe Schindler
72aa28d0c3 safe mode fix 2003-07-15 22:19:00 +00:00
Uwe Schindler
e3a55ba297 Make virtual() an alias for nsapi_virtual() -- better for docs/naming in future 2003-07-15 17:30:33 +00:00
Uwe Schindler
948476bd45 rename functions to php5_* 2003-07-02 22:39:37 +00:00
Uwe Schindler
2f280dcd55 prevent user from making nested PHP requests using virtual() 2003-07-02 13:39:41 +00:00
Edin Kadribasic
fa48ad6df3 Fixed ZTS build 2003-06-15 11:50:17 +00:00
Edin Kadribasic
045460edd3 No need for this in the HEAD branch 2003-06-15 11:48:47 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Uwe Schindler
827734280b Update of README for newer servers; apache-similar functions nsapi_request_headers and nsapi_response_headers with apache_* aliases; hide authorization-header in save mode. 2003-06-01 21:14:58 +00:00
Uwe Schindler
6aaa211e9c zend_alter_ini_entry now with PHP_INI_USER 2003-05-31 15:32:50 +00:00
Uwe Schindler
eeb7f4060e Disable virtual() if zlib.output_compression is turned on. Better detection of ns-httpdXX.dll 2003-05-30 23:39:15 +00:00
Uwe Schindler
c1b8e699e1 virtual() now works under windows, too 2003-05-30 13:15:22 +00:00