1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Commit Graph

12687 Commits

Author SHA1 Message Date
André Malo
beaefb5202 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103051 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 23:29:02 +00:00
André Malo
1d3292c7ca bring these files up to date
Reviewed by: Kess


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103050 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 23:28:35 +00:00
André Malo
b3e2599e9a fix directive name and link
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103045 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 21:20:55 +00:00
André Malo
0c83f71874 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103041 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 19:06:30 +00:00
André Malo
6733235bdb bring these files up to date
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103040 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 19:02:05 +00:00
Jean-Jacques Clar
ec3144682b Using ap_max() to ensure no negative values are stored in data structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103035 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 15:39:45 +00:00
Jeff Trawick
26642a09ec Fix crash when Apache was started with no Listen directives.
Submitted by: Michael Corcoran <mcorcoran warpsolutions.com>
Reviewed by:  Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103030 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 11:19:37 +00:00
Jeff Trawick
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
Jeff Trawick
77b387e14b mod_dav: Fix a problem that could cause crashes when manipulating
locks on some platforms.

crashes seen on Sparc when the integer copied out of the database
was not aligned properly

also, sizeof(int) not necessarily sizeof(apr_size_t), so that could
be a concern; we copy in sizeof(apr_size_t field) so we should copy
out sizeof(apr_size_t field)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103027 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 02:32:25 +00:00
Martin Kraemer
8b8027affa Caching content from sources where Content-Length is not specified
(these were passed through uncached until now):

This needed additional checks for CacheMinFileSize and CacheMaxFileSize
after the response has completed. That means that we are checking at two
places now:
-> when the C-L is known, we check before we cache
-> when it is unknown we check "on-the-way" for CacheMaxFileSize, and
   after caching completion for CacheMinFileSize

We now compare the actual size of the cached copy against the C-L
header, and discard it if the two don't match.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103026 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 21:40:12 +00:00
Madhusudan Mathihalli
8915b61c79 Add Missing parenthesis !
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103015 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 23:16:33 +00:00
Bradley Nicholes
6065b37bca Adapt the mpm_netware version of the ThreadStackSize directive to the common version
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103013 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 19:47:08 +00:00
Madhusudan Mathihalli
87d5e2ed2b Limit the concurrency to MAX_CONCURRENCY.
Otherwise, ab may dump core (calloc fails) when a arbitrarily huge value
is used.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103011 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 18:22:35 +00:00
Bradley Nicholes
3574543174 Remove the OMIT_DELONCLOSE #ifdef since this should happen automatically with the apr_temp_dir_get() function.
Submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103007 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 01:17:26 +00:00
Bradley Nicholes
65c9f17999 Add a terminate function that gets called on atexit() so that NetWare has the chance to pause the screen to view the output before the screen is destroyed.
Submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103005 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 01:03:27 +00:00
Bradley Nicholes
3bbfe194f2 Replace calls to fprintf() with apr_file_printf()
submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103004 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 00:18:47 +00:00
Bradley Nicholes
c591775efc Replace tabs with spaces
Submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103003 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 00:17:21 +00:00
Bradley Nicholes
140a0683fd Remove the dependance on external cp/copy commands
Submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103002 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 00:15:12 +00:00
Jean-Jacques Clar
a6aee15e59 using build in err function, thanks Jeff for pointing that.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103000 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 00:06:44 +00:00
Bradley Nicholes
5095c3880c Use apr_temp_dir_get() to get the temporary directory
Submitted by: Guenter Knauf <eflash@gmx.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102998 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 00:04:35 +00:00
Jeff Trawick
678376c6a4 sync with 2.0.49-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102997 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 21:11:17 +00:00
Bradley Nicholes
6fe7808cbe Use the default logger screen for the ab output because it is scrollable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102992 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 19:22:46 +00:00
Jean-Jacques Clar
9cc9ba0aca added check on apr_pollset_create() return value to exit ab it case it fails.
On NetWare using a concurrency higher than 64 is segfaulting because of FD_SETSIZE as a value of 64.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102990 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 16:57:02 +00:00
Bradley Nicholes
2e0569de3d Report the NetWare socket error since we are using native socket calls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102986 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 02:49:15 +00:00
Bradley Nicholes
3df96d441f Add modules/ssl to the include path for the NetWare build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102984 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 01:32:58 +00:00
Erik Abele
13c77af967 a) changed 'qs' to 'q' for examples showing request headers
with a quality value in their Accept: lines
   Submitted by: Jeff Trawick

