summaryrefslogtreecommitdiff
path: root/sapi
Commit message (Collapse)AuthorAgeFilesLines
* MFH: Patch by Justin Erenkrantz <jerenkrantz@apache.org>.Sebastian Bergmann2002-05-111-0/+2
|
* Merge two SEGV fixes from the trunk:Aaron Bannert2002-05-061-0/+17
| | | | | | - startup SEGV caused by delaying the initialization too long. - graceful restart SEGV caused by not re-initializing.
* MFHfoobar2002-05-051-1/+2
|
* MFHSander Roobol2002-05-021-16/+9
|
* MFH: fix bug: #16791 (more reliable version check)foobar2002-04-262-10/+18
|
* This was not supposed to be committed..foobar2002-04-241-1/+1
|
* MFHfoobar2002-04-241-1/+1
|
* - MFH for bug in Sambar 5.2Derick Rethans2002-04-181-1/+1
|
* Fix an intermittent SEGV when an error bubbled up from PHP before ourAaron Bannert2002-04-181-1/+8
| | | | | | | | 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>
* It makes more sense to do the null-pointer check *before* trying to use it.Aaron Bannert2002-04-181-1/+1
| | | | | | | (Also fix a typo that Cliff pointed out: "safe" --> "save".) Obtained from: Ryan Morgan <rmorgan@covalent.net>
* Make the configure fail if someone tries to use --with-apache with Apache2foobar2002-04-141-26/+3
|
* This is experimental stillfoobar2002-04-141-1/+1
|
* Make this work as it was supposed to work.foobar2002-04-141-10/+6
|
* MFH.foobar2002-04-132-0/+12
| | | | | | (Prevent users from trying to build Apache 1.x module with Apache 2.x and vice-versa)
* Fix a typo and a build error detected by the lovely HPUX11 ANSI C compiler.Aaron Bannert2002-04-121-5/+7
|
* Fix a problem where php-generated data was pushed down the entire outputAaron Bannert2002-04-112-3/+5
| | | | | | | | 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>
* PHP filters and Apache 2 aren't quite a perfect match yet, so we haveAaron Bannert2002-04-112-24/+70
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't depend on the context provided by the filter (f->ctx) anymore. InAaron Bannert2002-04-111-6/+3
| | | | | | | | 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.
* Return the number of bytes consumed, not the number of bytes left.Aaron Bannert2002-04-111-1/+1
| | | | | Suggested by: Brian Havard <brianh@kheldar.apana.org.au>
* MFH (Update README).Sebastian Bergmann2002-04-111-5/+2
|
* MFH (Patch by Aaron Bannert <aaron@clove.org> and Cliff Woolley ↵Sebastian Bergmann2002-04-112-83/+73
| | | | <jwoolley@virginia.edu>).
* MFHfoobar2002-04-101-1/+1
|
* fix compile warningsSterling Hughes2002-04-091-1/+1
|
* MFH (.dsp fixes)Sebastian Bergmann2002-04-063-9/+9
|
* MFH changes per doug's requestSterling Hughes2002-04-051-7/+11
|
* Hidden the existance of CLI SAPI by:Edin Kadribasic2002-03-255-4/+9
| | | | | | | | | | | | - removing the NEWS entry - removing cli from make install chain - marking it EXPERIMENTAL - reverting installed name of cgi from php-cgi to php Marged max_execution_time override from head. # I really hope that people who found cli to be "inconsistent" and # "unstable" will find time to help rectify those problems.
* MFHAlex Waugh2002-03-241-2/+1
|
* #according to my ideas/patchesMarcus Boerger2002-03-151-1/+1
|
* MFH (Apache2Filter update).Sebastian Bergmann2002-03-142-3/+4
|
* -release mergeMarcus Boerger2002-03-131-40/+75
| | | | | #discussed with derick
* MFH: refining supported thttpd versionSascha Schumann2002-03-111-2/+2
|
* - Put them back (and do it right)Derick Rethans2002-03-061-0/+6
|
* - Remove unused variablesDerick Rethans2002-03-061-2/+0
|
* - Fix for bug #15572 (Patch by Ralf Nyrén <ralf.nyren@educ.umu.se>)Derick Rethans2002-03-041-1/+1
|
* Reduce operations in the ub_write loop.Sascha Schumann2002-03-041-7/+10
|
* Free status line, initialize number_vec, correctly account forSascha Schumann2002-03-041-9/+21
| | | | | the number of bytes in the document, avoid strcpy/strlen.
* Updated build instructionsAlex Waugh2002-03-032-12/+6
|
* add comment for IIS usersShane Caraveo2002-03-011-14/+15
| | | | | fix some whitespace
* This is much better. With FORCE_CGI_REDIRECT turned on by default for ↵Shane Caraveo2002-03-011-7/+14
| | | | | | | | | | | | | compilation, we can now define this in the ini file. So it can be turned on for apache, turned off for IIS which does not have a redirect issue. Alternately, a different 'REDIRECT_STATUS' environment var can be defined in case some web server out there needs it. new ini vars cgi.force_redirect 0|1 cgi.redirect_status_env ENV_VAR_NAME
* fix force redirect crash under multithreaded compileShane Caraveo2002-03-011-8/+22
| | | | | | | should be discused: fix redirect detection to only work with apache or netscape, where we know they set an environment variable regarding redirect. IIS has no security issue here. Don't know about other windows web servers.
* Use {NULL, NULL, NULL} to terminate function entry.Yasuo Ohgaki2002-02-282-2/+2
| | | | | # It does not fix any bugs, since {0} works also.
* Default name of CGI binary changed to php-cgi.Edin Kadribasic2002-02-281-1/+1
| | | | | | # Please note that this only applies when installing php with # make install. The binary is still built as "php" in top build dir.
* Maintain headers.Sebastian Bergmann2002-02-286-6/+6
|
* URLEncoder.encode(string) is deprecated in the Java 2 SDK 1.4.Sebastian Bergmann2002-02-271-4/+11
|
* make it more clear that --with-apache and --with-apxs only work with apache 1.x.jim winstead2002-02-251-4/+4
|
* Fixed functionality to read in server variables.Holger Zimmermann2002-02-232-40/+54
|
* - ReformattingDerick Rethans2002-02-201-43/+54
|
* Fixed environment hashing again.David Hedbor2002-02-191-80/+26
|
* Updated to new TSRM macrosAlex Waugh2002-02-171-35/+20
|
* - Make the errorcode 255. (Doing docs right away)Derick Rethans2002-02-152-4/+4
|