<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi, branch php-4.2.0RC3</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix a problem where php-generated data was pushed down the entire output</title>
<updated>2002-04-11T20:34:31+00:00</updated>
<author>
<name>Aaron Bannert</name>
<email>aaron@php.net</email>
</author>
<published>2002-04-11T20:34:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a032a7e82a324513215133f1ea5cfba078a756bc'/>
<id>a032a7e82a324513215133f1ea5cfba078a756bc</id>
<content type='text'>
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 &lt;jwoolley@apache.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;jwoolley@apache.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PHP filters and Apache 2 aren't quite a perfect match yet, so we have</title>
<updated>2002-04-11T19:27:27+00:00</updated>
<author>
<name>Aaron Bannert</name>
<email>aaron@php.net</email>
</author>
<published>2002-04-11T19:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f44cd6f30eec1d4459efbef0eda5a4e4f6ddbd99'/>
<id>f44cd6f30eec1d4459efbef0eda5a4e4f6ddbd99</id>
<content type='text'>
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.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

</pre>
</div>
</content>
</entry>
<entry>
<title>Don't depend on the context provided by the filter (f-&gt;ctx) anymore. In</title>
<updated>2002-04-11T17:32:37+00:00</updated>
<author>
<name>Aaron Bannert</name>
<email>aaron@php.net</email>
</author>
<published>2002-04-11T17:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=5d2bb8b8d5189eca232d817873ff8aa079e1f226'/>
<id>5d2bb8b8d5189eca232d817873ff8aa079e1f226</id>
<content type='text'>
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.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

</pre>
</div>
</content>
</entry>
<entry>
<title>Return the number of bytes consumed, not the number of bytes left.</title>
<updated>2002-04-11T17:18:48+00:00</updated>
<author>
<name>Aaron Bannert</name>
<email>aaron@php.net</email>
</author>
<published>2002-04-11T17:18:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2721e6afa7301458c21d669b29e8e94d8f87fec9'/>
<id>2721e6afa7301458c21d669b29e8e94d8f87fec9</id>
<content type='text'>
Suggested by:  Brian Havard &lt;brianh@kheldar.apana.org.au&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by:  Brian Havard &lt;brianh@kheldar.apana.org.au&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>MFH (Update README).</title>
<updated>2002-04-11T17:02:32+00:00</updated>
<author>
<name>Sebastian Bergmann</name>
<email>sebastian@php.net</email>
</author>
<published>2002-04-11T17:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=77b892c26e1b0f0ee60c1d8588b47a488de53a4d'/>
<id>77b892c26e1b0f0ee60c1d8588b47a488de53a4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH (Patch by Aaron Bannert &lt;aaron@clove.org&gt; and Cliff Woolley &lt;jwoolley@virginia.edu&gt;).</title>
<updated>2002-04-11T06:04:21+00:00</updated>
<author>
<name>Sebastian Bergmann</name>
<email>sebastian@php.net</email>
</author>
<published>2002-04-11T06:04:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3df45d6dd806e5b3c2dc1aa2237908dde081aca9'/>
<id>3df45d6dd806e5b3c2dc1aa2237908dde081aca9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH</title>
<updated>2002-04-10T09:43:07+00:00</updated>
<author>
<name>foobar</name>
<email>sniper@php.net</email>
</author>
<published>2002-04-10T09:43:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c959af2365fa24de5fdfca494fa123859c0801d6'/>
<id>c959af2365fa24de5fdfca494fa123859c0801d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix compile warnings</title>
<updated>2002-04-09T06:13:01+00:00</updated>
<author>
<name>Sterling Hughes</name>
<email>sterling@php.net</email>
</author>
<published>2002-04-09T06:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b866eac68f94b39abd2c94d7a700d4d5e50fce3a'/>
<id>b866eac68f94b39abd2c94d7a700d4d5e50fce3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH (.dsp fixes)</title>
<updated>2002-04-06T16:12:52+00:00</updated>
<author>
<name>Sebastian Bergmann</name>
<email>sebastian@php.net</email>
</author>
<published>2002-04-06T16:12:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=79100113a7fe5bc3e581efe9af9cf4ed661a417d'/>
<id>79100113a7fe5bc3e581efe9af9cf4ed661a417d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH changes per doug's request</title>
<updated>2002-04-05T21:23:30+00:00</updated>
<author>
<name>Sterling Hughes</name>
<email>sterling@php.net</email>
</author>
<published>2002-04-05T21:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1491b7a07d5514af2915f8a0aa2d45a1fbdd171c'/>
<id>1491b7a07d5514af2915f8a0aa2d45a1fbdd171c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
