History log of /PHP-5.3/sapi/apache2filter/sapi_apache2.c (Results 76 – 100 of 159)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8a1556b3 23-Sep-2002 Ilia Alshanetsky

Fixed bug #17662


# b23adfb4 21-Sep-2002 Zeev Suraski

Fix double initialization


# 76312b45 18-Sep-2002 Zeev Suraski

another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1, dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2
# 2fda2eb4 28-Jun-2002 Derick Rethans

- YAAC: I hope this is the last one!


# 890e01be 24-Jun-2002 Rasmus Lerdorf

@ Add runtime Apache2 thread check to ensure we don't run a non-threaded
@ PHP inside a threaded Apache2 MPM. (Rasmus)


# 8a2ab017 24-Jun-2002 Rasmus Lerdorf

@ Turn off ZTS if Apache2 is using the prefork MPM. (Rasmus)


# 44a5b43b 21-Jun-2002 Stefan Esser

Fixing the same possible memory leak.


Revision tags: php-4.3.0dev, php5_5_0
# 5e148e38 08-Jun-2002 Sascha Schumann

too many flushes are bad


Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2
# 8e176a10 05-May-2002 Aaron Bannert

Fix a graceful restart SEGV. We no longer only perform initialization
on the second pass through the post_config. Now we only avoid the
initialization only on the first DSO load, and on all s

Fix a graceful restart SEGV. We no longer only perform initialization
on the second pass through the post_config. Now we only avoid the
initialization only on the first DSO load, and on all subsequent loads
we rerun the init code.

show more ...


# b7593224 05-May-2002 Aaron Bannert

Fix an elusive and intermittent startup SEGV. The problem was
the static string we were using to set an initialization flag
would get remapped to a different location when Apache reloaded

Fix an elusive and intermittent startup SEGV. The problem was
the static string we were using to set an initialization flag
would get remapped to a different location when Apache reloaded
the DSO, causing us to not run our initialization routines.

Submitted by: Justin Erenkrantz <jerenkrantz@apache.org>
Reviewed by: Aaron Bannert (I added the big comment too)

show more ...


Revision tags: php-4.2.1RC1
# b2f9b6fb 24-Apr-2002 Aaron Bannert

Apache does a full load, unload, load cycle for each DSO module.
This patch makes sure that any startup actions that are performed
for PHP don't happen until the second load (the second call

Apache does a full load, unload, load cycle for each DSO module.
This patch makes sure that any startup actions that are performed
for PHP don't happen until the second load (the second call to
the post_config hook), and it also prevents subsequent calls
to the initialization routines.

Suggested By: Cliff Woolley

PR: 16475, 16754

show more ...


Revision tags: php-4.2.0
# 3aa8a9b6 18-Apr-2002 Aaron Bannert

This patch implements a new Apache2 directive called PHPINIDir that
allows the specification of the php.ini directory from within the Apache
configuration. If left unset, the default is to de

This patch implements a new Apache2 directive called PHPINIDir that
allows the specification of the php.ini directory from within the Apache
configuration. If left unset, the default is to defer to the hard-coded
php paths. When set, the supplied path is made relative to Apache's
internal ServerRoot setting.

Example:
PHPINIDir "conf"
# PHP will now look in the ServerRoot/conf directory for the php.ini file

show more ...


# d11ee7c1 18-Apr-2002 Aaron Bannert

Fix an intermittent SEGV when an error bubbled up from PHP before our
server context was set. Now if that happens we simply don't log against
any particular server config (vhost).

Ob

Fix an intermittent SEGV when an error bubbled up from PHP before our
server context was set. Now if that happens we simply don't log against
any particular server config (vhost).

Obtained from bug report by: Balazs Nagy <js@iksz.hu>

show more ...


# 2e3ce44c 16-Apr-2002 Aaron Bannert

It makes more sense to do the null-pointer check *before* trying to use it.
(Also fix a typo that Cliff pointed out: "safe" --> "save".)

Obtained from: Ryan Morgan <rmorgan@covalent.net>


Revision tags: php-4.2.0RC4
# b21931e6 14-Apr-2002 foobar

ws fixes


# bf8bb929 12-Apr-2002 Aaron Bannert

Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler.


Revision tags: php-4.2.0RC3
# 22fb5073 11-Apr-2002 Aaron Bannert

Fix a problem where php-generated data was pushed down the entire output
filter chain instead of just down the rest of the chain. This fix will
speed up some unnecessary overhead introduced i

Fix a problem where php-generated data was pushed down the entire output
filter chain instead of just down the rest of the chain. This fix will
speed up some unnecessary overhead introduced in the last patch.

Suggested by: Cliff Woolley <jwoolley@apache.org>

show more ...


# 27a5b380 11-Apr-2002 Aaron Bannert

PHP filters and Apache 2 aren't quite a perfect match yet, so we have
to do some trickery with the server_context to make sure it is always
valid within the current thread.

This patc

PHP filters and Apache 2 aren't quite a perfect match yet, so we have
to do some trickery with the server_context to make sure it is always
valid within the current thread.

This patch makes sure the server_context is created in apache's
post_read_request hook phase, and then registeres a cleanup that
will NULL out the server context when the request goes out of scope.
Then, inside the output filters, if the server_context is null we
throw an error. Finally, instead of saving the output filter in
the server_context, now we store the entire request_rec pointer
in there.

POST bodies appear to be working now, although they are very inefficient.
The input filter is still just realloc()ing for whatever data comes
down the input pipe, and then sending this to PHP. This means that
we are doing some really nasty memory management on big POST bodies.
For now this it allows for unlimited input bodies, which means that
a big POST could potentially DoS a box by making it run out of memory.
We might want to put a limit on here just in case, at least until
we figure out how to consume input data more efficiently into php.

show more ...


# caf7f3d4 11-Apr-2002 Aaron Bannert

Don't depend on the context provided by the filter (f->ctx) anymore. In
Apache 2 the input and output filter contexts are kept unique. We now
only depend on SG(server_context) for each reques

Don't depend on the context provided by the filter (f->ctx) anymore. In
Apache 2 the input and output filter contexts are kept unique. We now
only depend on SG(server_context) for each request, and assume that
the same thread will process the entire request. At some point it
would be wise to separate the input and output contexts.

show more ...


# d19fd6a0 11-Apr-2002 Aaron Bannert

Return the number of bytes consumed, not the number of bytes left.

Suggested by: Brian Havard <brianh@kheldar.apana.org.au>


# 38af983c 11-Apr-2002 Sebastian Bergmann

Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley <jwoolley@virginia.edu>.


Revision tags: php-4.2.0RC2
# eab1211e 29-Mar-2002 Doug MacEachern

adjust to recent apr bucket api changes


Revision tags: php-4.2.0RC1, help
# 118761e1 13-Mar-2002 Sebastian Bergmann

Sync with Apache2 Filter API change.


Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH
# a1b21e0c 25-Jan-2002 Doug MacEachern

adjust to ap_get_brigade() API change


# cb0a0980 20-Jan-2002 Doug MacEachern

adjust to ap_get_brigade and input filter api changes


1234567