53c102c372
add attribute nonnull to a few functions
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1410963 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 19:31:39 +00:00
b6f86b92c2
The Pidfile directive and ap_log_pid()/ap_remove_pid()/ap_read_pid()
...
now respect DefaultRuntimeDir
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369808 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 12:15:03 +00:00
ea8cd427b2
Fix compiler warning
...
Submitted by: Daniel Shahaf <danielsh elego de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1293534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 05:28:11 +00:00
cf345c4512
Add AP_HAVE_C99 to make correct check for C99 less onerous
...
Using __STDC_VERSION__ without checking if it is defined causes warnings
on C89.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1292043 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:36:37 +00:00
75dad9d44f
Rename ap_func_attr_* macros to AP_FN_ATTR_*
...
Add macro for attribute alloc_size on newer gcc's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229134 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:06:18 +00:00
69218cb912
Added apreq to NetWare build.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1201918 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 21:39:19 +00:00
103f776c25
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@1174748 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:38:09 +00:00
01ed21af9d
Add wrappers for malloc, calloc, realloc that check for out of memory
...
situations. Use them in most places where malloc, and friends are used.
This results in clean error messages in an out of memory situation instead of
segfaulting or silently malfunctioning. In some places, it just allows to
remove some logging code.
PR 51568, PR 51569, PR 51571.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172686 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 16:25:42 +00:00
20633f6349
Avoid "`sentinel' attribute directive ignored" warning with gcc 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1134906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 10:40:17 +00:00
901d35fe80
Start of ap_hooks.h setup
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101066 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 15:36:22 +00:00
d1ac3fd574
some non-MPM code wants to see DEFAULT_PIDLOG, so liberate the
...
setting from the MPM-specific mpm_default.h
now visible again via httpd -V
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086243 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 14:04:23 +00:00
ddf06604b5
enable DEFAULT_REL_RUNTIMEDIR on NetWare and Windows
...
this commit is missing the Windows and NetWare build
logic to copy the appropriate file to include/ap_config_layout.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086073 13f79535-47bb-0310-9956-ffa450edef68
2011-03-27 23:51:18 +00:00
301f0404f5
axe unmaintained 1.3-era code to support AUX, SunOS, IRIX, Next, Tandem, MPE,
...
LynxOS, QNX, and UnixWare
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758944 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 00:32:22 +00:00
cb8a82faed
remove TPF support
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758936 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 00:05:18 +00:00
80d6606307
When dtrace support is not present, compile it all the way out.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723571 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 03:48:57 +00:00
f47b6f394e
Import the core parts of the DTrace patch. This is a modified and updated
...
version of what was submited by Theo before:
<http://mail-archives.apache.org/mod_mbox/httpd-dev/200805.mbox/%3C6AFBCFE8-4CCA-4A02-8A43-F9170689695D@omniti.com%3E >
Note, this does not hook it up into the build system at this time, because
the original patch was a little too creative there.
Submitted By: Theo Schlossnagle <jesus omniti.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723565 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 03:34:52 +00:00
bf508e3c68
include/ap_config.h: Include the autoconf generated header that defines what is available.
...
configure.in: The times function is not really available on mingw32. Disable em.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422197 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 09:47:11 +00:00
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
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
59d916fcfe
* include/ap_config.h: Fix the macro name.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356248 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 11:14:10 +00:00
2160d59157
* include/ap_config.h: Define AP_HAVE_DESIGNATED_INITIALIZER for GCC
...
(but not G++) or any compiler which claims C99 support.
* configure.in: Don't define AP_HAVE_DESIGNATED_INITIALIZER here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356234 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 10:10:33 +00:00
8c1e315d3f
Doxygen fixup / cleanup
...
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:03:59 +00:00
905cdf9f0b
Update copyright year to 2005 and standardize on current copyright owner line.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
4d8f4c26d6
*) SECURITY: CAN-2004-0174 (cve.mitre.org)
...
Fix starvation issue on listening sockets where a short-lived
connection on a rarely-accessed listening socket will cause a
child to hold the accept mutex and block out new connections until
another connection arrives on that rarely-accessed listening socket.
With Apache 2.x there is no performance concern about enabling the
logic for platforms which don't need it, so it is enabled everywhere
except for Win32. [Jeff Trawick]
(already in 2.0.49, propagating to mirrors now)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103029 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 11:16:03 +00:00
eeb57c17ad
fix name of The Apache Software Foundation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:40:53 +00:00
129635b965
fix copyright dates according to the first check in
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102548 13f79535-47bb-0310-9956-ffa450edef68
2004-02-07 19:27:57 +00:00
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
fb07607180
update license to 2004.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 13:26:26 +00:00
1dc6636640
tidy up some charset recoding issues
...
the "need" for APACHE_XLATE went away some years ago when BUFF went
POOF and charset recoding (translation) of non-protocol data
could no longer be performed by the core...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101894 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 02:09:25 +00:00
742af25096
finished that boring job:
...
update license to 2003.
Happy New Year! ;-))
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 17:53:28 +00:00
07f1257cc1
tweak a comment for readability
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95972 13f79535-47bb-0310-9956-ffa450edef68
2002-07-08 16:27:54 +00:00
d14107e925
Remove hardcoded paths from MPMs and move them to a more central
...
place. Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.
Submitted by: Pier Fumagalli <pier@betaversion.org >
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94431 13f79535-47bb-0310-9956-ffa450edef68
2002-04-04 09:15:44 +00:00
845cbfd508
Update our copyright for this year.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
7775299840
Added NetWare to a Win32 #ifdef
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90955 13f79535-47bb-0310-9956-ffa450edef68
2001-09-07 14:43:01 +00:00
26676d06d2
Proper doc style
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89748 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 20:59:20 +00:00
7e5f12306c
Documentation updates.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89377 13f79535-47bb-0310-9956-ffa450edef68
2001-06-17 14:34:14 +00:00
08ce0bc1b2
Updating docs to change around the order of extern and
...
AP[RU]_DECLARE_DATA. If this is incorrect, please yell.
However, the vast majority of the code follows the convention
documented in this patch.
If this is in error, I will gladly back it out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89324 13f79535-47bb-0310-9956-ffa450edef68
2001-06-09 11:33:07 +00:00
eb517580bd
More cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89179 13f79535-47bb-0310-9956-ffa450edef68
2001-05-20 15:26:18 +00:00
883a3b25bf
AP_ function for optional hooks.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89178 13f79535-47bb-0310-9956-ffa450edef68
2001-05-20 14:13:33 +00:00
eef2d4af11
Ahhh... the missing file from Ben's and my experiments
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88686 13f79535-47bb-0310-9956-ffa450edef68
2001-04-03 06:01:49 +00:00
af98abf4e7
Check in not-quite-working hooks groupings.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88513 13f79535-47bb-0310-9956-ffa450edef68
2001-03-13 22:20:55 +00:00
4f28702c9c
clean out some old crud from ap_config.h
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88296 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 03:40:50 +00:00
962f73f2a2
Remove the rest of the pthreads functions from the threaded MPM
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88256 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21 01:18:39 +00:00
381f88d56a
Update copyright to 2001
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 04:26:53 +00:00
0513fb50e4
*) clean out some old crap from ap_config.h; other simplifications; don't
...
include stuff randomly (let users include them explicitly)
*) toss ap_config_path.h -- we can put those values into ap_config_auto.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88057 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 11:59:58 +00:00
39ac6928a1
More docco cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87900 13f79535-47bb-0310-9956-ffa450edef68
2001-01-28 22:50:01 +00:00
9ee51ccaae
Improve documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87899 13f79535-47bb-0310-9956-ffa450edef68
2001-01-28 20:55:54 +00:00
59bbd68bec
The big change. This is part 3 of the apr-util symbols rename, please
...
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
2001-01-19 07:04:36 +00:00
821dee4c85
Remove AP_USE_MMAP_FILES, it doesn't really control anything anymore. Now
...
we just use APR_HAS_MMAP directly, just like APR-util does.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87564 13f79535-47bb-0310-9956-ffa450edef68
2001-01-01 00:36:46 +00:00
351725e726
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87460 13f79535-47bb-0310-9956-ffa450edef68
2000-12-20 16:44:01 +00:00