- Jan 06, 2007
-
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493520 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493426 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493424 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493292 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493286 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
and recent activity. PR: 40573 Submitted by: Matt Eaton <asf divinehawk.com> Backports: 429341 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493281 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Where any response is sent, return OK from the handler. Where there is no response (but a status code) return the code. This patch adds a great number of debugging emits for failed ap_pass_brigade calls, to help diagnose failure cases, and disambiguates OK from APR_SUCCESS. PR: 40470 Submitted by: wrowe, Matt Eaton <asf divinehawk.com> Backports: 492333 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493275 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 03, 2007
-
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@492342 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@492338 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 25, 2006
-
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@490157 13f79535-47bb-0310-9956-ffa450edef68
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@490143 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 24, 2006
-
-
Jeff Trawick authored
Allow htcacheclean, httxt2dbm, and fcgistarter to link apr/apr-util statically like the older support programs. Submitted by: Eric Covener <covener gmail.com> Reviewed by: trawick, wrowe, jerenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@490027 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 21, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@489460 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@489416 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 20, 2006
-
-
Jim Jagielski authored
PR#37680: fix socket block/nonblock on restart/graceful Patch submitted by Darius Davis (darius-abz free-range.com.au) Submitted by: niq Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488883 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 19, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488853 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
by several on the bug thread. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488835 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
* Isolate the unlock return vals * Log when the lock fails. * Failure to unlock is very nasty, so log it to help with troubleshooting. Submitted by: jim Reviewed by: jim, rpluem, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488822 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488818 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
r426791, r426793, r426795, r416165, r426799, r475403, r475406, r475915, r475920, r475922, r476600, r437668 from trunk, which makes mod_deflate.c the same as r483597 from trunk: All comments to these changes for the sake of completeness: * Fix wrong FLUSH bucket handling in deflate_out_filter: Actually the internal structures of libz never got flushed as ctx->stream.avail_in is always zero here. As the EOS and the FLUSH bucket case use the same code for flushing libz's internal buffers move this code to the new function flush_zlib_buffer. * Fix potential memory leaks in deflate_out_filter if bailing out due to an error (either in the lower filter chain or during a libz operation). We need to call deflateEnd as it is very likely that this filter is never called again to ensures that libz's internal structures get cleaned properly. * Remove ourselves from the filter chain if we failed to init libz, as we pass data down the filter chain uncompressed afterwards. * In preparation of the changes of the inflate out filter: - rename flush_zlib_buffer to flush_libz_buffer (this name seems better) - add a parameter to tell flush_libz_buffer whether it should deflate or inflate as this function should be also used for the inflate out filter. * This shortcut is too short. It is not up to the filters to decide whether filters down the chain can do something useful with this empty brigade. * Initialize zRC to avoid a compiler warning. * Rather use a pool cleanup function than calling deflateEnd before every return from function to ensure that libz's internals get cleaned up. * Add parameter crc to flush_libz_buffer in order to call the libz's crc32 function on the output buffer if needed. This is actually needed by the later rework of the inflate out filter. * Use a define for the number of validation bytes (CRC and length) after the compressed data * We can ignore Z_BUF_ERROR in flush_libz_buffer because: When we call libz_func we can assume that - avail_in is zero (due to the surrounding code that calls flush_libz_buffer) - avail_out is non zero due to the fact that we just emptied the output buffer and stored it into a brigade So the only reason for Z_BUF_ERROR is that the internal libz buffers are now empty and thus we called libz_func one time too often. This does not hurt. It simply says that we are done. * some optimizations taken from the inflate out filter * Remove bogus code that chokes on flush buckets * Rework inflate out filter and give it a similar workflow as the deflate out filter. This fixes the following bugs in the inflate out filter: - Incorrect handling of flush buckets. - Excessive memory usage for large compressed content (because we now already sent parts down the chain and do not process the whole brigade first before sending something down the chain). - Handle the case correctly where the validation bytes at the end of the compressed data stream are distributed across different buckets / brigades. - Fix a memory leak due to not cleaning up the internal structures of libz in some error cases. * Ensure that we do not try to inflate validation data or garbage data. None of this is zlib's business. * Ensure that we do not perform our final operations twice if a second EOS falls down the chain by accident. Otherwise we are likely to run in a SEGFAULT. So remove ourselves from the chain. * Actually append new data to the validation buffer and do not overwrite old data already there by setting the correct offset for the target buffer. * Also log the presence of garbage data at the end of the stream if all validation data is available in the first round. * Housekeeping: keep track of size even in the edge-case where validation bytes trickle in over multiple buckets. PR: 39854 Reviewed by: rpluem, niq, jerenkrantz, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488817 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
tagging 1.2.4; add a better patch for the winnt mpm wait patch that makes this reviewable (sometimes -U3 just isn't enough context.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488780 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488516 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 18, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488411 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 17, 2006
-
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487955 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 16, 2006
-
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487905 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 15, 2006
-
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487676 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 14, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487344 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 13, 2006
-
-
Jim Jagielski authored
Memory leak fix: Unconditionally free the buffer. Submitted by: minfrin Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486661 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486660 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
No need for each ind lb method to increment the elected element. Do so from the main calling func. Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486659 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
So I'm sitting in Rich's talk and think to myself, it's kind of stupid that DumpIO always logs at Debug, esp when you consider that it's likely you'll be doing so in conjunction with SSL... One Big Log is understating it! :) Add DumpIOLogLevel to allow one to change the level... Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486656 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
rotatelogs: Improve error message for open failures. PR: 39487 Submitted by: jorton Reviewed by: trawick, jim, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486612 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486609 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486580 13f79535-47bb-0310-9956-ffa450edef68
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486459 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 12, 2006
-
-
Jim Jagielski authored
Stop mod_dbd emitting bogus error messages when it's loaded but not configured. Submitted by: niq Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486157 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486156 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486155 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 11, 2006
-
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@485870 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@485831 13f79535-47bb-0310-9956-ffa450edef68
-