b) fixed a typo and reformulated a passage in the german version
   of the EnableExceptionHook docs


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102982 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 00:54:11 +00:00
André Malo
db3e1fef14 typo
Submitted by: Sascha Kersken <sk lingoworld.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102980 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 00:52:05 +00:00
André Malo
9ac14e7e0e typo
Submitted by: Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102979 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 00:45:18 +00:00
André Malo
43976cbe1a update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102977 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 23:44:57 +00:00
Jeff Trawick
854d853e53 Change "new" WorkerStackSize directive to ThreadStackSize
Move existing Netware docs and links on ThreadStackSize to
mpm_common


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102976 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 23:24:40 +00:00
Jeff Trawick
c940ea5b58 use existing directive name ThreadStackSize instead of
WorkerStackSize

as made obvious by: Brad Nicholes


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102975 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 23:08:41 +00:00
Joe Orton
1824537d9e * server/Makefile.in: Revert duplicate eoc_bucket.c in
LTLIBRARY_SOURCES.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102973 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 21:49:35 +00:00
André Malo
0209502534 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102971 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 21:31:54 +00:00
André Malo
c84615f5d3 German translation of EnableExceptionHook
Reviewed by: Kess


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102970 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 21:31:13 +00:00
André Malo
f03363ba0f clarify the enableexceptionhook description
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102969 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 21:30:20 +00:00
William A. Rowe Jr
e6abb6c9ff Bugfix 2 - fix the rest of the subst codes for ssl.conf on Win32.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102968 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 21:20:15 +00:00
André Malo
963f47ca5e update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102966 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 20:47:08 +00:00
André Malo
e987f97673 add initial documentation for EnableExceptionHook. Please review.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102965 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 20:45:58 +00:00
Martin Kraemer
8a84df6e6a Add missing source
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102964 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 20:19:00 +00:00
William A. Rowe Jr
221dd6f4dd whoops - moving to fast - fix 1.135 to exclude the appropriate
makefile section if ssl.conf is unneeded.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102962 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 20:01:07 +00:00
Jeff Trawick
18edbaaf56 mod_cgid: Fix storage corruption caused by use of incorrect pool.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102961 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 20:00:13 +00:00
William A. Rowe Jr
de2dbe78ee Bugfix 1; if no ssl, no reason for ssl.conf.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102960 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 19:59:18 +00:00
Joe Orton
329a32cf74 Forward-port from mod_dav 1.0:
* server/util_xml.c (ap_xml_parse_input): Give a 413 (Request Entity
Too Large) not a 400 if the client exceeds the configured XML request
body limit.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102959 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 20:53:58 +00:00
Joe Orton
56c15784a0 Forward-port from mod_dav 1.0:
* modules/dav/main/util.c (dav_validate_resource_state): Fix a 2617
violation: if the lock user validation fails, rather than giving a 401
without a WWW-Authenticate header, give a 403.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102958 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 19:51:08 +00:00
Justin Erenkrantz
7fbfdd72cd Improve helpfulness of error messages when accept mutex has a problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102957 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 19:08:07 +00:00
André Malo
093bd92973 Satisfy directives now can be influenced by a surrounding <Limit>
container.

PR: 14726.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102954 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 16:24:55 +00:00
André Malo
4d651c4a11 repos.c: In function `dav_fs_copymove_file':
repos.c:315: warning: `perms' might be used uninitialized in this function


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102953 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 16:13:20 +00:00
André Malo
b8a94adeff update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102951 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 08:36:43 +00:00
Thom May
a1d5470e1e htpasswd.c: various cleanups and move to using apr_temp_dir_get()
Submitted by: Guenter Knauf
Reviewed by: Thom May


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102950 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 22:18:19 +00:00
André Malo
28b9a34268 emit the config filename when warning about overlapping aliases
Submitted by: Guenter Knauf <eflash gmx.net>
Reviewed by: Dirk-Willem van Gulik


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102949 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 21:19:56 +00:00