summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add --enable-fips, FIPSify everything.Ben Laurie2005-06-112-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fips-dev@190120 13f79535-47bb-0310-9956-ffa450edef68
* The new function ap_logs_child_init() is intended for useJeff Trawick2005-05-201-0/+4
| | | | | | | | only by the core server. Require CORE_PRIVATE to obtain the prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@171093 13f79535-47bb-0310-9956-ffa450edef68
* Support the suppress-error-charset setting, as with Apache 1.3.x.Jeff Trawick2005-05-161-0/+3
| | | | | | | | | | | | | | With Apache 1.3.x, it is a bit simpler as the request does not go through ap_make_content_type(). Modules can set custom error responses but not be able to set the charset, so they have to code the charset in the html. Thus, it is useful to preserve 1.3.x behavior exactly. PR: 26467 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170354 13f79535-47bb-0310-9956-ffa450edef68
* Prevent hangs of child processes when writing to piped loggers atJeff Trawick2005-05-151-0/+10
| | | | | | | | | | | the time of graceful restart. PR: 26467 Reviewed by: Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170281 13f79535-47bb-0310-9956-ffa450edef68
* Add the LDAPVerifyServerCert directive to util_ldap to forceBradley Nicholes2005-05-111-0/+1
| | | | | | | | verification of a server certificate when establishing an SSL connection to the LDAP server git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@169705 13f79535-47bb-0310-9956-ffa450edef68
* Add AP_INIT_TAKE_ARGV. There can be some inconsistent results because of the ↵Paul Querna2005-05-042-2/+15
| | | | | | | | | | | | behavoir of ap_getword_conf. Do not rely upon any last argument that is "". If the argument is in the middle of the line, it should work correctly. This is updated from the version sent to dev@httpd to fix the behavoir with 0 arguments. * include/http_config.h: minor MMN bump for the new interface. * modules/generators/mod_autoindex.c: Migrate IndexOptions to the new ARGV command type. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168202 13f79535-47bb-0310-9956-ffa450edef68
* The SPMT_OS2_MPM doesn't exist. The warning is also wrong, since both winnt ↵Paul Querna2005-05-041-4/+1
| | | | | | and prefork MPMs call this function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168139 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_vhost_iterate_given_conn() as I had previously mentioned on the ↵Paul Querna2005-04-252-1/+26
| | | | | | mailing list. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@164538 13f79535-47bb-0310-9956-ffa450edef68
* Remove ap_method_list_do and ap_method_list_vdo as previously mentioned ↵Paul Querna2005-04-251-8/+1
| | | | | | dev@httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@164536 13f79535-47bb-0310-9956-ffa450edef68
* As discussed on the list, change the default setting forRich Bowen2005-04-131-1/+1
| | | | | | | KeepAliveTimeout from 15 seconds to 5 seconds. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161140 13f79535-47bb-0310-9956-ffa450edef68
* Implement the exported function from mod_ldap(util_ldap) as optional ↵Bradley Nicholes2005-03-311-17/+17
| | | | | | functions so that we can eliminate the load ordering of mod_ldap and mod_authnz_ldap. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159619 13f79535-47bb-0310-9956-ffa450edef68
* And carry on with 2.1.5-dev.Sander Striker2005-03-161-2/+2
| | | | | | | | | | | | | | * include/ap_release.h Bump AP_SERVER_PATCHLEVEL_NUMBER to 5. Set AP_SERVER_DEVBUILD_BOOLEAN. * CHANGES Add a 2.1.5 section. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@157726 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for 2.1.4 tag.Sander Striker2005-03-161-1/+1
| | | | | | | | | * include/ap_release.h Clear AP_SERVER_DEVBUILD_BOOLEAN. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@157725 13f79535-47bb-0310-9956-ffa450edef68
* Add ReceiveBufferSize directive to control the TCP receive buffer.Justin Erenkrantz2005-03-151-1/+6
| | | | | | | | Submitted by: Eric Covener <covener gmail.com> Reviewed by: Justin Erenkrantz (with minor formatting tweaks) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@157583 13f79535-47bb-0310-9956-ffa450edef68
* really bump MMNJeff Trawick2005-03-051-1/+1
| | | | | | Submitted by: Sander Temme git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156279 13f79535-47bb-0310-9956-ffa450edef68
* worker MPM/mod_status: Support per-worker tracking of pid andJeff Trawick2005-03-052-0/+8
| | | | | | | | | | | | | | generation in the scoreboard so that mod_status can accurately represent workers in processes which are gracefully terminating. New child processes with worker MPM can take over slots of individual threads within gracefully terminating processes. Sometimes this is a problem (too many of these gracefully terminating processes), so it is helpful to have mod_status provide the information required to recognize these processes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156274 13f79535-47bb-0310-9956-ffa450edef68
* Onward ho to 2.1.4.Justin Erenkrantz2005-02-231-2/+2
| | | | | | | | * CHANGES: Bump. * include/ap_release.h: Bump. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154973 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_release.h: Time for 2.1.3.Justin Erenkrantz2005-02-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154971 13f79535-47bb-0310-9956-ffa450edef68
* Fix some symbols which should -not- be exported, and decorate real_exit_codeWilliam A. Rowe Jr2005-02-183-2/+8
| | | | | | | | with ap_ (this symbol must be exported.) If the others were desired to be public, they should have been ap_xxx decorated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154216 13f79535-47bb-0310-9956-ffa450edef68
* Get httpd-2.1 building once again on win32.William A. Rowe Jr2005-02-171-4/+0
| | | | | | | | | | | | | | | | NEVER NEVER screw around with redeclaring AP_ macros and constants. If the compiler won't pick them up, e.g., AP_DECLARE, ya've done something wrong from the start. All httpd/ap headers depend on httpd.h - plain and simple, so this un-convolutes the unusual order here. STATIC has become PCRE_STATIC, along with some other odd definitions. The only remaining emit is that _pcre_free export is imported, which implies something is unusual with the declaration. Still researching. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154207 13f79535-47bb-0310-9956-ffa450edef68
* *) include/httpd.h: Add a brigade for temporary uses in the core input ↵Paul Querna2005-02-171-0/+1
| | | | | | | | | | | filter context. *) server/core_filters.c: Do not use brigade_split, since it allocates a new brigade. Instead move buckets to our tmpbb, and reuse the tmpbb for every call. PR: 33382 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154200 13f79535-47bb-0310-9956-ffa450edef68
* * include/httpd.h: Fix a comment.Joe Orton2005-02-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153408 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_regex.h: Include apr.h not stdlib.h; replace pointlessJoe Orton2005-02-112-18/+17
| | | | | | | | | | | | regoff_t typedef with int; s/size_t/apr_size_t/;. Comment fixes. * server/util_pcre.c: s/size_t/apr_size_t/. * include/httpd.h: Include stdlib.h here instead since many other files assume it was included by httpd.h at some point. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153407 13f79535-47bb-0310-9956-ffa450edef68
* * include/util_ldap.h (util_ldap_state_t): Fix gcc format stringJoe Orton2005-02-111-1/+1
| | | | | | | | | | | warnings: use a long for connectionTimeout since the code expects a long. * modules/ldap/util_ldap.c (compare_client_certs): Make static to fix gcc missing-prototype warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153390 13f79535-47bb-0310-9956-ffa450edef68
* Move the POSIX reg* implementations into the ap_* namespace;Joe Orton2005-02-115-150/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internalise the ap_reg*<->PCRE wrapper: * configure.in: Add srclib/pcre to the include path. * include/ap_regex.h: Renamed from include/pcreposix.h. Prefix all constants with AP_; prefix all functions and types with ap_. Define AP_DECLARE to nothing if necessary. Remove regcomp error codes. * include/httpd.h: Include ap_regex.h not pcreposix.h. (ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/. (ap_regexec, ap_regerror): Prototypes moved to ap_regex.h. * server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree): Adjust for ap_ prefixed types. (ap_regexec, ap_regerror): Removed. * server/Makefile.in: Build util_pcre.c. * server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use of PCRE-internals to do error mapping; rename types to add AP_/ap_ prefixes as above. Use APR includes. (ap_regerror): Use apr_snprintf. * srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la. * modules/*: Update to use new type and constant names. PR: 27750 (part one) Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153384 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-0428-28/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* Keep track of time taken to process requests again.Jim Jagielski2005-02-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149550 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_mmn.h: Fix typo.Joe Orton2005-01-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126611 13f79535-47bb-0310-9956-ffa450edef68
* Added a new LDAPConnectionTimeout directive to util_ldap so that the socket ↵Bradley Nicholes2005-01-271-0/+1
| | | | | | connection timeout value is configurable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126565 13f79535-47bb-0310-9956-ffa450edef68
* mod_ldap: Updated to use the new apr-util v1.1 apr_ldap_*_option()Graham Leggett2005-01-191-4/+7
| | | | | | | | | | | API for the setting of server and client SSL certificates. Replaced LDAPTrustedCA directive with LDAPTrustedGlobalCert and LDAPTrustedClientCert directives to correctly support global certs (CA certs / Netware client certs) and per connection client certs as supported by Netware, OpenLDAP and Netscape/Mozilla. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125645 13f79535-47bb-0310-9956-ffa450edef68
* Correct the order of includes to follow httpd conventions, and getWilliam A. Rowe Jr2005-01-051-14/+14
| | | | | | | Win32 compiling again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124279 13f79535-47bb-0310-9956-ffa450edef68
* FINALLY Correct ap_http_method()! It is NOT a method, it's a SCHEME!William A. Rowe Jr2005-01-023-9/+9
| | | | | | | | | | Bumped mmn, and ap module cookie, for this function rename. It's not a deprecation, as ap_http_method would be a lovely function name sometime in the future: to determine what the function name implies. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123882 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_config.h: Add missing parameter name.Joe Orton2004-12-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111964 13f79535-47bb-0310-9956-ffa450edef68
* undo changes made in 111386 due to vetoGeoffrey Young2004-12-091-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111432 13f79535-47bb-0310-9956-ffa450edef68
* add response code 226 constant (HTTP_IM_USED) and statusGeoffrey Young2004-12-091-1/+2
| | | | | | | line ("226 IM Used"). PR 31128. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111386 13f79535-47bb-0310-9956-ffa450edef68
* Onward ho to 2.1.3...Justin Erenkrantz2004-12-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111353 13f79535-47bb-0310-9956-ffa450edef68
* It's time for 2.1.2.Justin Erenkrantz2004-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111351 13f79535-47bb-0310-9956-ffa450edef68
* worker MPM: Fix a problem which could cause httpd processes toJeff Trawick2004-12-021-1/+32
| | | | | | | | | | | | | | | | remain active after shutdown. The problem occurred when a scoreboard entry currently in use by an exiting child process was used for a new child process. At that point, the MPM forgot about the exiting child process, so ap_reclaim_child_processes() wouldn't be able to forceably terminate it. (An exiting child process may *never* exit due to a stuck or long-running request being handled on one of the threads.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109510 13f79535-47bb-0310-9956-ffa450edef68
* Fix gcc "no previous prototype" warnings after reorganisation:Joe Orton2004-12-022-14/+9
| | | | | | | | | | | | | * server/core_filters.c (ap_core_input_filter, ap_core_output_filter, ap_net_time_filter): Renamed to add ap_ prefixes for global symbols. * include/ap_listen.h: Don't export ap_listen_open at all, it's not used outside server/listen.c any more. * server/listen.c (open_listeners): Renamed from ap_listen_open. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109498 13f79535-47bb-0310-9956-ffa450edef68
* Declare the ap_set_listen* functions with AP_DECLARE_NONSTD for Win32 support.Justin Erenkrantz2004-11-301-3/+3
| | | | | | | (I think this is what is needed for Win32, but I'm not quite sure.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106988 13f79535-47bb-0310-9956-ffa450edef68
* Revert my patch of this a.m. while I work out all theWilliam A. Rowe Jr2004-11-291-6/+6
| | | | | | | potential forward declaration pitfalls. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106955 13f79535-47bb-0310-9956-ffa450edef68
* Usage was inconsistent with the rest of ap_filter_t examples;William A. Rowe Jr2004-11-291-6/+6
| | | | | | | we always presume the typedef'fed flavor of such symbol names. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106932 13f79535-47bb-0310-9956-ffa450edef68
* Properly export ap_listen_* functions.Justin Erenkrantz2004-11-281-6/+6
| | | | | | | | * server/listen.c: Add AP_DECLARE as appropriate. * include/ap_listen.h: Add AP_DECLARE as appropriate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106843 13f79535-47bb-0310-9956-ffa450edef68
* Moving pcreposix.h to include/ to replace the (now out of date) version thereBrian Pane2004-11-271-0/+117
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106755 13f79535-47bb-0310-9956-ffa450edef68
* Removing in order to "svn move" the new one from srclib/pcre to this location.Brian Pane2004-11-271-99/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106754 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate awk autogeneration of the ApacheMonitor's .rc resourceWilliam A. Rowe Jr2004-11-231-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | source file. By adding several macros to ap_release.h: - the stringize magic, in leiu of including a ton of cruft, - split subversion and "-dev" tokens (with a binary flag) - a _CSV token in the form of m,n,p (not a string) we are able to have use a static ApacheMonitor.rc file, which picks up all of the necessary values right from ap_release.h. If the group likes this approach, I will percolate it throughout the project, and we will lose the requirement of awk for everything -except- rewriting the installed httpd.conf script (developer builds always get an installed httpd.conf script - it's only 'fixed up' with the correct @@ substitutions if they have awk.) This project was chosen because ApacheMonitor.rc already exists in svn. Comment please. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106313 13f79535-47bb-0310-9956-ffa450edef68
* The Event MPM.Paul Querna2004-11-202-0/+24
| | | | | | | | | | | | | | | | | | | | Designed to minimize Apache's KeepAlive overhead. This MPM depends on the current APR-trunk for new features added to the apr_pollset interface. Currently the underlying operating system must support KQueue or EPoll. Status: Should work as a drop in replacement for all non-ssl servers. SSL Requests that use HTTP 1.1 Pipelining do not currently work. Testing: I have tested it with Linux 2.6, FreeBSD 5.2.1, and OS X 10.3. Originally based on the patch by Greg Ames. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105919 13f79535-47bb-0310-9956-ffa450edef68
* Onward to 2.1.2-dev.Justin Erenkrantz2004-11-191-2/+2
| | | | | | | | * CHANGES: Bump... * include/ap_release.h: to 2.1.2-dev. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105892 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_release.h: Bump to 2.1.1.Justin Erenkrantz2004-11-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105890 13f79535-47bb-0310-9956-ffa450edef68
* Remove the .cvsignore files.Joe Orton2004-11-191-12/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105796 13f79535-47bb-0310-9956-ffa450edef68