1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-14 01:22:37 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
Jeff Trawick
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
Christophe Jaillet
b3f29e2bd8 Use ap_bin2hex instead of sprintf(..., "%02x". It gives the same output and is faster.
No real speedup should be achieved on production machine, because this is done
only for characters that need to be escaped. 
However, this will close PR 50919.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429564 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 18:08:46 +00:00
Stefan Fritsch
882f822f02 Don't log a spurious "-" if a request has been rejected
before mod_log_forensic could attach its id to it.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693292


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1410954 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 18:42:48 +00:00
Stefan Fritsch
fe4f92509b Replace use of apr_file_write() with apr_file_write_full() to prevent
incomplete writes.

Add comments in some places where error handling/logging is missing.

PR: 53131.
Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331110 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 21:44:51 +00:00
Stefan Fritsch
92e366007c Add lots of unique tags to error log messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 23:02:04 +00:00
Jim Jagielski
427c85bd23 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:39:32 +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
Ruediger Pluem
1a9809af1d * Hex pids are bogus anyway and on environments with APR_PID_T_FMT d this
breaks and print x.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@611376 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 07:01:52 +00:00
Ruediger Pluem
49dec51c61 * Silence a compiler warning by using the correct format.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@608508 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 14:47:41 +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
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Jim Jagielski
5061d9fa92 No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Joe Orton
9687f8c6a7 Update remaining 2004 copyright notices.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@190592 13f79535-47bb-0310-9956-ffa450edef68
2005-06-14 13:54:34 +00:00
André Malo
b8e029ae12 fix build on systems without unistd.h
Submitted by: Guenter Knauf <eflash gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103530 13f79535-47bb-0310-9956-ffa450edef68
2004-04-26 18:58:59 +00:00
André Malo
d20937008b forward port to not log twice
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102730 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 17:09:20 +00:00
André Malo
f93ccbd7c2 do not exit() from inside a module!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102729 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 16:38:36 +00:00
André Malo
c3617eb632 ugh! Fix log open error condition, which never matched.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102728 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 15:53:49 +00:00
André Malo
4f71cbdc98 allow log pipes to be relative to serverroot as well
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102727 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 15:45:02 +00:00
André Malo
9ae33ec8ed there's no such default
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102725 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 15:23:24 +00:00
André Malo
a688f06b19 fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:31:03 +00:00
André Malo
3097e08b49 oops
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102568 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 12:14:07 +00:00
André Malo
5410a0d131 fix copyright dates according to the first checkin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102566 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 12:10:29 +00:00
André Malo
4f02cb1e18 apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 22:58:42 +00:00
Martin Kraemer
601c88636f Undo last change in order not to break Netware builds...
PR:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102190 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 11:12:03 +00:00
Martin Kraemer
ece48280a1 Ugly hack to get this module to compile. The path to test_char.h (which
lives in the server/ directory) must either be added to one of the build/*.m4
files --which would be even uglier--, to the modules/logger/Makefile, or
to the modules/loggers/mod_log_forensic.c file itself. For now, put it here.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102186 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 10:33:52 +00:00
Bradley Nicholes
eb529a4d7c Don't hardcode the location of the test_char.h header. The path should be added to the INCLUDE path. Also, use the apr_uint32_t type for next_id which is compatible with the apr_atomic functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102164 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 19:18:53 +00:00
Erik Abele
b20a1ec4df Add missing apr_ to size_t.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102156 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 16:02:15 +00:00
Joe Orton
44a849be1c * modules/loggers/mod_log_forensic.c (struct hlog, log_before,
log_after): Use apr_size_t for storing string sizes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102154 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 15:49:57 +00:00
Ben Laurie
b2d154535b Make forensic logging EBCDIC-safe.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102153 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 15:33:41 +00:00
Ben Laurie
069b75134b Use ap_assert().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102152 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 14:35:21 +00:00
André Malo
ca1c2f06ea prevent module from segfaulting when not configured.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102145 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 23:35:59 +00:00
Ben Laurie
c154a09f30 Add forensic logging.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102141 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 15:39:30 +00:00