ffeacdcc52
Fix typo in code comments; dependancies -> dependencies
...
Submitted by: John Bampton <jbampton gmail.com>
Github: closes #520
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924446 13f79535-47bb-0310-9956-ffa450edef68
2025-03-18 09:54:15 +00:00
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
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
283f8c828a
mod_bucketeer: consume given brigade while forwarding/setting aside.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783045 13f79535-47bb-0310-9956-ffa450edef68
2017-02-14 22:51:54 +00:00
af14d158a3
Added many log numbers to log statements that
...
had none.
Those were not detected by the coccinelle script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725485 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 12:02:41 +00:00
44ce30494e
Added many log numbers to log statements that
...
had none.
Handled all files in modules/.
I used the coccinelle script provided by Stefan.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725392 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 00:03:18 +00:00
357661feb8
mod_bucketeer: cleanup properly on EOS and write.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707087 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 16:30:53 +00:00
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
fba4818401
Fix one missed s/tab/space/
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629740 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 19:25:04 +00:00
a2e729ba0a
s/tab/space/
...
Remove empty lines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629738 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 19:22:32 +00:00
c1235fe947
Style
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629736 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 19:13:32 +00:00
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
ecc3c818fa
Style
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629472 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 06:43:45 +00:00
30f8aa6460
more apr_file_write_full() simplification (like r1542413)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542416 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 22:03:16 +00:00
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
7814748ab3
NetWare build tweaks.
...
Make more use of internal makefile macros;
axed now obsolete include paths.
Submitted by: normw gknw net.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371177 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 12:11:09 +00:00
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
d79b3c1513
Fix various filter functions to return apr_status_t instead of int
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1240315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:48:01 +00:00
89c22869f4
remove unused function
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231601 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 00:27:16 +00:00
f180dc581c
Added mod_firehose and firehose to NetWare build.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221216 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:13:29 +00:00
94f1766d3b
Some cosmetic NetWare makefile tweaks.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221213 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 11:55:03 +00:00
76f782e188
Various code cleanup to avoid compiler, cppcheck, or clang warnings:
...
modules/debugging/mod_firehose.c: Make some internal functions static
(to do: logs_cleanup() is unused)
modules/filters/mod_charset_lite.c: Remove dead assignments
modules/filters/mod_include.c: likewise
modules/metadata/mod_usertrack.c: likewise
modules/proxy/mod_proxy_ftp.c: likewise
modules/ssl/ssl_engine_pphrase.c: likewise
modules/proxy/mod_proxy_balancer.c: likewise;
Remove NULL check that can never happen
modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it
would, it would just mask another bug
os/unix/unixd.c: likewise
modules/http/http_filters.c: Remove sub-condition that is always true
modules/lua/mod_lua.c: Add default cases to switch statements
modules/generators/mod_autoindex.c: Unsigned value can never be < 0
server/util_expr_eval.c: Fix compiler warnings with VC and on OS2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220493 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:52:59 +00:00
5923de8ef1
mod_firehose: Ensure directives are defined global only.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220460 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:21:36 +00:00
0e223841a8
mod_firehose: Support portable non blocking support, and make non blocking
...
support optional.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:05:43 +00:00
8ef69a4da9
Remove unused variable.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215538 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:57:27 +00:00
a4a2e8d15d
Fix the test for APR_HAVE_SYS_SYSLIMITS_H.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215537 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:55:32 +00:00
9ad824e793
mod_firehose: Add a new debugging module able to record traffic
...
passing through the server in such a way that connections and/or
requests be reconstructed and replayed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215525 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:03:59 +00:00
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
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
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
888ec80125
Use a var INSTALLBASE to simplify NetWare installation rules.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082821 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 04:56:06 +00:00
bab978c56e
Use var for prelude so its possible to change it at one place.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082811 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 03:09:27 +00:00
e8a8becc0f
NetWare build overhaul in order to compile on Linux.
...
Removed absolute paths to imp files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079487 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 18:59:02 +00:00
46b7e1d210
NetWare build overhaul in order to compile on Linux.
...
Take 1.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079407 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:04:40 +00:00
cdbc0f2c3f
Warning in configure -h that mod_dumpio was only for developers
...
and testing was erroneous.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029931 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 00:47:21 +00:00
4c477008d4
Add to modules' help text (displayed by ./configure -h) more
...
information that will be useful in deciding whether to enable
them or not.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029814 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 20:02:51 +00:00
5e8988e256
Removed obsolete include paths from NetWare makefiles.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966904 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 23:38:58 +00:00
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
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
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
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
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
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
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
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
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
47fff8d790
removed obsolete -prefix; minor cosmetic changes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@521264 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 13:45:54 +00:00
ba4156cadd
Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files
...
Submitted by: Guenter Knauf <fuankg apache org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@502051 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 23:55:44 +00:00
1fc3b01590
Embed the .manifest files of all httpd binaries as a post-build
...
operation. This ensures the exported (Studio 97 generated) .mak
files create a usable Apache directly from the VC 8 (Studio 2005)
command line environment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@495126 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 05:37:20 +00:00
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