History log of /PHP-8.0/main/SAPI.c (Results 151 – 175 of 378)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3, php-5.2.7RC2, php-5.2.7RC1, php-4.4.9, php-5.3.0alpha1, php-4.4.9RC1, BEFORE_NEW_PARAMETER_PARSE, RELEASE_1_2_5, RELEASE_2_0_0b1, php-5.2.6, RELEASE_1_0_2, php-5.2.6RC5, php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1
# 6c158374 18-Mar-2008 Rasmus Lerdorf

exit_on_timeout patch

After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things. First, it mak

exit_on_timeout patch

After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things. First, it makes it possible to reset the
timeout without resetting the signal handlers. This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.

The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout. There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.

show more ...


Revision tags: php-5.2.6RC2, php-5.2.6RC1, RELEASE_1_3_1
# a7dabd57 28-Jan-2008 Scott MacVicar

MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.)


Revision tags: php-4.4.8
# d1dded87 31-Dec-2007 Sebastian Bergmann

MFH: Bump copyright year, 2 of 2.


Revision tags: php-4.4.8RC1
# 80a7bf29 03-Dec-2007 Dmitry Stogov

Fixed crash because of uninitialized SG(sapi_headers).mimetype


Revision tags: RELEASE_1_2_3, php-5.2.5, php-5.2.5RC2, php-5.2.5RC1, BEFORE_IMPORT_OF_MYSQLND_IN_5_3, RELEASE_1_2_2, RELEASE_1_2_4, RELEASE_1_2_1, php-5.2.4, RELEASE_1_5, php-5.2.4RC3, php-5.2.4RC2, php-5.2.4RC1, BEFORE_REAL_IMPORT_OF_MYSQLND, BEFORE_IMPORT_OF_MYSQLND, php-5.2.3, RELEASE_1_4
# 6e0d6437 25-May-2007 Rasmus Lerdorf

Slightly cleaner code


# f6bffb69 25-May-2007 Rasmus Lerdorf

Optimize sapi_get_request_time() slightly making it use the cached time
and also checking if there is a server_context before trying to call
the request_time sapi hook.


Revision tags: php-5.2.3RC1, RELEASE_1_2_0, php-4.4.7, php-5.2.2, php-5.2.2RC2
# 4bd17132 25-Apr-2007 Dmitry Stogov

ZTS fix


# 41896020 25-Apr-2007 Antony Dovgal

fix ZTS build


# 8464abe2 25-Apr-2007 Dmitry Stogov

Fixed crashes because of SAPI handlers overrding from inside of dl()-ed extensions


# e1814f0d 16-Apr-2007 Dmitry Stogov

WIN64 support


Revision tags: RELEASE_1_1_0, php-4.4.7RC1, php-5.2.2RC1, RELEASE_1_0_1, php-4.4.6
# efad70c2 27-Feb-2007 Ilia Alshanetsky

snprintf() -> slprintf()


# 50ea2676 24-Feb-2007 Marcus Boerger

- Avoid sprintf, even when checked copy'n'paste or changes lead to errors


Revision tags: php-4.4.6RC1, php-4.4.5, php-5.2.1, RELEASE_1_0_0RC1, php-4.4.5RC2, php-5.2.1RC4, php-5.2.1RC3, php-4.4.5RC1, php-5.2.1RC2
# 4223aa4d 01-Jan-2007 Sebastian Bergmann

MFH: Bump year.


# 96489b41 31-Dec-2006 Ilia Alshanetsky

Fixed bug #39984 (redirect response code in header() could be ignored in
CGI sapi).


# b019cd99 21-Dec-2006 Antony Dovgal

MFH


# 908b1e56 18-Dec-2006 Antony Dovgal

MFH: fix possible invalid read (reproducible only on big-endian machines)


# 9219d7aa 18-Dec-2006 Zeev Suraski

Whitespace


Revision tags: php-5.2.1RC1, php-5.2.0, php-5.2.0RC6, php-5.2.0RC5
# 7d14dad0 19-Sep-2006 Dmitry Stogov

MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).


Revision tags: php-5.2.0RC4, php-5.2.0RC3, php-5.1.6, php-5.2.0RC2, php-5.1.5, php-4.4.4, php-4.4.4RC1, php-5.1.5RC1, php-4.4.3, php-5.2.0RC1, php-4.4.3RC2, BEFORE_NEW_OUTPUT_API, php-4.4.3RC1
# 4df7ab40 10-May-2006 Rasmus Lerdorf

Add input_filter hook call in getenv()


Revision tags: php-5.1.4, RELEASE_1_0_3, php-5.1.3, php-5.1.2, RELEASE_1_3, php-5.1.3RC3, php-5.1.3RC2, php-5.1.3RC1, RELEASE_1_2, RELEASE_0_9_4, RELEASE_1_0_4, php-4.4.2, php-5.1.2RC2, php-4.4.2RC2
# 5bd93221 01-Jan-2006 foobar

bump year and license version


# c5b95528 30-Dec-2005 foobar

MFH: typofix


Revision tags: php-5.1.2RC1, RELEASE_1_1_1, RELEASE_1_1, RELEASE_1_0
# f2415625 06-Dec-2005 Ilia Alshanetsky

MFH: Prevent header injection by limiting each header to a single line.


Revision tags: RELEASE_2_0_2, php-5.1.1, php-5.1.0, php-4.4.2RC1, RELEASE_0_9_3, php-5.1.0RC6, php-5.1.0RC5, RELEASE_2_0_1
# 261eabbd 06-Nov-2005 foobar

MFH


# 496fd1c0 02-Nov-2005 Michael Wallner

- sapi_header_op(SAPI_HEADER_(REPLACE|ADD), {NULL, 0, 0}) caused HTTP response splitting
- sapi_send_headers() already takes care of default_content_type (left over of fix for bug #29983)


# 435b820f 01-Nov-2005 Ilia Alshanetsky

Fixed minor memory leak triggered by: -dzlib.output_compression=1 -m


12345678910>>...16