summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support use of an external copy of the PCRE library:Joe Orton2005-02-113-12/+37
| | | | | | | | | | | | | | | * configure.in: Set abs_{builddir,srcdir} higher. Add --with-pcre flag; build against external PCRE library if used. * Makefile.in (install-include): Don't install pcre headers any more. * srclib/Makefile.in (SUBDIRS): Remove. PR: 27550 (part two) Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153400 13f79535-47bb-0310-9956-ffa450edef68
* * include/util_ldap.h (util_ldap_state_t): Fix gcc format stringJoe Orton2005-02-112-3/+3
| | | | | | | | | | | 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
* * modules/cache/mod_disk_cache.c (store_body): Fix format stringJoe Orton2005-02-113-6/+5
| | | | | | | | | | | | | warnings; print integers using _FMT strings. * modules/cache/cache_util.c (ap_cache_check_freshness): Remove unused variable. * modules/cache/cache_storage.c (cache_select_url): Remove unused variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153385 13f79535-47bb-0310-9956-ffa450edef68
* Move the POSIX reg* implementations into the ap_* namespace;Joe Orton2005-02-1126-256/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Move theJoe Orton2005-02-101-14/+14
| | | | | | | | SSLUsername-controlled assignment of r->user above the SSLRequire checks so that the "username" gets logged if SSLRequire denies access. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153280 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in: Use buildmark.o not .lo since it was COMPILEdJoe Orton2005-02-101-1/+1
| | | | | | | not LT_COMPILEd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153273 13f79535-47bb-0310-9956-ffa450edef68
* More tweaks primarily driven by caching.Sander Striker2005-02-101-16/+22
| | | | | | | | | | * modules/http/http_protocol.c (ap_meets_conditions): Allow If-None-Modified and If-Modified-Since to interact as described in RFC2616, sections 14.26 and 13.3.4. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153270 13f79535-47bb-0310-9956-ffa450edef68
* Only recompile buildmark.c when we have to relink httpd.Justin Erenkrantz2005-02-104-3/+7
| | | | | | | | This allows us to be able to do a make on an up-to-date tree without forcing a recompile and relink. Yay! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153266 13f79535-47bb-0310-9956-ffa450edef68
* build all and add new japanese transformationsAndré Malo2005-02-0916-19/+290
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153117 13f79535-47bb-0310-9956-ffa450edef68
* Docs update. Refresh as well as fold in (better??) docsJim Jagielski2005-02-0916-42/+254
| | | | | | | about balancer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153116 13f79535-47bb-0310-9956-ffa450edef68
* Now that the crisis has passed, update the CHANGES entry... =)Justin Erenkrantz2005-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153107 13f79535-47bb-0310-9956-ffa450edef68
* Remove formatting characters from ap_log_error() calls. TheseJeff Trawick2005-02-095-9/+13
| | | | | | | | | | were escaped as fallout from CAN-2003-0020. Submitted by: Eric Covener <ecovener gmail.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153105 13f79535-47bb-0310-9956-ffa450edef68
* Some minimal tweaks to mod_cache.Sander Striker2005-02-092-3/+4
| | | | | | | | | | | | | | * modules/cache/mod_mem_cache.c (store_headers): Remove unused variable. * modules/cache/mod_cache.c (cache_save_filter): Slightly improve comment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153104 13f79535-47bb-0310-9956-ffa450edef68
* fix function name in developer docJeff Trawick2005-02-092-2/+2
| | | | | | | | | PR: 33438 Submitted by: Bojan Smojver Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153092 13f79535-47bb-0310-9956-ffa450edef68
* New Japanese translation. Hiroaki Kawai2005-02-091-0/+169
| | | | | | | | | English revision: 151408 Submitted by: yoshiki Reviewed by: kawai git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153064 13f79535-47bb-0310-9956-ffa450edef68
* New Japanese translation.Hiroaki Kawai2005-02-091-0/+66
| | | | | | | Submitted by: yoshiki Reviewed by: kawai git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153061 13f79535-47bb-0310-9956-ffa450edef68
* More work to properly handle revalidated responses correctly.Justin Erenkrantz2005-02-094-19/+64
| | | | | | | | | | | | * modules/cache/mod_cache.c: If we add a new Expires value, tell our client; merge in headers properly (or better than before) so that we can update the header fields on a revalidated but with updated header fields. * modules/cache/mod_cache.h, modules/cache/cache_storage.c: Add preserve_orig flag to ap_cache_accept_headers to allow updating of fields. * modules/cache/mod_disk_cache.c: Load status value from disk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152973 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/mod_proxy_ajp.cSander Striker2005-02-091-0/+3
| | | | | | | | (proxy_ajp_handler): Log error when a backend connection could not be made. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152966 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/proxy_util.cSander Striker2005-02-091-0/+3
| | | | | | | (ap_proxy_pre_request): Log an error when all workers are busy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152964 13f79535-47bb-0310-9956-ffa450edef68
* Add a target to build the prebuild utilities on NetWareBradley Nicholes2005-02-094-22/+26
| | | | | | Submitted by: Guenter Knauf <fuankg@apache.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152957 13f79535-47bb-0310-9956-ffa450edef68
* Stop exposing source filenames in the configuration files.Sander Striker2005-02-082-32/+32
| | | | | | | | | | | | * docs\conf\httpd-win.conf * docs\conf\httpd-std.conf.in Replace all occurences of *.c with *_module within IfModule clauses, as pointed out by Paul Querna to be possible nowadays. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152951 13f79535-47bb-0310-9956-ffa450edef68
* More mod_cache tweakage.Sander Striker2005-02-081-5/+7
| | | | | | | | | * modules/cache/cache_storage.c (cache_select_url): Add If-Modified-Since regardless of having an ETag or not. See: RFC2616, 14.26. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152948 13f79535-47bb-0310-9956-ffa450edef68
* Make the function declaration match the prototypeBradley Nicholes2005-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152927 13f79535-47bb-0310-9956-ffa450edef68
* Return the proper status and headers when serving a revalidated response.Justin Erenkrantz2005-02-083-3/+12
| | | | | | | | | | | | * modules/cache/mod_cache.c (cache_save_filter): Load in the cached status and headers; send a flush rather than an EOS when the client request is conditional. * modules/cache/mod_cache.h: Export ap_cache_accept_headers. * modules/cache/cache_storage.c: Rename accept_headers to ap_cache_accept_headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152680 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup structures in mod_cache and friends to remove unused or unnecessaryJustin Erenkrantz2005-02-086-261/+53
| | | | | | | | fields. Also resolves a number of latent bugs due to the wrong fields being accessed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152679 13f79535-47bb-0310-9956-ffa450edef68
* If we rec' a bad response header line, ignore what we'veJim Jagielski2005-02-081-0/+1
| | | | | | | rec'd so far and force BAD_GATEWAY. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152676 13f79535-47bb-0310-9956-ffa450edef68
* * modules/cache/mod_cache.h: Move the structure declaration of cache_handleJustin Erenkrantz2005-02-081-9/+8
| | | | | | | near its typedef declaration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151817 13f79535-47bb-0310-9956-ffa450edef68
* * modules/cache/mod_cache.c: One more try at proper handling of revalidatedJustin Erenkrantz2005-02-082-0/+4
| | | | | | | | | responses. ...All together now, we hate uninitialized variables... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151816 13f79535-47bb-0310-9956-ffa450edef68
* * modules/cache/mod_disk_cache.c: Properly load cached ETag from on-diskJustin Erenkrantz2005-02-082-0/+4
| | | | | | | structures. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151815 13f79535-47bb-0310-9956-ffa450edef68
* Document the new optional parameter for AuthLDAPUrlBradley Nicholes2005-02-072-5/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151743 13f79535-47bb-0310-9956-ffa450edef68
* Better handle the case where ProxyBadHeader StartBody isJim Jagielski2005-02-071-20/+39
| | | | | | | | | | in effect and we think we've started reading in the response body. Take advantage of the fact that the line read is still in buffer (and document that) to allow us to add to the bb. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151722 13f79535-47bb-0310-9956-ffa450edef68
* Change where we set r->user if we're setting it from a David Reid2005-02-051-11/+14
| | | | | | | client certificate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151493 13f79535-47bb-0310-9956-ffa450edef68
* Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid hiccupsWilliam A. Rowe Jr2005-02-051-1/+2
| | | | | | | | | from additional path information passed in non-utf-8 format. Submitted by: Richard Donkin <rd9 donkin.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151464 13f79535-47bb-0310-9956-ffa450edef68
* update revision referencesAndré Malo2005-02-04266-266/+266
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151414 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-04523-755/+1066
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* Sync with httpd-2.0 changes.Justin Erenkrantz2005-02-041-8/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151406 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/config.m4: Fix mod_proxy build after filename changes.Joe Orton2005-02-041-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151329 13f79535-47bb-0310-9956-ffa450edef68
* Sync CHANGES with 2.0.x.Justin Erenkrantz2005-02-041-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151273 13f79535-47bb-0310-9956-ffa450edef68
* Sync CHANGES with 2.0.x.Justin Erenkrantz2005-02-041-13/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151267 13f79535-47bb-0310-9956-ffa450edef68
* Fix --with-apr=/usr and/or --with-apr-util=/usr.Justin Erenkrantz2005-02-042-1/+9
| | | | | | | | | PR: 29740 Submitted by: Max Bowsher <maxb ukf.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151255 13f79535-47bb-0310-9956-ffa450edef68
* mod_proxy: Fix ProxyRemoteMatch directive.Justin Erenkrantz2005-02-042-2/+5
| | | | | | | | | PR: 33170 Submitted by: Rici Lake <rici ricilake.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151248 13f79535-47bb-0310-9956-ffa450edef68
* Also translate Destination headers when ProxyPassReverse'dSander Striker2005-02-042-2/+5
| | | | | | | | | | | | | | | * modules\proxy\mod_proxy_http.c (process_proxy_header): reverse map Destination header. NOTE: This is some darn nasty looking code... * modules\proxy\ajp_header.c (ajp_unmarshal_response): reverse map Destination header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151246 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some crumbs... The sandwich is next.Sander Striker2005-02-031-1/+0
| | | | | | | | | * modules\proxy\mod_proxy.c (alias_match): Removed unused variables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151241 13f79535-47bb-0310-9956-ffa450edef68
* Rename proxy modules.Sander Striker2005-02-0315-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules\proxy\mod_proxy_ajp.c * modules\proxy\mod_proxy_balancer.c * modules\proxy\mod_proxy_connect.c * modules\proxy\mod_proxy_ftp.c * modules\proxy\mod_proxy_http.c Renamed from proxy_{ajp,balancer,connect,ftp,http}.c * modules\proxy\mod_proxy_ajp.dsp * modules\proxy\mod_proxy_balancer.dsp * modules\proxy\mod_proxy_connect.dsp * modules\proxy\mod_proxy_ftp.dsp * modules\proxy\mod_proxy_http.dsp Update references to renamed files. * modules\proxy\NWGNUproxyajp * modules\proxy\NWGNUproxybalancer * modules\proxy\NWGNUproxycon * modules\proxy\NWGNUproxyftp * modules\proxy\NWGNUproxyhtp Update references to renamed files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151238 13f79535-47bb-0310-9956-ffa450edef68
* Error out on configurations where the cache provider starts with a '/'.Sander Striker2005-02-031-0/+6
| | | | | | | | | | | | | Saves certain people a bit of time figuring out why their caching doesn't work... * modules/cache/mod_cache.c (add_cache_enable): Throw an error when a provider starting with a '/' is encountered. The user probably switched arguments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151232 13f79535-47bb-0310-9956-ffa450edef68
* Remove old FIX_15207 snippetsJim Jagielski2005-02-031-83/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151212 13f79535-47bb-0310-9956-ffa450edef68
* --showstoppers;Jeff Trawick2005-02-031-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151170 13f79535-47bb-0310-9956-ffa450edef68
* proxy HTTP: Rework the handling of request bodies to handleJeff Trawick2005-02-032-188/+501
| | | | | | | | | | | | | | | | | | | | | | chunked input and input filters which modify content length, and avoid spooling arbitrary-sized request bodies in memory. This is a merge of the proxy-reqbody branch into the trunk. Justin had the protocol issues resolved in 2.1-dev, but not the memory issue. The new implementation makes an effort to stream the request body whenever possible. Thanks to Allan Edwards for a critical bug fix, Greg Ames for some style corrections, Justin for a needed commentary addition, Jan Kratochvil for testing the analogous 2.0.x patch with the SonyEricsson P900 phone, and reviews by all these folks + JimJag. PR: 15859 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151168 13f79535-47bb-0310-9956-ffa450edef68
* Close PR 32459, 15207. API change for PROXY_DECLARE ap_proxy_canonenc()Jim Jagielski2005-02-037-14/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151153 13f79535-47bb-0310-9956-ffa450edef68
* Allow AuthLDAPURL to override the default connection type with an option ↵Bradley Nicholes2005-02-032-11/+31
| | | | | | second parameter of NONE, SSL or TLS | STARTTLS git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151083 13f79535-47bb-0310-9956-ffa450edef68