1
0
mirror of https://github.com/apache/httpd.git synced 2025-04-18 22:24:07 +03:00

21 Commits

Author SHA1 Message Date
Yann Ylavic
62b423b15f mod_dumpio: follow up to r1818802.
Negate APLOGctrace7(c) test!

Also, return DECLINED when nothing is to be done, same result as OK but
possibly more semantically correct.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818825 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 16:42:42 +00:00
Yann Ylavic
8fd774b63c mod_dumpio: do nothing below log level TRACE7.
For instance, depending on EnableMMAP/Sendfile configuration, don't split
file brigades to 8K heap buckets upon reading.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818802 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 14:38:05 +00:00
Christophe Jaillet
c12bc86d44 Revert style changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1630971 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 19:53:02 +00:00
Christophe Jaillet
642b0f1eef Style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629476 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 07:05:33 +00:00
Christophe Jaillet
87eaa05972 mod_dumpio: Correctly log large messages + style issues
PR 54179 

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1412278 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 20:40:01 +00:00
Stefan Fritsch
879c6541a4 Return an error code from a previous input filter
This likely fixes PR 52914


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301111 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 17:36:17 +00:00
Stefan Fritsch
0ecd2fe5e5 Remove usage of APLOG_NOERRNO. It has been a no-op since at least 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211663 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:59:16 +00:00
Jeff Trawick
baa51e6a51 mod_dumpio: s/ap_log_error/ap_log_cerror/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199520 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 23:07:30 +00:00
Stefan Fritsch
2014acf62f Improvements found by cppcheck:
remove some unused variables and dead assignments, reduce the scope of some
variables, add some parens to improve readability


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103459 13f79535-47bb-0310-9956-ffa450edef68
2011-05-15 16:58:45 +00:00
Stefan Fritsch
8f1e26cc21 Replace DumpIOLogLevel with trace log levels
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951902 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 17:08:57 +00:00
Stefan Fritsch
ebb62867fb Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
William A. Rowe Jr
379528fdd6 missing prototype - compile before committing please
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907879 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 01:58:28 +00:00
Stefan Fritsch
bb616ddda3 Print directive name in error message.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907012 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 17:38:08 +00:00
Stefan Fritsch
60821a3b74 replace duplicate code with new function ap_parse_log_level()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@905454 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 23:27:32 +00:00
William A. Rowe Jr
ef81751829 %.*s precision supposedly takes an int, according to gcc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808681 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 23:33:09 +00:00
Ruediger Pluem
fdf34d4266 * remove uneeded remains of r750126.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@750132 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 20:05:09 +00:00
William A. Rowe Jr
22f74392e9 Accelerate mod_dumpio processing;
* drop a frequent query for the mod configuration (pass as f->ctx)
 * drop one copy, at least for ASCII

and ensure larger buffers are logged in their entirety.  Some clarity
in output can be added by designating continuations vs first lines.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@750126 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:55:09 +00:00
Martin Kraemer
8e05d0f782 For correct dumping, translate data from ASCII
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@570753 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 11:15:07 +00:00
Jim Jagielski
21038d2649 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...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@463291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 15:53:33 +00:00
Roy T. Fielding
de659cbed0 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:33:53 +00:00
William A. Rowe Jr
b31873b39b This tree can't be named modules/debug/. Now it isn't.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419652 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 18:47:09 +00:00