summaryrefslogtreecommitdiffstats
path: root/server (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* here we go. add a directive that will keep %2f from beingKen Coar2003-01-233-5/+83
| | | | | | | | decoded into '/', allowing the *_walk to do their magic and return 404 if it's in the path, and allowing it in the path-info. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98479 13f79535-47bb-0310-9956-ffa450edef68
* move rfc1413 code to a new module "metadata:mod_ident".André Malo2003-01-183-318/+11
| | | | | | | | | | | | | | The rfc1413 code itself is mostly c&p, but can still bear some rework ... This patch removes the global ap_rfc1413 function and the ap_rfc1413_timeout variable. It also introduces a new config directive IdentityCheckTimeout (default 30 sec). Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98320 13f79535-47bb-0310-9956-ffa450edef68
* fix the type of the idlers field to match what apr_atomic_cas() expectsJeff Trawick2003-01-151-1/+1
| | | | | | | | this fixes the compile when using the native compiler for AIX (and likely other non-gcc compilers) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98272 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo reported by Blair Zajac <blair@orcaware.com>William A. Rowe Jr2003-01-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98270 13f79535-47bb-0310-9956-ffa450edef68
* With the latest patch to config.c wildcards now work.William A. Rowe Jr2003-01-141-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98265 13f79535-47bb-0310-9956-ffa450edef68
* ap_server_root_relative never guarenteed that the resource exists, orWilliam A. Rowe Jr2003-01-141-4/+10
| | | | | | | | isn't a file pattern. Correct the code to accept these cases (applied to both 2.0 and 2.1.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98264 13f79535-47bb-0310-9956-ffa450edef68
* Once again, allow <Directory "C:\Users\*\html_files"> or other wildcardWilliam A. Rowe Jr2003-01-142-2/+9
| | | | | | | patterns in Directory blocks. Note a similar problem with Includes *.conf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98260 13f79535-47bb-0310-9956-ffa450edef68
* Replace most of the mutex locking in the worker MPM's "queue info"Brian Pane2003-01-031-42/+111
| | | | | | | object with atomic compare-and-swap loops. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98159 13f79535-47bb-0310-9956-ffa450edef68
* Log server version and server built info at startupBill Stoddard2002-12-191-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98042 13f79535-47bb-0310-9956-ffa450edef68
* Register for the SERVERDOWN event to allow Apache to shutdown gracefullyBradley Nicholes2002-12-121-3/+5
| | | | | | | when the NetWare OS is shutdown git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97898 13f79535-47bb-0310-9956-ffa450edef68
* Ah, we don't even need the 'ls -1' - 'ls' suffices.Justin Erenkrantz2002-12-121-1/+1
| | | | | | | Submitted by: Ben Laurie git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97897 13f79535-47bb-0310-9956-ffa450edef68
* Make the code simpler to follow, and perhaps clear up the follow-symlinkWilliam A. Rowe Jr2002-12-121-43/+23
| | | | | | | bug reports we have seen on bugzilla. e.g. 14206 etc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97891 13f79535-47bb-0310-9956-ffa450edef68
* ap_get_mime_headers: combine some error paths to remove a conditionalGreg Ames2002-12-111-18/+16
| | | | | | | | | | branch from the mainline path. It might be worthwhile to move all the getline error handling into a separate function and be a little more i-cache friendly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97879 13f79535-47bb-0310-9956-ffa450edef68
* ap_get_mime_headers: whoops - need to insure that we use a configuredGreg Ames2002-12-111-1/+1
| | | | | | | field size limit if there is one git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97875 13f79535-47bb-0310-9956-ffa450edef68
* Take a stab at fixing the brokenness in our tree (grr!).Justin Erenkrantz2002-12-111-1/+1
| | | | | | | | ls -1 is bound to be more portable than find -maxdepth, but I suspect it may not be as portable as it really should. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97864 13f79535-47bb-0310-9956-ffa450edef68
* ap_get_mime_headers: tighten up the null termination of header line which isGreg Ames2002-12-111-5/+2
| | | | | | | | | | | | too long. getline can return a smaller length that what it actually read in that case. The check for len > limit_fieldsize isn't needed, but we do need to insure that getline actually allocated a buffer (and set len) in the case where the first socket input buffer is already bigger than the limit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97863 13f79535-47bb-0310-9956-ffa450edef68
* prevent a potential seg fault in ap_escape_html if a header field is tooGreg Ames2002-12-101-0/+2
| | | | | | | long. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97832 13f79535-47bb-0310-9956-ffa450edef68
* core_output_filter: re-instate the deferred_write pool patch so we don'tGreg Ames2002-12-091-1/+29
| | | | | | | | | | | | leak fd's until the end of a keepalive connection. Thanks to: Jeff Trawick for the original concept Sander Striker for the mmap ring idea Cliff Woolley for implementing the above change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97824 13f79535-47bb-0310-9956-ffa450edef68
* TweakBill Stoddard2002-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97819 13f79535-47bb-0310-9956-ffa450edef68
* AddModules does not exist anymoreBill Stoddard2002-12-091-1/+1
| | | | | | | Submitted by: Stas Bekman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97818 13f79535-47bb-0310-9956-ffa450edef68
* 2.0 -> 2.1Wilfredo Sanchez2002-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97800 13f79535-47bb-0310-9956-ffa450edef68
* FreeBSD's make doesn't like the 'implied source' syntax ($<) -- using $? ↵Martin Kraemer2002-12-031-4/+4
| | | | | | which works. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97767 13f79535-47bb-0310-9956-ffa450edef68
* Move the check of the Expect request header field after the hookJustin Erenkrantz2002-12-031-6/+6
| | | | | | | | | | for ap_post_read_request, since that is the only opportunity for modules to handle Expect extensions. Obtained from: apache-1.3 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97765 13f79535-47bb-0310-9956-ffa450edef68
* If this worked on Mac OS-X, then OS-X should be fixed ;-)Martin Kraemer2002-12-021-1/+1
| | | | | | | | Otherwise, it looks like Apache-2.x has not been compiled on any unixoid platform anywhere since 2002-Nov-29 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97731 13f79535-47bb-0310-9956-ffa450edef68
* Per Greg's request, add a version string component to the ap_provider.hJustin Erenkrantz2002-11-301-4/+24
| | | | | | | | functions. This allows modules to register different versions of the same provider. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97696 13f79535-47bb-0310-9956-ffa450edef68
* Add export_files to EXTRACLEAN_TARGETSWilfredo Sanchez2002-11-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97675 13f79535-47bb-0310-9956-ffa450edef68
* If apr and apr-util are not in-tree, we need to be able to find theWilfredo Sanchez2002-11-292-16/+23
| | | | | | | | | | | | | | | | include directory for each in order to generate the server/exports.c and server/export_vars.h files. configure.in: - Provide APR_INCLUDEDIR, APU_INCLUDEDIR. server/Makefile.in: - Use $APR_INCLUDEDIR $APU_INCLUDEDIR vars. - Add export_files target to generate a list of headers with symbols to export, use that list to generate exports.c and export_vars.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97672 13f79535-47bb-0310-9956-ffa450edef68
* Force the screen to close on exit() if the -E option was specified on theBradley Nicholes2002-11-251-2/+6
| | | | | | | command line git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97647 13f79535-47bb-0310-9956-ffa450edef68
* Fix critical bug in new --enable-v4-mapped configure optionJeff Trawick2002-11-221-8/+10
| | | | | | | | | | | | | implementation which broke IPv4 listening sockets on systems with IPV6_V6ONLY socket option. That option should only be done on IPv6 listening sockets. Submitted by: hiroyuki hanai <hanai@imgsrc.co.jp>] Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97595 13f79535-47bb-0310-9956-ffa450edef68
* bucket length parameter is apr_size_t, which isn't always signed,Jeff Trawick2002-11-191-1/+1
| | | | | | | | | | so be careful when comparing with the special value -1 Submitted by: Allan Edwards <ake@us.ibm.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97569 13f79535-47bb-0310-9956-ffa450edef68
* Use AP_DECLARE in the debug versions of ap_strXXX in case theJeff Trawick2002-11-181-6/+6
| | | | | | | | | | | default calling convention is not the same as the one used by AP_DECLARE. Submitted by: Juan Rivera <Juan.Rivera@citrix.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97565 13f79535-47bb-0310-9956-ffa450edef68
* core_output_filter: back out changes to clean up resources before the endGreg Ames2002-11-161-30/+2
| | | | | | | | of a keepalive connection until we can figure out how to do it safely for mmap buckets git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97539 13f79535-47bb-0310-9956-ffa450edef68
* Add --[enable|disable]-v4-mapped configure option to controlJeff Trawick2002-11-141-0/+19
| | | | | | | | | | | | | | | | | | whether or not Apache expects to handle IPv4 connections on IPv6 listening sockets. Either setting will work on systems with the IPV6_V6ONLY socket option. --enable-v4-mapped must be used on systems that always allow IPv4 connections on IPv6 listening sockets. Note: As the ssl config file is not automatically generated and it is expected to require editing anyway to work, the only change there was to suggest the required Listen statements in a comment. PR: PR 14037 (Bugzilla), PR 7492 (Gnats), various dups of these PRs git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97516 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold the Apache screen open when it exits with an error if all of the ↵Bradley Nicholes2002-11-131-0/+3
| | | | | | | | | | error messages are going to a file anyway. In other words, don't hold the screen open if the -E <filename> command line parameter is used. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97507 13f79535-47bb-0310-9956-ffa450edef68
* core_output_filter: use the current input brigade's pool for the "more"Greg Ames2002-11-131-13/+10
| | | | | | | | | brigade when we defer network writes due to small data + keepalives. This prevents leaking resources in the "more" brigade until the end of the connection. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97503 13f79535-47bb-0310-9956-ffa450edef68
* can't mix declarations and statements except with gcc 3.2 :)Jeff Trawick2002-11-111-3/+3
| | | | | | | (or possibly RedHat 8's patches to it) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97488 13f79535-47bb-0310-9956-ffa450edef68
* prevent seg faults when running with Electric Fence.Greg Ames2002-11-111-1/+23
| | | | | | | | | The "more" brigade (created by apr_brigade_split after seeing a FLUSH bucket) was in the deferred_write_pool. d_w_p is cleared, "more" is copied into b, then the while loop test for APR_BRIGADE_EMPTY(b) blows up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97484 13f79535-47bb-0310-9956-ffa450edef68
* core_output_filter: straighten out the parens for the decision to set aside.Greg Ames2002-11-081-3/+3
| | | | | | | Pointed out by: gcc and Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97463 13f79535-47bb-0310-9956-ffa450edef68
* use a subpool of c->pool for resources which are set aside, then clear itGreg Ames2002-11-081-1/+12
| | | | | | | | after writing the data to the network. This closes files sooner with keepalive connections. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97462 13f79535-47bb-0310-9956-ffa450edef68
* We didn't atexit() the win32 keep-console-open-on-error handler earlyWilliam A. Rowe Jr2002-11-081-4/+4
| | | | | | | enough to catch some preflight errors. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97461 13f79535-47bb-0310-9956-ffa450edef68
* adjust some parents to make the expression a tiny bit clearer and toJeff Trawick2002-11-081-2/+2
| | | | | | | | | | make gcc happy > core.c: In function `core_output_filter': > core.c:3884: warning: suggest parentheses around && within || git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97459 13f79535-47bb-0310-9956-ffa450edef68
* no functional change...factor out a common subexpressionGreg Ames2002-11-061-10/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97431 13f79535-47bb-0310-9956-ffa450edef68
* The value emitted by ServerSignature now mimics the Server HTTP header asJustin Erenkrantz2002-11-061-2/+3
| | | | | | | | | | controlled by ServerTokens. Submitted by: Francis Daly <deva@daoine.org> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97416 13f79535-47bb-0310-9956-ffa450edef68
* Small performance tweaks to net_time_filter and core_input_filter.Bill Stoddard2002-11-041-24/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97390 13f79535-47bb-0310-9956-ffa450edef68
* core_opts_merge() needs to be staticJeff Trawick2002-11-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97385 13f79535-47bb-0310-9956-ffa450edef68
* Mr. Trawick was dead on, and this revealed a much bigger bug.William A. Rowe Jr2002-11-011-108/+117
| | | | | | | | | | | | Factor out the opts/override merging (since we do it three times) and eliminate all the nasty goto's. This bug likely caused all sorts of dir_walk configuration issues including htaccess issues. Also add a few more docs where things aren't so obvious. PR: 14147 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97380 13f79535-47bb-0310-9956-ffa450edef68
* Use APR_STATUS_IS_EOF rather than a check against APR_EOFJustin Erenkrantz2002-11-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97378 13f79535-47bb-0310-9956-ffa450edef68
* Style police were called back from their vacationJustin Erenkrantz2002-11-011-471/+497
| | | | | | | *No functional changes* git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97377 13f79535-47bb-0310-9956-ffa450edef68
* no such thing as AP_ASSERT()Jeff Trawick2002-11-011-1/+1
| | | | | | | there is ap_assert() and AP_DEBUG_ASSERT() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97375 13f79535-47bb-0310-9956-ffa450edef68
* Fix a trailing slash/last filename truncation bug observed on Linux,William A. Rowe Jr2002-11-011-0/+2
| | | | | | | | | | | | | | which affected DAV MOVE operations and even general file access. PR 14147, 10687, 10236 [Dan Good <debug@gooddan.com>] I'm accepting Jeff Trawick's suggestion of twisting the test into an assert, since it seems very unlikely (after correctly resetting the flag) that this will fault. Reviewed by: Jeff Trawick, Will Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97366 13f79535-47bb-0310-9956-ffa450edef68