History log of /httpd/CHANGES
Revision Date Author Comments Expand
1337c7673efc1f80f634139fbad7cbb98a0dc657 1674632 19-Apr-2015 ylavic

mod_proxy_wstunnel: Bypass the handler while the connection is not upgraded to WebSocket, so that other modules can possibly take over the leading HTTP requests.

4da61833a1cbbca94094f9653fd970582b97a72e 1674510 18-Apr-2015 trawick

mod_proxy_scgi: ProxySCGIInternalRedirect now allows an alternate response header to be used by the application, for when the application or framework is unable to return Location in the internal-redirect form.

f7aadcfcbced674fe34a49dac57308b96036d108 1674047 16-Apr-2015 trawick

Remove entries for fixes/features already merged to 2.4.x branch

d280f5f395a1fdf5a1ca0d7a926e28701277b195 1673838 15-Apr-2015 kbrand

Revert r1672014 - doesn't work as advertised (would break configs where the per-vhost log level is different from the global level)

0bbd6b239b73846d317aa4d8a8ae6e992728981c 1673455 14-Apr-2015 covener

libressl fix for removed ENGINE_CTRL_CHIL_SET_FORKCHECK Submitted By: Stuart Henderson <sthen openbsd.org> Commited By: covener

4789804be088bcd86ae637a29cdb7fda25169521 1672989 12-Apr-2015 jailletc36

Add CHANGES entry before backport proposal

f18450c8e2f4ba09435d181b32438e1874cf6625 1672014 08-Apr-2015 kbrand

UNSET the VirtualHost's LogLevel just before calling ap_merge_log_config(), to make sure that the DEFAULT_LOGLEVEL (APLOG_WARNING) is also in effect when ap_process_config_tree() in main.c:main() walks through the VirtualHost sections. See https://mail-archives.apache.org/mod_mbox/httpd-dev/201404.mbox/%3C535CC85B.80501%40velox.ch%3E for one case this is addressing. This reverts the change from r1024427 on the one hand, but still ensures correct LogLevel merging on the other hand.

e50c3026198fd496f183cda4c32a202925476778 1671918 07-Apr-2015 covener

allow time to first byte (of response headers) to be logged by mod_logio. mod_logio was just a conveninent place to do this w/o writing a new filter or complicating an existing important one.

3f75893061b986a4678cff6a07b58ad87e199cf8 1671419 05-Apr-2015 ylavic

CHANGES: remove entries merged into 2.4.x.

5b88c8507d5ef6d0c4cfbc78230294968175b638 1670594 01-Apr-2015 minfrin

http: Add support for RFC2324/RFC7168. Sample implementation: http://people.apache.org/~minfrin/mod_teapot.c

86ba86bbe4d803bdc30616302300e31b90d5d8e9 1669299 26-Mar-2015 ylavic

mod_proxy_wstunnel: Avoid an empty response by failing with 502 (Bad Gateway) when no response is ever received from the backend.

5ba2c965d1a25a74c9aa69f82c45939fb3a3e91d 1669292 26-Mar-2015 ylavic

CHANGES: follow up to r1669289.

e29302b62b255384000d6540b9455e965aba983d 1668882 24-Mar-2015 covener

backported

f1a645f033ade48b8e9e43545c1434cf7129179a 1668881 24-Mar-2015 covener

backported

925a0ae69fe5b15a1e42d2b5676b941d59766790 1668535 23-Mar-2015 ylavic

core: follow up to r1668532: CHANGES entry.

d44d1d625d4165f684b75264efe945e0d642e3f8 1667385 17-Mar-2015 covener

Retry ENOENT like ECONNREFUSED, but only near a server restart. PR57685 Submitted By: Edward Lu Committed By: covener

6c3b9cebb551140fbb25d58bae08b539b3802133 1666998 16-Mar-2015 ylavic

core: Cleanup the request soon/even if some output filter fails to handle the EOR bucket.

4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247 1666468 13-Mar-2015 ylavic

mpm_event: Allow for timer events duplicates. Meanwhile ap[r]_skiplist_add()...

e7a83ac97aed916dc6da9441f24d5630caad249f 1666361 13-Mar-2015 jailletc36

Avoid a potential integer underflow in the lock timeout value sent back to a client. The answer to a LOCK request could be an extremly large integer if the time needed to lock the resource was longer that the requested timeout given in the LOCK request. In such a case, we now answer "Second-0". PR55420

f4c3ded5dd561f8aa9779f227fed41303c15efaa 1666297 12-Mar-2015 ylavic

ssl_util: Fix possible crash (free => OPENSSL_free) and error path leaks when checking the server certificate constraints (SSL_X509_getBC()).

4d9aacb99fa81594665b3024fd15adcad28d2e60 1665747 11-Mar-2015 ylavic

CHANGES: remove backported entries.

0a0df13b7f1f4f1a74fe295253d89ca3911b301a 1665721 10-Mar-2015 ylavic

CHANGES: follow up to r1656259 and r1665625. Merge both commits into a single entry to ease common backport.

206ee035a75fa226ca51d6ee1f118624354803d2 1665218 09-Mar-2015 ylavic

mod_proxy: follow up to r1665215: CHANGES entry.

69301145375a889e7e37caf7cc7321ac0f91801e 1664709 06-Mar-2015 rpluem

* Do not reset the retry timeout if the worker is in error at this stage even if the connection to the backend was successful. It was likely set into error by a different thread / process in parallel e.g. for a timeout or bad status. We should respect this and should not continue with a connection via this worker even if we got one.

506bfe33206b2fece40ef25f695af39dd4130fac 1664565 06-Mar-2015 jkaluza

*) mod_rewrite: Add support for starting External Rewriting Programs as non-root user on UNIX systems by specifying username and group name as third argument of RewriteMap directive.

3586e204ed99e939d48b9d77080420258f293439 1664205 05-Mar-2015 covener

*) SECURITY: CVE-2015-0253 (cve.mitre.org) core: Fix a crash introduced in with ErrorDocument 400 pointing to a local URL-path with the INCLUDES filter active, introduced in 2.4.11. PR 57531. [Yann Ylavic] Submitted By: ylavic Committed By: covener

6d7adb93e13c40ce06c601e5fbbfc74a78ced0c2 1664123 04-Mar-2015 covener

backported

ba98c403ee9fe124b35f766232a35781c019f8fd 1664122 04-Mar-2015 covener

backported

78ae177952e97903c19115e0f1b0383a5ca22eb4 1664071 04-Mar-2015 ylavic

core: If explicitly configured, use the KeepaliveTimeout value of the virtual host which handled the latest request on the connection, or by default the one of the first virtual host bound to the same IP:port. For non-async MPMs, use either r->server's or c->base_server's value in ap_process_http_sync_connection() depending on a new server_rec's flag called keep_alive_timeout_set and determined at config time. For event MPM, use a queue per timeout value, chaining the queues per type (keepalive wrt KeepAliveTimeout, write completion wrt to Timeout) so that maintenance can be done on all the queues from the head, and such that insertions/maintenance remain in O(1). A server config is created and pointing to the queue of each vhost at post_config time, hence the config can be associated to the connection state (cs) at post_read_request time (keep_alive_timeout_set is used to determine r->server vs c->base_server here), and we can simply insert with TO_QUEUE_INSERT(cs->sc->q, cs). PR56226. While at it, since each queue now embeds it own timeout and hence the expiration_time of the cs has changed to a queue_timestamp (the time it was queued), we can detect clock skews and expire entries immediatly if the system is set (eg. far) in the past during runtime and we want to avoid waiting for (eg.) centuries before the current logic kills them. Any entry which is registered above now + q->timeout is concerned, and is now cleaned from the queue when encountered. PR57374.

d58a848a016d401b965111e50ef829e1641f7834 1663123 01-Mar-2015 minfrin

mod_authn_core: Add expression support to AuthName and AuthType.

1bd063babf8a85f58ec5772050739a63c4311f70 1662642 27-Feb-2015 jailletc36

Remove some backported entries

25b59a7ba7fb7ce658ddb3fc31531b0ce414283c 1662246 25-Feb-2015 ylavic

CHANGES: follow up to r1662245: Add PR number.

d06d6ad3304fda986f67b5ada248e9ac05848cd9 1662245 25-Feb-2015 ylavic

mod_deflate: follow up to r1619383 and r1619444: CHANGES entry.

05a2d4f42dc70e7e71ab56d3bb8832984acc2c8d 1661913 24-Feb-2015 ylavic

ab: Add missing longest request (100%) to CSV export. Submitted by: Marcin Fabrykowski <bugzilla fabrykowski.pl> Committed by: ylavic

7954293304f4d0da43344580cc31f8c017351003 1661457 22-Feb-2015 jailletc36

Backported

33a50f7ac69bc7f9f5c35cc7f0e240ec324ae660 1661448 22-Feb-2015 minfrin

core: Add expression support to ErrorDocument. Switch from a fixed sized 664 byte array per merge to a hash table.

dd993bccb903f6f0b256c4dc973b793848986ef2 1661258 21-Feb-2015 minfrin

mod_ssl: Add the SSL_CLIENT_CERT_RFC4523_CEA variable, which provides a combination of certificate serialNumber and issuer as defined by CertificateExactMatch in RFC4523.

2e6f4d654c96c98b761fb012fd25c5d5b1558c44 1659711 14-Feb-2015 sf

suexec: Filter out HTTP_PROXY Some programs look there for the http proxy server.

4e10eefaad0287c0c4ac2185bc3a1615092dbef8 1658765 10-Feb-2015 ylavic

mod_proxy_http: Use the "Connection: close" header for requests to backends not recycling connections (disablereuse), including the default reverse and forward proxies.

17e6c95f3b22d18acdf8380fb26a8d0e10c80767 1658760 10-Feb-2015 ylavic

mod_proxy_http: Don't expect the backend to ack the "Connection: close" to finally close those not meant to be kept alive by SetEnv proxy-nokeepalive or force-proxy-request-1.0, and respond with 502 instead of 400 if its Connection header is invalid.

ee2d5a53a0fddf6c9e50ada6ad163ec7ee14cac3 1658567 09-Feb-2015 jailletc36

Fix a precedence issue. The logic is unchanged but 'ret' does not have the expected value. So the logged error message may be incorrect. + add some empty lines between functions

7a1dee936d2bd3e4e70dd8a6e0090f8582ee2a8b 1657897 06-Feb-2015 ylavic

mod_proxy(es): Avoid error response/document handling by the core if some input filter already did it while reading client's payload. When an input filter returns AP_FILTER_ERROR, it has already called ap_die() or at least already responded to the client. Here we don't want to lose AP_FILTER_ERROR when returning from proxy handlers, so we use ap_map_http_request_error() to forward any AP_FILTER_ERROR to ap_die() which knows whether a response needs to be completed or not. Before this commit, returning an HTTP error code in this case caused a double response to be generated. Depends on r1657881 to preserve r->status (for logging) when nothing is to be done by ap_die() when handling AP_FILTER_ERROR.

e8bd80a4bb88199d2f9a24a50345688e52d9c116 1657881 06-Feb-2015 ylavic

http: Make ap_die() robust against any HTTP error code and not modify response status (finally logged) when nothing is to be done.

8c94893229334f5b79636e4ec53a992a0b9f9828 1657638 05-Feb-2015 ylavic

CHANGES: Follow up to r1657636, clarify message.

ac7482772673c7dab4afbf53649e07030fd57a8e 1657636 05-Feb-2015 ylavic

mod_proxy_connect/wstunnel: If both client and backend sides get readable at the same time, don't lose errors occuring while forwarding on the first side when none occurs next on the other side, and abort.

35006c658c32693022c67b70a3fcf53399e36bd7 1657261 04-Feb-2015 covener

*) SECURITY: CVE-2015-0228 (cve.mitre.org) mod_lua: A maliciously crafted websockets PING after a script calls r:wsupgrade() can cause a child process crash. [Edward Lu <Chaosed0 gmail.com>] Discovered by Guido Vranken <guidovranken gmail.com> Submitted by: Edward Lu Committed by: covener

4330364fc1db390a69cc84d4d0f62138bcd5bf80 1657256 04-Feb-2015 covener

Fix bit-shifting of websockets frame fields that would yield wrong opcodes when the FIN bit was set. Results in PING not being recognized by mod_lua. PR57524 Submitted By: Edward Lu Committed By: covener

dd1e093863f13a4a3fbf09497cbd5cb039fadd76 1656669 03-Feb-2015 ylavic

mod_macro: Clear macros before initialization to avoid use-after-free on startup or restart when the module is linked statically. PR 57525 Submitted by: apache.org tech.futurequest.net Committed by: Yann Ylavic

330e16bea8fe9cace4de90c349750c03dfb1fe64 1656359 01-Feb-2015 ylavic

Follow up to r1656259: CHANGES entry.

d7205b1a86c51c27b71a2c458dc453fd53a261c1 1656063 30-Jan-2015 covener

Block Define/Undefine from per-directory context, because they will fire while the block is read not when it evaluates for a given request.

44ff304057225e944e220e981d434a046d14cf06 1655146 27-Jan-2015 covener

AP_INIT_NO_ARGS mishandled in macro Submitted by: Joachim Zobel <jzobel heute-morgen.de>, covener Committed by: covener

ea30bfa68d711e27206df00abb140174b4e65ed7 1653997 22-Jan-2015 ylavic

mod_ssl: Fix merge problem with SSLProtocol that made SSLProtocol ALL ignored in virtualhost context (new version of r1653906 reverted by r1653993). Submitted By: Michael Kaufmann <apache-bugzilla michael-kaufmann.ch> Committed/modified By: ylavic

7a279335bb8e3f889bc16f44678e8c2eb9ccc9f3 1653993 22-Jan-2015 ylavic

mod_ssl: revert r1653906, will commit an alternative just after. The issue with r1653906 is that existing configurations like "SSLProtocol -SSLv3" (where the default is assumed to be ALL) won't work anymore.

291eb44b3adaf8247425286615b4f4b69fbea274 1653941 22-Jan-2015 minfrin

mod_alias: Introduce expression parser support for Alias, ScriptAlias and Redirect.

cea8a744f05a9714c0aeee91e51e19469150d8da 1653906 22-Jan-2015 covener

Fix merge problem with SSLProtocol that made SSLProtocol ALL ignored in virtualhost context. Submitted By: Michael Kaufmann <apache-bugzilla michael-kaufmann.ch> Commited By: covener

5d1ba75b8794925e67591c209085a49279791de9 1652507 16-Jan-2015 covener

mod_rewrite: Improve 'bad flag delimeters' startup error by showing how the input was tokenized. PR 56528. Submitted By: Edward Lu <Chaosed0 gmail.com> Committed By: covener

2131ced19d4d46658908b5e53c2dd31ad3493c47 1651666 14-Jan-2015 jim

backported

32a805c271db0524bba2a6072be3926423f1ca43 1651664 14-Jan-2015 jim

backported

9bc8f6fed8ececedecaf7488ca0e79120d8f98b6 1651343 13-Jan-2015 jim

Backported

e762b0928f057bd4c5c85ac841c08b5c6410f67e 1651088 12-Jan-2015 covener

Update conn_rec.id when a new thread begins working on a connection, because the old thread may work on a new connection and assign the same ID in parallel. Submitted By: Michael Thorpe Committed By: covener

032982212dbcc7c3cce95bf89c503bb56e185ac7 1650047 07-Jan-2015 kbrand

Add support for extracting subjectAltName entries of type rfc822Name and dNSName into SSL_{CLIENT,SERVER}_SAN_{Email,DNS}_n variables. * docs/manual/mod/mod_ssl.xml: add SSL_*_SAN_*_n entries to the environment variables table * modules/ssl/ssl_engine_kernel.c: in ssl_hook_Fixup, add extraction of subjectAltName entries for the "StdEnvVars" case * modules/ssl/ssl_engine_vars.c: add support for retrieving the SSL_{CLIENT,SERVER}_SAN_{Email,DNS}_n variables, either with individual on-demand lookup (ssl_var_lookup_ssl_cert_san), or with full-list extraction to the environment ("StdEnvVars") * modules/ssl/ssl_private.h: add modssl_var_extract_san_entries prototype * modules/ssl/ssl_util_ssl.c: implement SSL_X509_getSAN and SSL_ASN1_STRING_to_utf8 helper functions, with factoring out common code from SSL_X509_getIDs and SSL_X509_NAME_ENTRY_to_string where suitable. Limit SSL_X509_getSAN to the two most common subjectAltName entry types appearing in user or server certificates (i.e., rfc822Name and dNSName), for the time being. * modules/ssl/ssl_util_ssl.h: add SSL_ASN1_STRING_to_utf8 and SSL_X509_getSAN prototypes

caad2986f81ab263f7af41467dd622dc9add17f3 1650028 07-Jan-2015 ylavic

mod_proxy: Don't put non balancer-member workers in error state by default for connection or 500/503 errors, and honor status=+I for any error. PR 48388.

e0ac31728a50ea5078cd9ef5bd6cd11723d7aa0d 1649966 06-Jan-2015 jailletc36

Add CHANGE for r1649632

45a10d38e6051fd7bdf9d742aaae633d97ff02ab 1649964 06-Jan-2015 jailletc36

Add PR

f7317ff316c2b141feea31bddb74d5d3fa1584ed 1649491 05-Jan-2015 jorton

* modules/cache/mod_socache_memcache.c (socache_mc_store): Pass through expiration time. Submitted by: Faidon Liambotis <paravoid debian.org>, jorton

939a5386274c80af51ee9fff4b0ca29f0c799da5 1648719 31-Dec-2014 covener

split-logfile: Fix perl error: 'Can't use string ("example.org:80") as a symbol ref while "strict refs"'. PR 56329. Submitted By: Holger Mauermann <mauermann gmail.com> Committed By: covener

b39b9b73bda17517f2ff310a70ed539256158d7a 1648433 29-Dec-2014 covener

PR 56603: Inappropiate ProxyPassReverse match when interpolated URL is empty string Submitted By: <ajprout hotmail.com> Committed By: covener

7a7d384263706f5893f8321126236f88588197c0 1648394 29-Dec-2014 covener

Configuration files with long lines and continuation characters are not read properly. PR 55910. Submitted By: Manuel Mausz <manuel-as mausz.at> Committed By: covener

5e50f2a09fcbd826d257254d65f0654abac28134 1647035 20-Dec-2014 covener

provide alternative PATH_INFO calculation options for proxy_fcgi. PR 55329

2165214331e4afafca4048f66f303d0253d7b001 1647010 20-Dec-2014 covener

typo and formatting

44b664206cee887b8b69862def5dd1832afc97dd 1647009 20-Dec-2014 covener

Allow SetHandler+UDS+fcgi to take advantage of dedicated workers including opting in to connection reuse and other proxy options (max=, etc). adds 'enablereuse' proxyoption and a minor MMN bump to share proxy_desocketfy outside of mod_proxy.c, which is required to match workers to URLs.

4472df9a373740420f81c4c14a331b54d2f91603 1647005 20-Dec-2014 covener

Allow (a hokey) opt-in to connection reuse for mod_proxy_fcgi + TCP. Connection reuse has been disabled since r1032345 at the end of 2011. Attempt to reverse the polarity of the connection reuse doc which has been wrong for a long time.

54188d8efa699b35cd17a436f8e7f000599e2302 1646724 19-Dec-2014 covener

tweak SCRIPT_FILENAME passed to fastcgi backends when a balancer is used.

a34684a59b60a4173c25035d0c627ef17e6dc215 1646282 17-Dec-2014 rpluem

* Fix If-Match handling: - We need to fail if we do NOT match. - ETag comparison only makes sense if we have an ETag PR: 57358 Submitted by: Kunihiko Sakamoto <ksakamoto google.com> Reviewed by: rpluem

f527ef990861327fd0f97dec70d97b19b35f13ae 1645938 16-Dec-2014 jim

in 2.4

529af8a31650f917519f3980fe85538770bf427e 1644503 10-Dec-2014 ylavic

mod_proxy: don't add the default port to the name of proxy workers. PR 57259. ap_proxy_port_of_scheme() knows more default ports than apr_unparse_uri().

08e054046d0c7e5532c66769ba80c69a7b4d8245 1644498 10-Dec-2014 ylavic

* mod_ssl: Fix renegotiation failures redirected to an ErrorDocument. PR 57334. When this occurs, the redirect (internal) request reaches ssl_hook_Access() and make SSL_do_handshake crash probably because we force the renegotiation based on an incomplete SSL state. To avoid this, ssl_hook_Access() now returns FORBIDDEN immediatly if the given SSL connection is not in a valid (handshaken) state.

71976984e3229cc3103b146112823eecaff74b72 1643967 09-Dec-2014 covener

backported in r1642861

9bfe773a084210dd794672fbfd3d6d401d7fe122 1643825 08-Dec-2014 ylavic

* core: Fix -D[efined] or <Define>[d] variables lifetime accross restarts. PR 57328. Submitted-by: Armin Abfalterer <a.abfalterer gmail.com> Reviewed/Committed-by: ylavic

1e2d421a36999d292042a5539971070d54aa6c63 1643537 06-Dec-2014 ylavic

* mod_proxy_ajp: Fix client connection errors handling and logged status when it occurs. PR 56823.

fa7ed98b9dc94c5845cf845aea0a44ecacd290c9 1643145 05-Dec-2014 humbedooh

ap_expr: Add filemod function for checking file modification times.

0b67eb8568cd58bb77082703951679b42cf098ac 1642847 02-Dec-2014 trawick

core: Add CGIPassAuth directive to control whether HTTP authorization headers are passed to scripts as CGI variables. PR: 56855

76c7e39a5c777c126d5bea2a134868e6b1b63ee8 1642501 30-Nov-2014 covener

backported in r1641551

334b2ed102b01c5710b883924c16e3a78287327c 1642499 30-Nov-2014 covener

*) SECURITY: CVE-2014-8109 (cve.mitre.org) mod_lua: Fix handling of the Require line when a LuaAuthzProvider is used in multiple Require directives with different arguments. PR57204 [Edward Lu <Chaosed0 gmail.com>] Submitted By: Edward Lu Committed By: covener

06bb3e11d3e997937534ae7bd45b3631d3b5e5ba 1642484 30-Nov-2014 covener

Remove some instances where a RewriteBase must be specified Previously, any time you used a relative substitution in per-directory/htaccess context, you needed to specify a RewriteBase. But in case where the context document root and context prefix are known via e.g. mod_userdir or mod_alias, and the substitution is under the context document root, we can determine the replacement automatically. This makes htaccess files or config snippets a bit more portable.

72f87451163dbeec3a4802a82235d9f91e07deff 1641077 22-Nov-2014 trawick

mod_ssl: Fix recognition of OCSP stapling responses that are encoded improperly or too large. The one byte "ok" flag stored with the response was accounted for in the wrong condition.

6a23db45a67f5ef8210e79b9b5626a0b898d8d39 1640331 18-Nov-2014 trawick

mod_authnz_fcgi is not vulnerable to the CVE-2014-3583 bug (and it is too late to use the same CVE anyway). The code changes to mod_authnz_fcgi are retained in order to keep the similar code in sync between the two modules.

dc0d0ed622bd252af5bed214579a3148e65c369e 1640042 16-Nov-2014 ylavic

Follow up to r1640040: CHANGES entry.

49487586e883b50aa47a1da04f1d7ccb78e70b7d 1640036 16-Nov-2014 ylavic

mod_proxy_fcgi: SECURITY: CVE-2014-3583 (cve.mitre.org) Fix a potential crash with response headers' size above 8K. The code changes to mod_authnz_fcgi keep the handle_headers() function in sync between the two modules. mod_authnz_fcgi does not have this issue because it allocated a separate byte for terminating '\0'.

504c4aa29f414902675559aa95d99b8707e03383 1640034 16-Nov-2014 ylavic

Revert r1638818, r1639812, r1639717 and r1639814 for new staging.

a179659fefc666307e246490dd68973486441ff1 1639717 14-Nov-2014 ylavic

mod_authnz_fcgi: Fix a potential crash with response headers' size above 8K. (similar to r1638818 for mod_proxy_fcgi).

48a37fca6df45c14a1510c52dc8062d3b4e177d6 1639564 14-Nov-2014 covener

revert r1638691, more comprehensive followup planned shortly.

90dcd490a4381740be81af1b387f7518247c8192 1638818 12-Nov-2014 ylavic

mod_proxy_fcgi: CVE-2014-3583: Fix a potential crash with response headers' size above 8K.

f4d965ae26bc0c8c1c20cb5109507159e91313e8 1638691 12-Nov-2014 covener

Fix a bug in r1604350 that can lead to crashes in the event MPM under load. if start_lingering_close_blocking() returns 0, notify_suspend() will write a 1 into some potentially recently free'd memory from ptrans (cs->suspended).

5ef3c61605a3a021ff71f488983cb0065f8e1a79 1638687 12-Nov-2014 covener

see your doctor about any rashes since r1608202.

fb1985a97912b25ec6564c73e610a31e5fc6e25f 1637990 10-Nov-2014 covener

Resolve rashes with LDAP authz and non-LDAP authn since r1608202.

0d64e22def3d8c0f0ed55887b1f7f8642c5c80e0 1636007 01-Nov-2014 covener

remove some more recent 2.4 backports.

9bd00b872dfdc194657b87270a175fc0e8f64018 1636004 01-Nov-2014 covener

remove two recently backported items

cf8b985ec0a63b15a1c8f2990d96009a11e0d68e 1635762 31-Oct-2014 covener

Support custom ErrorDocuments for HTTP 501 and 414 status codes. PR 57167 [Edward Lu <Chaosed0 gmail.com>] Submitted By: Edward Lu <Chaosed0 gmail.com> Committed By: covener

6bbcfe3fb8489d6e87770d37d97b7a5cd4fabcee 1635645 31-Oct-2014 ylavic

mod_proxy_connect: Don't issue AH02447 on sockets hangups, let the read determine whether it is a normal close or a real error. PR 57168. Abort the client or backend connection on polling errors, but don't forcibly abort the client side at the end (the core filters will do that otherwise when necessary), so that lingering close and SSL shutdown can occur on normal close.

420f251223a59477a211837382d0622efd42a6bd 1635644 31-Oct-2014 ylavic

mod_proxy_wstunnel: abort backend connection on polling error to avoid further processing (lingering close, SSL shutdown).

6502b7b32f980cc2093bb3ebce37e5e4dc68fba4 1634836 28-Oct-2014 ylavic

Follow up to r1632742: CHANGES entry.

3060ce7f798fbda7999cd4ddf89b525d2b294185 1634425 27-Oct-2014 covener

When using EBCDIC encoding, HTTPS through ProxyPass and ProxyRemote doesn't work correctly. PR 57092 Submitted By: Edward Lu Committed By: covener

09c87c777bed1655621bb20e1c46cb6b1a63279d 1634237 25-Oct-2014 covener

fix another case of 304 response sent to an unconditional request

c85eff31536e6bfef1537b2435564d48665435d3 1634120 24-Oct-2014 rpluem

* Use the correct server name for SNI in case the backend SSL connection itself is established via a proxy server. PR: 57139 Submitted by: Szabolcs Gyurko <szabolcs gyurko.org>

2acc3ee685e619e85f2fbbc126c217cd89762ae0 1632443 16-Oct-2014 jailletc36

Remove some backported item

45821c7880cd8058d83b30dd4b883a480cc5cadc 1631880 14-Oct-2014 trawick

SSLOCSPUseRequestNonce already in 2.4.x branch

c2051ade794269f23194ec06842dc225d082763a 1630947 10-Oct-2014 rpluem

* Check if we are having an SSL connection before looking up SSL related variables during expression evaluation to avoid a crash. If not return an empty string. PR: 57070

c1a63b8fad09c419c1a64f75993feb8a343a6801 1629928 07-Oct-2014 ylavic

core: follow up to r1629925: changelog.

8eb78a55c83fee3383fd2862f66a3ab20d059283 1629508 05-Oct-2014 rjung

mod_cache_socache: Change average object size hint from 32 bytes to 2048 bytes.

017999c1606011d16d7fb6789a82634c6d504498 1629507 05-Oct-2014 rjung

mod_cache_socache: Add cache status to server-status. The status_hook simply calls the status function of socache, very much like mod_ssl does for the ssl session cache.

393e1bb47b60cf97d521c49cf929740f32b95758 1629372 04-Oct-2014 kbrand

Move OCSP stapling information from a per-certificate store (ex_data attached to an X509 *) to a per-server hash which is allocated from the pconf pool. Fixes PR 54357, PR 56919 and a leak with the certinfo_free cleanup function (missing OCSP_CERTID_free). * modules/ssl/ssl_util_stapling.c: drop certinfo_free, and add ssl_stapling_certid_free (used with apr_pool_cleanup_register). Switch to a stapling_certinfo hash which is keyed by the SHA-1 digest of the certificate's DER encoding, rework ssl_stapling_init_cert to only store info once per certificate (allocated from the pconf to the extent possible) and extend the logging. * modules/ssl/ssl_private.h: adjust prototype for ssl_stapling_init_cert, replace ssl_stapling_ex_init with ssl_stapling_certinfo_hash_init * modules/ssl/ssl_engine_init.c: adjust ssl_stapling_* calls Based on initial work by Alex Bligh <alex alex.org.uk>

8af5a3bd941a25b28ff9c84c513d6aa9f48f2cdc 1628924 02-Oct-2014 rjung

mod_substitute: Restrict configuration in .htaccess to FileInfo as documented.

42b6ba421855a65673ad46844a0be899e4ad9405 1628919 02-Oct-2014 rjung

mod_substitute: Make maximum line length configurable.

d41624899afd4656a24fa839431ade65da56c4a5 1628918 02-Oct-2014 rjung

Add CHANGES for r1628104. (mod_substitue: Fix memory limitation in case of regexp plus flatten.)

ac9d8ef5d328174be7dbe14427eef84dd73167e7 1627750 26-Sep-2014 jim

backported

e6b4bd1113567627ab6bb6c6a7105e1e01a7d889 1626088 18-Sep-2014 jailletc36

Improve CHANGES description

e466c40e1801982602ee0200c9e8b61cc148742d 1626086 18-Sep-2014 jailletc36

Content-Length header should always be interpreted as a decimal. Leading 0 could be erroneously considered as an octal value. PR 56598. [Chris Card <ctcard hotmail com>]

e4aba97065b37467c57908859c7262a7ccb47187 1624234 11-Sep-2014 jkaluza

SECURITY (CVE-2014-3581): Fix a mod_cache NULL pointer deference in Content-Type handling. mod_cache: Avoid a crash when Content-Type has an empty value. PR56924. Submitted By: Mark Montague <mark catseye.org> Reviewed By: Jan Kaluza

8534a746ca757c7aca8499486af68dda1d1f63f3 1621553 31-Aug-2014 covener

these are backported

457468b82e59d01eba00dd9d0817309c8f5e414e 1621367 29-Aug-2014 jim

PR53218 Allow for longer worker names and make truncation a non-fatal error...

04983e3bd1754764eec7d6bb772fe3b0bf391771 1620926 27-Aug-2014 jorton

Add API to support TLS channel bindings with mod_ssl. * modules/ssl/mod_ssl.h: Define ssl_get_tls_cb. * modules/ssl/ssl_engine_vars.c (ssl_get_tls_cb): New function. Submitted by: Simo Sorce <simo redhat.com>

9db549cd545d738d931852ac4267d62221162f7f 1619835 22-Aug-2014 covener

don't let handlers start with r->status = 304 during a failed revalidation PR56881

b6b7079ea8e24865adc82c4be6758b31cf4aa429 1618541 18-Aug-2014 jailletc36

Avoid useless warning message when parsing a section guarded by <IfDefine foo> if $(foo) is used within the section. PR 56503

599e58561f7a206f05442a72d99337657e9097e7 1618401 16-Aug-2014 trawick

mod_proxy_fcgi: Fix faulty logging of large amounts of stderr from the application. PR: 56858 Submitted by: Manuel Mausz <manuel-asf mausz.at> Reviewed by: trawick

8c72b8fd8e88f145e10885629fe30b70888525dc 1617018 09-Aug-2014 covener

PR56832 -- mod_ratelimit reports at ERROR level everytime a lower-level filter encounters an error. Since the core output filter only emits TRACE1, a higher level filter shouldn't log the same condition as ERROR.

6cc3b681fe41375fccbe86a474cd00ecea610d63 1615289 02-Aug-2014 rjung

PR53420: Proxy responses with error status and "ProxyErrorOverride On" hang until proxy timeout. Regression from 2.2. It was introduced by r912063 in order to fix PR41646.

15660979a30d251681463de2e0584853890082ac 1613493 25-Jul-2014 covener

mod_proxy_wstunnel: Concurrent websockets messages could be lost or delayed with ProxyWebsocketAsync enabled. Submitted By: Edward Lu Committed By: covener

cfd9415521847b2f9394fad04fb701cfb955f503 1612934 23-Jul-2014 rjung

Add compiled and loaded PCRE version numbers to "httpd -V" output and to mod_info page.

28c31fb73c1264bd1d0ff932573677030b024c7d 1611169 16-Jul-2014 wrowe

mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for internationalization.

ca71bfa8d66ddc87b5310214ce91393747900d1a 1610916 16-Jul-2014 rjung

Remove backported item.

8491e0600f69b0405e156ea8a419653c065c645b 1610814 15-Jul-2014 covener

*) SECURITY: CVE-2013-5704 (cve.mitre.org) core: HTTP trailers could be used to replace HTTP headers late during request processing, potentially undoing or otherwise confusing modules that examined or modified request headers earlier. Adds "MergeTrailers" directive to restore legacy behavior. Submitted By: Edward Lu, Yann Ylavic, Joe Orton, Eric Covener Committed By: covener

8741bcaa5df21e109bde21c01093d3991fcf1471 1610813 15-Jul-2014 jailletc36

fix logic in ap_method_list_(add|remove) in order: - to correctly reset bits - not to modify the 'method_mask' bitfield unnecessarily Also remove a useless 'register' in the declaration of a variable.

2bf8c1f02b954a6b272f1708aabcc273fc318249 1610707 15-Jul-2014 covener

Suggestion from Rick Houser -- for compatibility, pick an unusual character as the first character in a 2/3 character pattern.

7512a6fac1f0e24ba550706a6c8e0c874c23aa7b 1610686 15-Jul-2014 covener

allow two character mod_log_config formats

b01704a9b5aa96f4e74b713887c66154fe465226 1610341 14-Jul-2014 rjung

Remove backported item.

262f9062097b84b950f8aec72344eb0734948f78 1610329 14-Jul-2014 trawick

remove entries for recently backported changes

c9e4fbd1d56136bd92983a4fca184c28b92eade7 1610311 14-Jul-2014 rjung

Extend the scope of SSLSessionCacheTimeout to sessions resumed by TLS session resumption (RFC 5077).

e7cbd6f034687712e67ec2c6720dbb9a2affb073 1610310 14-Jul-2014 rjung

Add CHANGES for r1610207.

4f30f59dfacf53a9d1029df63428a444c8cda9e9 1609938 12-Jul-2014 trawick

Include any error notes set by modules in the canned error response for 403 errors.

4d7d4ddcb77543c8b3e4fc0207a98d69ed17d3ee 1609936 12-Jul-2014 trawick

Set an error note for requests rejected due to SSLStrictSNIVHostCheck. This allows custom error documents to include the specific reason for denying access to the server.

75d601e97f3468de8504d46fb022f85c5a845195 1609914 12-Jul-2014 trawick

Perform SNI checks only on the initial request. In particular, if these checks detect a problem, the checks shouldn't return an error again when processing an ErrorDocument redirect for the original problem.

080823ffb94fecac60d357dc7144f2b7113adad1 1608766 08-Jul-2014 jim

backported

63b9f1f5880391261705f696d7d65507bbe9ace3 1608202 06-Jul-2014 covener

Consolidate common code that got duplicated by 2.3.x authz refactoring. Arrange for backend LDAP connections to be returned to the pool by a fixup hook rather than staying locked until the end of (a potentially slow) request. Add a little more trace4 to the authnz_ldap side of LDAP connection obtain/release.

87a26948305eab2bab8a4fb3f2a21f6725055790 1607960 05-Jul-2014 covener

make LDAPConnectionPoolTTL more conservative, use r->request_time rather than end-of-request time, and only update it after a round-trip with the LDAP server rather than every time we check back into the pool.

17a2cc28824d3e32e3ea9ecfa5f88b3608b02448 1605641 26-Jun-2014 trawick

remove some entries now present in the 2.4.x branch

c907cf5b9cd6aceb3e22e7ea93c54371c4f2c56f 1604351 21-Jun-2014 covener

be more general

434428892cc2f87c9b2556be747b2662809caa5d 1604350 21-Jun-2014 covener

missed a case in r1538490: PR56639 Always NULL c->sbh before putting a connection back in a pollset or queue. We can't NULL c->sbh at the bottom of process_socket() after putting a socket back on the event_pollset or having it go into lingering close, because the listener or a worker thread could A) continue on the connection or B) free and allocate the same conn_rec pointer before we get to the bottom of process_socket(). Submitted By: Edward Lu Committed By: covener

9abededfb2f8987606f909735e02dbb19cf47e5a 1603192 17-Jun-2014 ylavic

Remove backported changes.

4efd27d2bd53a819a194f8a942f8881c1927755e 1603156 17-Jun-2014 ylavic

Add missing CHANGES entries for r1572655,1572663,1572668-1572671,1573224,1586745,1587594,1587639,1590509, r1572092, and r1572896,1572911.

983528026996668ea295be95aedb9c7a346af470 1602989 16-Jun-2014 ylavic

mod_proxy: Don't limit the size of the connectable Unix Domain Socket paths. Since connect() to UDS path is used at several places, introduce ap_proxy_connect_uds() in proxy_util.

ad428a4fa2aa307b7b09c57554e7e79e25d9c2fb 1602411 13-Jun-2014 trawick

mod_proxy_fcgi iobuffersize support in 2.4.x via r1601749

249ab52ef73a2b33446ae07904e3526b57251411 1601919 11-Jun-2014 ylavic

mod_ssl: dump SSL IO/state for the write side of the connection(s), like reads.

6314fbafb99fe534748b103942e4d7fa10173f1c 1601700 10-Jun-2014 ylavic

Fix ab's r1601076 changelog credits.

d388ddb804f7ab3a756c51c68223262116e6ebbd 1601680 10-Jun-2014 ylavic

Add ab's r1601076 changelog.

b7089b7bdc2487a735904d7d53173dc171cb01d8 1601549 10-Jun-2014 jailletc36

Remove one backported change.

1f0836d4b1a203c7b375daae691beb95f6036205 1601291 09-Jun-2014 ylavic

mod_proxy: Shutdown (eg. SSL close notify) the backend connection before closing.

da9e3bb32f42200dae2b24c81279cdae0358b65d 1601290 09-Jun-2014 ylavic

Revert r1601285 and r1601283. Shouldn't have commited the latter without disussing it on dev@. Since the former creates upper APLOGNOs, revert and then recommit with the reverted next tag number.

902b91df89afd57fd34bb80adb7ae470b0ed331f 1601285 09-Jun-2014 ylavic

mod_proxy: Shutdown (eg. close notify) the backend connection before closing.

3b11e6ec1c5273d6a8968460db650e7ca99c49c0 1601185 08-Jun-2014 ylavic

mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout expires. PR54998.

01402a0fbec8bd11f6c10d8ef9c9cceac68bb787 1601184 08-Jun-2014 ylavic

mod_ssl: Ensure that the SSL close notify alert is flushed to the client. PR54998. Submitted By: Tim Kosse <tim.kosse filezilla-project.org>, ylavic Committed By: ylavic

04fce9928cdb66890ef227cb2f734a1d97abd06f 1599596 03-Jun-2014 ylavic

Remove backported changes.

49dacedb6c387b786b7911082ff35121a45f414b 1599535 03-Jun-2014 covener

add GlobalLog directive to allow a diagnostic log to be inherited by all virtual hosts, even if they define their own logs. Submitted By: Edward Lu <Chaosed0 gmail.com> Committed by: covener

3c990331fc6702119e4f5b8ba9eae3021aea5265 1599531 03-Jun-2014 jim

Optimize w/ duplicated listeners and use of SO_REUSEPORT where available.

fc42512879dd0504532f52fe5d0d0383dda96a1e 1599027 01-Jun-2014 niq

mod_proxy_html: support automatic doctype detection. PR 56285 Patch by Micha Lenk, adapted by niq

0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5 1599012 01-Jun-2014 niq

mod_proxy_html: skip documents < 4 bytes PR 56286 Micha Lenk

da0442c0440caef34706e2c2f3af05cb65921cc0 1598946 01-Jun-2014 jailletc36

Fix computation of the size of 'struct sockaddr_un' when passed to 'connect()'. Use the same logic as the one in ' in 'proxy_util.c'.

8e5473283d39355bc2596504d1b26bafa497d1dc 1595426 17-May-2014 rjung

mod_socache_shmcb: Correct counting of expirations for status display. Expirations happening during retrieval were not counted.

15890c9306ba98f6fc243e15a3c4778ddc7d773e 1595305 16-May-2014 rpluem

* Correctly escape user provided data. PR: 56532 Submitted by: Maksymilian <max cert.cx> Reviewed by: rpluem

42a8abda4b0bc756bc72fb178a2d1553a8d4489d 1594625 14-May-2014 ylavic

mod_proxy_wstunnel: Fix the use of SSL connections with the "wss:" scheme. PR55320. Submitted by: Alex Liu <alex.leo.ca gmail.com> Committed by: ylavic

947306d4e938a046409d34ccbc5c7a6b64d20067 1594540 14-May-2014 trawick

Remove entry for r1583175 and r1593745, now in 2.4.x branch

06b8f183140c8e02e0974e938a05078b511d1603 1593860 11-May-2014 covener

PR56333: Add an API to resume a connection that a handler has previously suspended. Submitted by: Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com> Committed by: covener

259878293a997ff49f5ddfc53d3739cbdc25444e 1593857 11-May-2014 covener

Extend the socket callbacks in event to allow a timeout on the I/O callback. When a socket callback has a timeout, an associated timer event is used to remove the sockets from the pollset and call a timeout function. * This includes a noteworthy change to the main event loop. Previously, we would call epoll, then process the timer events, then iterate through the poll results. After this patch, the timer events are processed before the poll() a _non-queued_ action can change the pollset conents (a users timed callback function conversely could easily sit in a queue while the main thread continues down into epoll) * timer events can now have sockets associated with them, those sockets are removed from the pollset when the timer event fires w/o a queue to the worker. * timer events now have a canceled flag that can be toggled without locking the timer list. * Drop the severity of some wstunnel messages from DEBUG to TRACE1 * Lift the restriction on using asynchronous websockets connections but having an idle timeout

8341edff3627236b71b7e87caafd7a6b58fd7090 1593745 11-May-2014 covener

stop setting context info for AliasMatch. These concepts do not really map well/reliably to AliasMatch.

b28b50dd093acf6164eab07c9d9ce6ca4aa69f7c 1593010 07-May-2014 trawick

remove some entries for backported improvements

ffcc1751aa7877b1d1b239e0f99ce42100ceb367 1592529 05-May-2014 trawick

mod_proxy_scgi: Support Unix sockets. ap_proxy_port_of_scheme(): Support default SCGI port (4000).

3f4a0b91b55d97885026728371a582f461ea18b5 1592500 05-May-2014 trawick

now understood why users haven't reported the segfault (yet) when mod_proxy_fcgi can't connect to the application

3de33669d2bd0862b25ac686f8f154c25b775ebb 1592037 02-May-2014 trawick

mod_proxy_fcgi: Fix occasional high CPU when handling request bodies.

504e825ce06ccae8d0a3640a52a79f6a3b38ac04 1591508 01-May-2014 trawick

mod_proxy_fcgi: Support iobuffersize parameter.

bb6412ca241e73336374d5f04e56ff01ac880b57 1591328 30-Apr-2014 ylavic

mod_cache: Preserve non-cacheable headers forwarded from an origin 304 response. PR 55547. When mod_cache asks for a revalidation of a stale entry and the origin responds with a 304 (not that stale), the module strips the non-cacheable headers from the origin response and merges the stale headers to update the cache. The problem is that mod_cache won't forward the non-cacheable headers to the client, for example if the 304 response contains both Set-Cookie and 'Cache-Control: no-cache="Set-Cookie"' headers, or CacheIgnoreHeaders is used.

d17bebbb5c628fb8e232a171fd51e3d066052fc4 1591320 30-Apr-2014 ylavic

mod_cache: Don't add cached/revalidated entity headers to a 304 response. PR 55547. When the conditional request meets the conditions of the stale then revalidated entry, the forwarded 304 response includes the entity headers merged from the cached headers (before updating the entry). Strip them before returning a 304. Since the entity headers are stripped elsewhere, factorize the code using a new table (MOD_CACHE_ENTITY_HEADERS[]) containing these headers's names.

ffe984f0714e14145b8edf127956214a65aa221f 1591316 30-Apr-2014 ylavic

Revert r1591312 (again) to commit the 2 fixes separately.

0f3f6ca9a6842266e5527148ede7aaea1770b281 1591312 30-Apr-2014 ylavic

mod_cache: Don't add cached/revalidated entity headers to a 304 response. PR 55547. When the conditional request meets the conditions of the stale then revalidated entry, the forwarded 304 response includes the entity headers merged from the cached headers (before updating the entry). Strip them before returning a 304. Since the entity headers are stripped elsewhere, factorize the code using a new table (MOD_CACHE_ENTITY_HEADERS[]) containing these headers's names.

47315381bddad596a0eda1b464952d52a114b616 1591307 30-Apr-2014 ylavic

Rollback r1591302, wrong file commited.

673ccef0a9c6fe9aad859c2b434507e46da6caf6 1591302 30-Apr-2014 ylavic

mod_cache: Don't add cached/revalidated entity headers to a 304 response. PR 55547. When the conditional request meets the conditions of the stale then revalidated entry, the forwarded 304 response includes the entity headers merged from the cached headers (before updating the entry). Strip them before returning a 304. Since the entity headers are stripped elsewhere, factorize the code using a new table (MOD_CACHE_ENTITY_HEADERS[]) containing these headers's names.

c322925cadc8258ece6d8262d1811118ca5ff9b1 1591143 30-Apr-2014 ylavic

mod_cache: Retry unconditional request with the full URL (including the query-string) when the origin server's 304 response does not match the conditions used to revalidate the stale entry. http://www.mail-archive.com/dev@httpd.apache.org/msg59884.html

b54b024c06a19926832d77d40ba35ad8c41e4d3d 1591012 29-Apr-2014 minfrin

mod_authnz_ldap: Fail explicitly when the filter is too long. Remove unnecessary apr_pstrdup() and strlen().

41daa98ace7d03edfbf9ba2ccddb95656cdad015 1590437 27-Apr-2014 trawick

mod_proxy_fcgi: Don't segfault when failing to connect to the backend.

65967d05f839dbf27cf91d91fa79585eeae19660 1589993 25-Apr-2014 minfrin

Add the ldap-search option to mod_authnz_ldap, allowing authorization to be based on arbitrary expressions that do not include the username.

8152945ae46857b170cb227e79bb799f4fc7710d 1589986 25-Apr-2014 minfrin

Add the ldap function to the expression API, allowing LDAP filters and distinguished names based on expressions to be escaped correctly to guard against LDAP injection. Note: this requires at least APR v1.6.0 or above for the apr_escape API.

75f5c2db254c0167a0e396254460de09b775d203 1588987 21-Apr-2014 trawick

Add module mod_ssl_ct, which provides an implementation of Certificate Transparency (RFC 6962) for httpd. mod_ssl_ct requires OpenSSL 1.0.2 (in beta) and must be explicitly enabled via configure. Note that support/ctauditscts is purposefully not installed; it does not properly function due to a dependency on a certificate-transparency open source project tool which itself is not sufficiently complete at this time.

1278ae7d1a22f0a2a5db8cf78aee08200a3e0140 1588855 21-Apr-2014 kbrand

in 2.4.x as of r1588496

fbd0ebcfa87815024a9f1df60d05f9c266c07a6b 1588704 19-Apr-2014 covener

Fix errors with CacheLock on Windows: cache_util.c(757): (OS 80)The file exists. : [client 127.0.0.1:63889] AH00784: Attempt to obtain a cache lock for stale cached URL failed, revalidating entry anyway:

11f1871b90149f8af3bf4e884dcc404436686967 1588527 18-Apr-2014 ylavic

mod_proxy: Preserve original request headers even if they differ from the ones to be forwarded to the backend. PR 45387.

11aca81b7631c2d33b1fc87741e6be5559c913e9 1588521 18-Apr-2014 ylavic

mod_proxy: follow up to r1588519: CHANGE.

33a462c34409ee0a5c030810e241453f3761a1db 1588427 18-Apr-2014 kbrand

Also clear the error queue before calling SSL_CTX_use_certificate[_chain]_file (workaround for OpenSSL versions before 0.9.8h, see https://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=1513). PR 56410.

6de799f9813c08a585bf60310c863ad467c1192d 1588424 18-Apr-2014 kbrand

Merge r1585090 from trunk: Bring SNI behavior into better conformance with RFC 6066: - no longer send a warning-level unrecognized_name(112) alert when no matching vhost is found (PR 56241) - at startup, only issue warnings about IP/port conflicts and name-based SSL vhosts when running with an OpenSSL without TLS extension support (almost 5 years after SNI was added to 2.2.x, the "[...] only work for clients with TLS server name indication support" warning feels obsolete) Proposed by: kbrand Reviewed by: jorton, ylavic

4f0358189bfa57b8e75bd6b94db264302a8f336a 1588330 17-Apr-2014 mrumph

Prevent an external proxy from presenting an internal proxy in mod_remoteip.c. PR 55962.

120f30e08fff1dac471c99261e6c7ec07e2d2207 1588318 17-Apr-2014 trawick

axe entries for changes that are in 2.4.10-dev

5716f9c6daa92dde5f2f9d11ed63f7c9549c223a 1587607 15-Apr-2014 trawick

mod_ssl: Add hooks to allow other modules to perform processing at several stages of initialization and connection handling. See mod_ssl_openssl.h. This is enough to allow implementation of Certificate Transparency outside of mod_ssl.

7a3aa12f0eda24793ee26d6a179bd53132e9dae8 1587127 14-Apr-2014 covener

renamed

4e30ef014533a7e93c92d88306291f5e49c9692f 1587124 14-Apr-2014 trawick

typo

54d750a84a175d8e338880514d440773eb986b50 1587075 13-Apr-2014 covener

several related mod_proxy_wstunnel changes that are tough to pull apart: * make async websockets tunnel opt-in * add config for how long we block a thread in asynch mode * add config for a cap on the synchronous path * avoid sending error responses down the upgraded tunnel

83b50288fa7d306324bba68832011ea08f5c7832 1587057 13-Apr-2014 covener

stop leaking websockets backend connections (trunk only)

ac95effcd4bcdf02e41becbec4e9f2d3c577e7fd 1587053 13-Apr-2014 covener

cleanup wstunnel error handling Submitted By: covener, ylavic, Edward Lu Commited By: covener

f628b0e7cb9bf51de44af6b4355bc520fda84f4e 1587036 13-Apr-2014 covener

*) mod_proxy_wstunnel: Don't pool backend websockets connections, because we need to handshake every time. PR 55890. [Eric Covener]

5f066f496cd9f20a2a701255bc67d44e7cb46dae 1586719 11-Apr-2014 trawick

mod_proxy_http: Add detach_backend hook. The immediate use is for a SSL-related module which works on the backend proxy connection to be able to "leak" information into the client r for logging. This could be useful with other proxy scheme handlers.

2e15620d724fb8e3a5be183b917359a2fd6e9468 1586542 11-Apr-2014 covener

Attempt to make progress on PR39727/PR45023 blocking migration to 2.4. Provide DeflateAlterETag directive to choose between 2.2 behavior, 2.4 behavior, or dropping ETag from the compressed representation. Preserves 2.4 default which breas 304 responses for compressed content.

b3a6e12c9577d9dfc6529bc5ad908f2073810df1 1585919 09-Apr-2014 kbrand

Reverse the order when merging global and vhost-level config arrays. Putting the vhost-level elements last allows overriding global settings (for the deprecated SSLRequire directive, the order is irrelevant, all of them must be met, cf. ssl_engine_kernel.c:ssl_hook_Access).

3130cec5e1377ddd4203284dabf4dbc25cb759a0 1585918 09-Apr-2014 kbrand

Only read "active" values from the key_files array. PR 56306.

7b82bb697a4957f302e43df708dda478dea80e05 1585824 08-Apr-2014 trawick

mod_proxy_fcgi: Fix sending of response without some HTTP headers that might be set by filters. The problem occurs when no body bytes were read while reading the response headers, resulting in an empty brigade being sent down the filter stack. One particualr filter that mishandles the empty initial brigade is mod_deflate. It neglects to add to the response header fields. PR: 55558 Submitted by: Jim Riggs <jim riggs.me> Reviewed by: trawick

1b988c41ee505962781d110a3e4c2c90f1ea0aa4 1585157 05-Apr-2014 covener

add BNP flag to give control to the user on whether a space ' ' in an escaped backrefernece is decoded to a + (default) or %20. Useful if your backreference isn't going into the query string.

b352b6577c91eee28506a1d7db4b6951a45b8fae 1585090 05-Apr-2014 kbrand

Bring SNI behavior into better conformance with RFC 6066: - no longer send a warning-level unrecognized_name(112) alert when no matching vhost is found (PR 56241) - at startup, only issue warnings about IP/port conflicts and name-based SSL vhosts when running with an OpenSSL without TLS extension support (almost 5 years after SNI was added to 2.2.x, the "[...] only work for clients with TLS server name indication support" warning feels obsolete)

e42e58d225104194ba5e894eb616be1ce2258e13 1584878 04-Apr-2014 jailletc36

Do not delete the wrong data from HTML code when a "http-equiv" meta tag specifies a Content-Type behind any other "http-equiv" meta tag. PR 56287 [Micha Lenk <micha lenk info>]

c401e8035f9ec7333fd3f6a9b95fba2b07ee7e50 1584443 04-Apr-2014 ylavic

Move entry already backported to 2.4.8.

10b01707470385065764d144de9bb5297fe8ecf2 1584434 04-Apr-2014 ylavic

Follow up to r1584430.

b8efdc95bec9cf089aa1be0bfd07d46aa1137a7a 1584421 04-Apr-2014 covener

add CHANGES for r1584417

c12b284247f00b5696adabb0b855ce0669465764 1584098 02-Apr-2014 ylavic

mod_ssl: follow up to r1583191. New SSLOCSPUseRequestNonce directive's manual and CHANGES. Non functional code changes (modssl_ctx_t's field ocsp_use_request_nonce grouped with other OCSP ones, nested if turned to a single AND condition).

6029353b43240f5fa7feede018ce0e3ab1600c96 1580568 23-Mar-2014 covener

mod_reqtimeout: Resolve unexpected timeouts on keepalive requests under the Event MPM. PR56216. Submitted By: Frank Meier <frank meier ergon ch> Committed By: covener

72f40d45f3b0fe5cbadf914d51b1a43827d65230 1577161 13-Mar-2014 jim

backported

8d26a5fd78162cf7105fd0ee41e88e3cd7c923cd 1577141 13-Mar-2014 jim

backported

a5484eb014b45d4b1d2f63bea770c44691627437 1576496 11-Mar-2014 rpluem

* This one is backported

5b0251c2c0002190f6b8b982896561dc721b5dce 1576384 11-Mar-2014 jim

These are in 2.4.x

60576789c23620d69b1f447fcf79a4479690f3aa 1575403 07-Mar-2014 wrowe

Module identification

9f0af00f6e06fcbf0365191fef6a83bc20358d3b 1575400 07-Mar-2014 wrowe

CVE-2014-0098 (reported by Rainer Canavan <rainer-apache 7val com>) Segfaults w/ truncated cookie logging. Clean up the cookie logging parser to recognize only the cookie=value pairs, not valueless cookies. This refactors multiple passes over the same string buffer into a single pass parser. Submitted by: wrowe Reviewed by: rpluem, jim

697a448b36093b4a0f1985c01411f4dcbc3dbbab 1573207 01-Mar-2014 covener

backported

028c9282fbc3f56319a4b6a125f67b6c4da0b077 1572198 26-Feb-2014 rpluem

* Put a note in CHANGES about r1553204

f7bce8856f8a9cf34cc07c4b70d15b4625095cbc 1570531 21-Feb-2014 humbedooh

backported in r1570530

155bbc7af7b1ce46533c6e273a5921ca75813ad2 1570528 21-Feb-2014 humbedooh

Allow mod_lua to supply a database result with named rows instead of only numeric indexes.

9ae867d0fce7c4685e15ff6a9887c7ac453c4330 1570292 20-Feb-2014 covener

remove more backported fixes

37ce4da04e34abd4f13d6842902dec7db0a65fdd 1570288 20-Feb-2014 covener

*) mod_rewrite: Add RewriteOptions InheritDown, InheritDownBefore, and IgnoreInherit to allow RewriteRules to be pushed from parent scopes to child scopes without explicitly configuring each child scope. PR56153. Submitted By: Edward Lu Committed By: covener

8861e3760584fe7f451b3519163502a63c406eb3 1570208 20-Feb-2014 humbedooh

mod_lua: Add r:wspeek for checking if data is available to be read.

23b7f12549a7aac6a145eae1fc11cb86cbc8e271 1570171 20-Feb-2014 humbedooh

this was backported too.

b66a8a8ea812cc47ae184a1a50e248a15fce52fe 1570170 20-Feb-2014 jim

backported

015d005ab18d249343330202c03c03e63350364c 1569615 19-Feb-2014 covener

handle POLLERR/POLLHUP during poll() to avoid high CPU busy loop. Submitted By: Joffroy Christen <joffroy.christen solvaxis com>, Eric Covener] Committed By: covener

16f23f109da3b82fdca8695789bec9f06e2e3383 1567430 11-Feb-2014 humbedooh

mod_lua: Upgrade r:setcookie to accept a table of arguments, and add domain, path and HttpOnly to the list of options available for setting. PR 56128

baa68b1df0c1b8e3f94f340451307f0ac5a82a66 1567221 11-Feb-2014 covener

mod_lua: Fix r:setcookie() to add, rather than replace, the Set-Cookie header. PR56105 Submitted By: Kevin J Walters <kjw ms com>, Edward Lu <Chaosed0 gmail com> Committed By: covener

d1d392803d0049f8fe7b33f79a38e38fc5d9411e 1564756 05-Feb-2014 trawick

mod_proxy_fcgi: Fix error message when an unexpected protocol version number is received from the application. PR: 56110

e376bf3218f6c09106a849c142aa68e999db0ff4 1564475 04-Feb-2014 mrumph

Use the correct IP addresses to populate the proxy_ips field in mod_remoteip.c. PR 55972.

e1f43cac62f6960a6945e1fb6e3288ef7082ac53 1564437 04-Feb-2014 rpluem

* Do not parse URL in case of regular expression as they likely do not follow the URL syntax. PR: 56074

f09f2c08cbc0f542308ca1b001a36a0caf05dfc5 1564052 03-Feb-2014 mrumph

Correct the trusted proxy match test in mod_remoteip. PR 54651.\n\nSubmitted By: Yoshinori Ehara <yoshinori ehara gmail com>\nEndorsed By: Eugene L <eugenel amazon com>\nCommited By: mrumph

a4bcadc43f29245972e9e8745a5114610065329c 1563418 01-Feb-2014 covener

Add %{CONN_REMOTE_ADDR} to mod_rewrite. PR56094 Submitted By: Edward Lu <Chaosed0 gmail com> Committed By: covener

f06e7c4b1bce6b6491e5de0b7998d3f5696b293d 1561447 26-Jan-2014 chrisd

Skip DirectoryIndex execution unless method is GET or POST, restoring 2.2 behavior when using mod_dav. PR 54914. Otherwise, variable behavior results: if no DirectoryIndex file is found, mod_dav's r->handler runs as expected. But if an index file is found, r->handler will be changed by ap_internal_fast_redirect() to something other than mod_dav's r->handler, while r->method is left unchanged, usually leading to a 405 response.

4f5fb4ee272f46a6e0d49712ebd8f9c6242572c7 1561366 25-Jan-2014 covener

remove some recent backports

d958505cfb9eb61f8c58fe2e0162b7d00297a136 1561364 25-Jan-2014 covener

backported before 2.4.7

416116159b99bf7637df179108de0669cd5eb79f 1561355 25-Jan-2014 covener

backported

a77e5e9b423083b5436bbfd84e8b57329b738feb 1560977 24-Jan-2014 minfrin

mod_session: When we have a session we were unable to decode, behave as if there was no session at all.

e4437c7dec2bf46171f15ab5ac4aa17e8c8a0fe8 1559828 20-Jan-2014 trawick

mod_session: Fix problems interpreting the SessionInclude and SessionExclude configuration. PR: 56038 Submitted by: Erik Pearson <erik adaptations.com> Reviewed by: trawick

179565be4043d7e5f9161aa75271fa0a001866d9 1559394 18-Jan-2014 covener

followups to r1557641 suggested by nd -- add prefix to both the macro and the handler name itself.

cc06c8e7a7e785b46083984731b701d0c5447c72 1557641 13-Jan-2014 covener

don't search for directory indexes/directoryslashes if a URL is in the middle of being rewritten [in per-dir context]. PR53929

111436a32ba1254291e4883292fb116d15fe8f64 1557640 13-Jan-2014 covener

restore http://svn.apache.org/viewvc?view=revision&revision=233369 under a configurable option: don't run mod_dir if r->handler is already set. PR53794

fce4949fb0b309a5744afcd503c6ed2d35621ee2 1556206 07-Jan-2014 covener

avoid a tight busy loop with memory allocations when the [N] flag isn't making progress. If backported, probably increase the hard-coded limit to 32k from 10k.

ad772fbebb33bf5098c0688727cd4d4a5eb99184 1555723 06-Jan-2014 trawick

PR 55833 fix is in 2.4.x now

51ccd022bf99938d9def03de5b1d7400d86699ba 1555683 06-Jan-2014 kbrand

Backport r1421323, r1534754, r1546693, r1555464 from trunk: Add support for OpenSSL configuration commands by introducing the SSLOpenSSLConfCmd directive. Proposed by: kbrand Reviewed by: drh, trawick

f06b21f2e2bf8f1e38cbec34ec9a9a2941c640e2 1555632 05-Jan-2014 trawick

no more "Covnener"

7b7430e701e9a31ce809da7c220bb8dfcf68c86e 1555631 05-Jan-2014 trawick

Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder. Reviewed by: rpluem

81cf2bc8246dd50c3d13508b8381019692e7e881 1555562 05-Jan-2014 jim

in 2.4

a0adfcf3c6b591c3a58b170e5519fe5e18a94952 1554306 30-Dec-2013 jerenkrantz

* CHANGES: Consolidate for humans who have to read this file.

ccc20788c1e5fc973f36df634399c89acb70deae 1554303 30-Dec-2013 jerenkrantz

Add directives to control two protocol options: HttpContentLengthHeadZero - allow Content-Length of 0 to be returned on HEAD HttpExpectStrict - allow admin to control whether we must see "100-continue" This is helpful when using Ceph's radosgw and httpd. Inspired by: Yehuda Sadeh <yehuda@inktank.com> See https://github.com/ceph/apache2/commits/precise * include/http_core.h (core_server_config): Add http_cl_head_zero and http_expect_strict fields. * modules/http/http_filters.c (ap_http_header_filter): Only clear out the C-L if http_cl_head_zero is not explictly set. * server/core.c (merge_core_server_configs): Add new fields. (set_cl_head_zero, set_expect_strict): New config helpers. (HttpContentLengthHeadZero, HttpExpectStrict): Declare new directives. * server/protocol.c (ap_read_request): Allow http_expect_strict to control if we return 417. * include/ap_mmn.h (MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR): Bump. * CHANGES: Add a brief description.

a370a774825bc89fc6b0d8e45035a590e39b0bd6 1554300 30-Dec-2013 minfrin

core: Support named groups and backreferences within the LocationMatch, DirectoryMatch, FilesMatch and ProxyMatch directives.

194c1e226415b5f34251d249ffe2f8b96c835637 1554195 30-Dec-2013 minfrin

mod_authz_user: Support the expression parser within the require directives.

b44b5b456752cb13fc552be3c43cbd1eb2556498 1554188 30-Dec-2013 minfrin

mod_authnz_host: Support the expression parser within the require directives.

4816cd796cb9da2fb18a2d382586a926e0e9ae54 1554175 30-Dec-2013 minfrin

mod_authnz_groupfile: Support the expression parser within the require directives.

98e7b885c8e4503fabc1c17889c8fbc73a41c8b6 1554170 30-Dec-2013 minfrin

mod_authnz_dbm: Support the expression parser within the require directives.

0cf25f370efc889c01f7028bdfc8204b17aa4ce4 1554168 30-Dec-2013 minfrin

mod_authnz_dbd: Support the expression parser within the require directives.

5723fe6ad5f24ac85d97259f524a7c3e43a45c6d 1554161 30-Dec-2013 minfrin

mod_authnz_ldap: Support the expression parser within the require directives.

60998c490ad3334eb07ae63b23b479ac564dec94 1553824 28-Dec-2013 kbrand

Remove the hardcoded algorithm-type dependency for the SSLCertificateFile and SSLCertificateKeyFile directives, and deprecate SSLCertificateChainFile Splitting the patch into smaller pieces turned out to be infeasible, unfortunately, due to the heavily intertwined code in ssl_engine_config.c, ssl_engine_init.c and ssl_engine_pphrase.c, which all depends on the modssl_pk_server_t data structure. For better comprehensibility, a detailed listing of the changes follows: ssl_private.h - drop the X509 certs and EVP_PKEY keys arrays from modssl_pk_server_t - use apr_array_header_t for cert_files and key_files - drop tPublicCert from SSLModConfigRec - drop the ssl_algo_t struct and the SSL_ALGO_* and SSL_AIDX_* constants ssl_engine_config.c - change to apr_array_header_t for SSLCertificate[Key]File - drop ssl_cmd_check_aidx_max, i.e. allow an arbitrary number of certs and keys (in theory; currently OpenSSL does not support more than one cert/key per algorithm type) - add deprecation warning for SSLCertificateChainFile ssl_engine_init.c - configure server certs/keys in ssl_init_server_certs (no longer via ssl_pphrase_Handle in ssl_init_Module) - in ssl_init_server_certs, read in certificates and keys with standard OpenSSL API functions (SSL_CTX_use_*_file), and only fall back to ssl_load_encrypted_pkey when encountering an encrypted private key - drop ssl_server_import_cert, ssl_server_import_key, ssl_init_server_check, and ssl_init_ctx_cleanup_server - move the "problematic re-initialization" check to ssl_init_server_ctx ssl_engine_pphrase.c - use servername:port:index as the key identifier, instead of the previously used servername:port:algorithm - ssl_pphrase_Handle overhaul: remove all cert/public-key handling, make it only load a single (encrypted) private key, and rename to ssl_load_encrypted_pkey - in the passphrase prompt message, show the private key file name instead of the vhost id and the algorithm name - do no longer supply the algorithm name as an argument to "exec"-type passphrase prompting programs ssl_util.c - drop ssl_util_algotypeof, ssl_util_algotypestr, ssl_asn1_keystr, and ssl_asn1_table_keyfmt ssl_util_ssl.{c,h} - drop SSL_read_X509 - constify the filename arg for SSL_read_PrivateKey

b14cb517c0eb99b7c2bb8c3d40cc2bc85c277903 1552227 19-Dec-2013 jailletc36

Remove <Proxy ~ wildcard-url> syntax which: - is equivalent to <ProxyMatch wildcard-url> - has never been documented - incorrectly checks parameters (!cmd->path should be !cmd->path[0]) - is buggy (! is missing in front of strncasecmp)

d522f82d7ada07a0cedb8dc6b71eacf3477d7188 1551685 17-Dec-2013 trawick

FreeBSD: Disable IPv4-mapped listening sockets by default for versions 5+ instead of just for FreeBSD 5. PR: 53824

1e1539a1e7d64b1af92636b81aac5aa50ee3163b 1550302 11-Dec-2013 minfrin

mod_auth_form: Add a debug message when the fields on a form are not recognised.

273e512f20f262e5e2aa8e0e83371d1929fb76ad 1550060 11-Dec-2013 jkaluza

mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all configured SSL CA certificates to stdout the same way as DUMP_CERTS does.

461dfe8009c65efd6ce168576ba872eac8d0ed4f 1547845 04-Dec-2013 covener

Only close hdrs.fd when returning non-OK from cache_select(), because it will be read from in the very next mod_cache callback recall_headers(). Problem masked on unix by buffering.

81849cd8925f6ffaf57412aaaac8a6df0d33cbb6 1546801 01-Dec-2013 covener

If the "value" argument is prefixed with expr=, parse it with ap_expr rather than mod_headers' built-in format strings.

f3f2b5a25fbf592edb727043c3e07252a6da1d18 1546774 01-Dec-2013 trawick

2.4.x CHANGES was updated in r1546547 to cover these entries

c8e4ae58e7b9eb27e5158d6980770d5064c50ba7 1546759 30-Nov-2013 trawick

Add suspend_connection and resume_connection hooks to notify modules when the thread/connection relationship changes. (Currently implemented only for the Event MPM; should be implemented for all async MPMs.)

ddd6b999a028f6783caa0d40fad8ac824b20c63f 1543949 20-Nov-2013 trawick

remove some new-ish entries for changes now in the 2.4.x branch

fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44 1542546 16-Nov-2013 minfrin

mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl to support write completion.

7f6bfe455bd605a6401d2fcc9423972a24266b16 1542379 15-Nov-2013 jim

PR: 54852. Only use a dummy_connection for idle processes

bb2ec4bda29720d914838486ad0bbfba9ac75d5d 1542338 15-Nov-2013 trawick

Fix potential rejection of valid MaxMemFree and ThreadStackSize directives. Submitted by: Mike Rumph <mike.rumph oracle.com> Reviewed by: trawick

9dddb8cb288d6aa75b4955285c96c8725a8a35bb 1541922 14-Nov-2013 trawick

cmake build support for Windows is now in the 2.4.x branch; remove support for building that branch

993d1261a278d7322bccef219101220b7b4fb8c5 1541029 12-Nov-2013 jkaluza

Add parse_errorlog_arg callback to ap_errorlog_provider to allow providers to check the ErrorLog argument. Implement this check in mod_syslog.

3b995de5609b15115a0764e6979ba43071a2988f 1538776 04-Nov-2013 jim

PR 55475: Detect incomplete body in HTTP input filter and return APR_INCOMPLETE

ba050a6f942b9fa0e81ed73437588005c569655c 1535125 23-Oct-2013 covener

SECURITY (CVE-2014-0231): Fix for DoS due to hang waiting for CGI script. Patch one of two. Permit a read timeout to be used in mod_cgid to give up on a slow CGI script. In trunk, it defaults to the servers Timeout. PR43494 Submitted By: Eric Covener, Toshikuni Fukaya Reviewed By: Eric Covener

135ddda3a989215d2bedbcf1529bfb269c3eda23 1533728 19-Oct-2013 niq

PR 55670 Don't risk failing silently at startup when running in a tty.

1d04bcc9256872663a16bdb67a8014513cb6ee13 1532405 15-Oct-2013 jim

in 2.4.7

166b66614fb67e1b95c200433925787457657a0a 1532403 15-Oct-2013 jim

docco userland change

3f414998b6d7e96a9f699621352fc61516b1a316 1531961 14-Oct-2013 chrisd

Support optional initialization arguments for socache providers in mod_authn_socache.

9d766f93eefb9358f9a24bb99ff424ad399b9b39 1531683 13-Oct-2013 minfrin

mod_session: Reset the max-age on session save. PR 47476.

5725c3eb0c6c572049ba61dedd92b4e5da078081 1531679 13-Oct-2013 minfrin

mod_session: After parsing the value of the header specified by the SessionHeader directive, remove the value from the response. PR 55279.

1122585e1e00bb81e9d0f054bf5c318cec23aa7d 1531672 13-Oct-2013 minfrin

mod_auth_form: Make sure the optional functions are loaded even when the AuthFormProvider isn't specified.

fd292d721a12f04a14e7f2ce30545840c041c7d5 1530793 09-Oct-2013 trawick

core: Don't truncate output when sending is interrupted by a signal, such as from an exiting CGI process. PR: 55643

aaa3098119e0d67a8bf15a00903da7d3258d8148 1529014 03-Oct-2013 rjung

core: Add missing Reason-Phrase in HTTP response headers. PR 54946.

67be3865e9c9b0e24aa254ddc1add0f214d3055e 1528972 03-Oct-2013 rjung

Remove backported items from CHANGES.

b95471fea55df98d7a6946c2c1826d3e2b5beebc 1528556 02-Oct-2013 jim

*) mod_rewrite: Make rewrite websocket aware to allow proxying. PR 55598. [Chris Harris <chris.harris kitware com>]

a52dab9b245d2bc88feacc380eb94bd6abcd5dd0 1528155 01-Oct-2013 kbrand

add attribution

c56dba16be3b59e76160410e3291851287475705 1528143 01-Oct-2013 covener

Don't use a hardcoded cn=* in case the subgroup has no CN. Submitted By: David Hawes <dhawes vt.edu> Committed By: Eric Covener

5fd269eb3da12038a1f80fa7f61c351a17d3f5a6 1528054 01-Oct-2013 jim

in 2.4.x

b4e664baba9a4be0457c31f84b3dcc4c31f2cb07 1527295 29-Sep-2013 kbrand

Improve ephemeral key handling (companion to r1526168): - allow to configure custom DHE or ECDHE parameters via the SSLCertificateFile directive, and adapt its documentation accordingly (addresses PR 49559) - add standardized DH parameters from RFCs 2409 and 3526, use them based on the length of the certificate's RSA/DSA key, and add a FAQ entry for clients which limit DH support to 1024 bits (such as Java 7 and earlier) - move ssl_dh_GetParamFromFile() from ssl_engine_dh.c to ssl_util_ssl.c, and add ssl_ec_GetParamFromFile() - drop ssl_engine_dh.c from mod_ssl For the standardized DH parameters, OpenSSL version 0.9.8a or later is required, which was therefore made a new minimum requirement in r1527294.

ac0c8366f49659958162b4bfb3d625a77343eda3 1527294 29-Sep-2013 kbrand

Increase minimum required OpenSSL version to 0.9.8a (in preparation for the next mod_ssl commit, which will rely on the get_rfcX_prime_Y functions added in that release): - remove obsolete #defines / macros - in ssl_private.h, regroup definitions based on whether they depend on TLS extension support or not - for ECC and SRP support, set HAVE_X and change the rather awkward #ifndef OPENSSL_NO_X lines accordingly For the discussion prior to taking this step, see https://mail-archives.apache.org/mod_mbox/httpd-dev/201309.mbox/%3C524275C7.9060408%40velox.ch%3E

001a44c352f89c9ec332ffd3e0a6927dcd19432c 1526906 27-Sep-2013 humbedooh

mod_lua: Use a (new) global pool/mutex setup for IVM rather than a per-process pool.

2021e9833981f994f862e7157cb4b96cad797362 1526666 26-Sep-2013 trawick

WinNT MPM: Exit the child if the parent process crashes or is terminated. Submitted by: Oracle, via trawick The original modification was made some years ago for Oracle HTTP Server by an Oracle employee. trawick made additional changes for style and for trunk/2.4.x changes.

1a981118cd8a69943b629d8795320cb7721d4d01 1526443 26-Sep-2013 trawick

remove entry for r1525931 (APLOG_STARTUP with ErrorLogFormat), now in 2.4.x branch

efe780dcf13b2b95effabf897d694d8f23feac74 1526441 26-Sep-2013 trawick

minor edits

793214f67dede32edfd9ee96c664ead04d175cbb 1526436 26-Sep-2013 jfclere

Fix for PR 54626.

aba55cd5d565f6f00a3d0e17c5724fdd3a50827f 1526220 25-Sep-2013 trawick

worker MPM: Don't forcibly kill worker threads if the child process is exiting gracefully. Submitted by: Oracle, via trawick This modification was made some years ago for Oracle HTTP Server by an Oracle employee.

33124689065ade0dfc8c54d8ebb734f9439cb89b 1526189 25-Sep-2013 trawick

mod_proxy: Add ap_connection_reusable() for checking if a connection is reusable as of this point in processing. mod_proxy_fcgi uses the new API to determine if FCGI_CONN_CLOSE should be enabled, but that doesn't change existing behavior since the connection is currently marked for closure elsewhere in the module.

ba7cf35f2999fbd91b8da6cfa852e8e78b35b2b1 1526169 25-Sep-2013 kbrand

meanwhile in 2.4.6 and 2.2.25, respectively

3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2 1526168 25-Sep-2013 kbrand

Streamline ephemeral key handling: - drop support for ephemeral RSA keys (only allowed/needed for export ciphers) - drop pTmpKeys from the per-process SSLModConfigRec, and remove the temp key generation at startup (unnecessary for DHE/ECDHE) - unconditionally disable null and export-grade ciphers by always prepending "!aNULL:!eNULL:!EXP:" to any cipher suite string - do not configure per-connection SSL_tmp_*_callbacks, as it is sufficient to set them for the SSL_CTX - set default curve for ECDHE at startup, obviating the need for a per-handshake callback, for the time being (and also configure SSL_OP_SINGLE_ECDH_USE, previously left out) For additional background, see https://mail-archives.apache.org/mod_mbox/httpd-dev/201309.mbox/%3C52358ED1.2070704@velox.ch%3E

85af5dafbbd8ae9f496e4349ec0d7b0411439a71 1525931 24-Sep-2013 trawick

Suppress formatting of startup messages written to the console when ErrorLogFormat is used.

9b0076ddd1103e5fa9c1f9bafde4b06ce244fbae 1525866 24-Sep-2013 covener

Change the default value of AuthLDAPMaxSubGroupDepth, so sub-group searching is opt-in. Not intended for 2.4 backport.

249d09d51808cb7981af99762c3b3736ca126cd5 1525600 23-Sep-2013 jkaluza

mod_syslog: New module implementing syslog ap_error_log provider. Previously, this code was part of core, now it's in separate module.

56589be3d7a3e9343370df240010c6928cc78b39 1525597 23-Sep-2013 jkaluza

Add ap_errorlog_provider to make ErrorLog logging modular. Move syslog support from core to new mod_syslog.

8c4967445b49a1612b3f98c1dada65e597ecfe26 1525280 21-Sep-2013 trawick

Borrow a fix from mod_authnz_fcgi: mod_proxy_fcgi: Handle reading protocol data that is split between packets.

61fefed8ce5211c31b44f3a38a6e76ca055e5780 1525276 21-Sep-2013 trawick

Bring some envvar flexibility from mod_authnz_fcgi to mod_proxy_fcgi: mod_proxy_fcgi: Remove 64K limit on encoded length of all envvars. An individual envvar with an encoded length of more than 16K will be omitted.

6001d914962deabb83a46251001612e969bdf67a 1524770 19-Sep-2013 jim

draft-ietf-httpbis-p1-messaging-23 fixes regarding interactions between TE and content-length in the same req/resp.

c4e8006db0cf457c68876d7d4c30dcc451d8cba7 1524388 18-Sep-2013 jkaluza

Use apr_socket_timeout_get instead of hard-coded 30 seconds timeout. Document r1524368 in CHANGES.

36c78bbfb47f13cc9378eeb8a0bfb54bb8cf55a7 1524190 17-Sep-2013 jim

revert 1524161 for the time being

cb5e5b626fc4eaa79334484cfc43039edf899274 1524161 17-Sep-2013 jim

RFC2616 issue

3d08b21726fc17245e44b84e79c20334c98ca86e 1523388 15-Sep-2013 covener

remove some recently backported fixes.

652bacc79dd7f980249784cc8c4838e8f1de7e8a 1523387 15-Sep-2013 covener

In 2.4, the MPM leaves a copy of the non-disconnected FD sitting in context->accept_socket. This FD will be closed a second time, often shortly after a worker picks it up in this same FD being reused. The first recv fails with WSAENOTSOCK since the same FD was closed in the listener thread while the worker was pulling it off the queue (The second close is of the underlying FD/socket, not a shared apr_socket_t, so it's not short-circuited) This patch makes it a bit more 2.2.x-ish and solves my problem -- the context->accept_socket gets zapped at the bottom of the loop if !disconnected.

aa6cb33e0279a72e5b5f482871844ebd85dfd527 1523239 14-Sep-2013 minfrin

mod_auth_digest: Be more specific when the realm mismatches because the realm has not been specified.

f4db898517ccc6ef1a403630de56918286d3a47e 1523235 14-Sep-2013 minfrin

SECURITY (CVE-2013-4352): Fix a NULL pointer deference which allowed untrusted origin servers to crash mod_cache in a forward proxy configuration. mod_cache: Avoid a crash with strcmp() when the hostname is not provided.

d8a6de5eec06d4136839c8f7a56a6ab5acd2d3be 1522900 13-Sep-2013 humbedooh

that line was obviously wrong.

28a723b775c7666281298eab813c63ac42270f95 1522030 11-Sep-2013 humbedooh

mod_lua: Add rudimentary WebSocket support. This is a WIP (emphasis on the W, I and P) and subject to change as the idea surrounding it evolves into something meaningful. But for now, WebSockets, yay! Please do review this!

067698ad30941e38ef5d7f95f1c2736c2ebc5cb9 1521796 11-Sep-2013 humbedooh

Forgot to add getcookie/setcookie to CHANGES. Hereby done.

4b3f656d2ad030be85d219e02fdc11546ddecb5c 1520908 08-Sep-2013 covener

add "Header note" which was the solution for two users this week on IRC.

7a437ce535a5fac890296402ba483c2f41bb6500 1520368 05-Sep-2013 trawick

Mistakenly try to use a line comment to the end of your Listen directive on Windows => crash-o-matic Or, WinNT MPM: Don't crash during child process initialization if the Listen protocol is unrecognized.

6e1e45624d6f32110383bb0bd06c254c1dba8123 1519977 04-Sep-2013 humbedooh

Add r:setcookie(key, val, secure, expires) and r:getcookie(key) to the request_rec table.

77ca16c5676da23155311e13cee61e7eaba9fa3e 1519556 03-Sep-2013 jailletc36

mod_status, mod_echo: Fix the display of client addresses. They were truncated to 31 characters which is not enough for IPv6 addresses. PR 54848 [Bernhard Schmidt <berni birkenwald de>]

921d32d80d8271da08f12fc374a69cb36d1d63b3 1519492 02-Sep-2013 covener

mod_lua: If the first yield() of a LuaOutputFilter returns a string, it should be prefixed to the response as documented. Also, don't put empty heap buckets in the brigade if a yield() is called with no string.

86a5604df726638a2b8085e993b4b79c4b3a5262 1519484 02-Sep-2013 covener

forgot my name

3e097af23e40c45aa32602545155f0964ab5c69d 1519483 02-Sep-2013 covener

mod_lua: Remove ETAG, Content-Length, and Content-MD5 when a LuaOutputFilter is configured without mod_filter. [Eric Covener]

faea99bb676ec50ece38da6b1879aa37546483a2 1519476 02-Sep-2013 covener

register LuaOutputFilters with AP_FILTER_PROTO_CHANGE|AP_FILTER_PROTO_CHANGE_LENGTH

d65242086b0c700c44590925b2ed9281cd4fd781 1519475 02-Sep-2013 covener

*) mod_filter: Add "change=no" as a proto-flag to FilterProtocol to remove a providers initial flags set at registration time. [Eric Covener]

344f755169e100ea8ce51e847a0bf30a13b46917 1519398 02-Sep-2013 covener

Return a 500 error instead of DECLINED when LuaHook* script does not return a numeric value.

fcd5c4e9e126e867eb270ed2d4138348cb1e46e5 1517919 27-Aug-2013 trawick

Add experimental cmake-based build system for Windows. Thanks tdonovan for sharing your earlier version! A lot of good stuff is from Tom; a lot of bad stuff is from me.

03d414bf2d6dd93a1b6a3af972a7f1a96d25080f 1517389 26-Aug-2013 covener

fix email ID

60284a9f9158baa60cc8ab4a69066404b1dcae7a 1517388 26-Aug-2013 covener

"LDAPReferrals off" does not disable LDAPReferrals feature. Default OpenLDAP value for LDAP_OPT_REFERRALS is ON and the current code does not set it to OFF even when there is "LDAPReferrals off" directive in the config file. Changes LDAPReferrals to tri-state: - "on" - default. Calls apr_ldap_set_option to set referrals on. - "off" - Calls apr_ldap_set_option to turn referrals off. - "default" - Does not call apr_ldap_set_option at all. The default remains ON. If "default" and SDK defaults to ON, no rebind callback is used. Submitted By: Jan Kaluza <kaluze AT redhat.com> Committed By: covener

b1f989ad92bf5918c4f48babb99238d5201da6fc 1517366 25-Aug-2013 covener

Don't log AUTHZ_DENIED failures at ERROR level in authz providers

1f1933f2ce29fc238606f1f637f9b09d37ad1713 1515574 19-Aug-2013 trawick

pre_htaccess hook is gone

50cfe8bbbaf4279375802531268e2bf0155215fe 1515403 19-Aug-2013 trawick

mod_authnz_fcgi: New module to enable FastCGI authorizer applications to authenticate and/or authorize clients. A fair amount of code was taken from or at least based on mod_proxy_fcgi, with a smaller amount taken from mod_fcgid.

7c944678d88e1b1b42a6b9e12b3da95ac1668a9d 1515371 19-Aug-2013 trawick

merged to 2.4.x

63e21ca66d2773c30fd9f931e0718e03d59a6859 1515368 19-Aug-2013 trawick

merged to 2.4.x

67cf7f7a435f519190eefac1b9b2662483cf6404 1515050 18-Aug-2013 trawick

fcgistarter: Specify SO_REUSEADDR to allow starting a server with old connections in TIME_WAIT.

4c02bab56a528a180bbe394d8b6e6fd9c1a3ac1e 1514617 16-Aug-2013 sf

Make the statement about the poll sense change less strong

5cb0075c38fc868730c4981e346845dad6c7ea58 1514064 14-Aug-2013 chrisd

Add AuthBasicUseDigestAlgorithm directive to allow migration of passwords from digest to basic authentication.

ffaa9771884a8664f0e6267efbe9d26b40000461 1513454 13-Aug-2013 trawick

Add util_fcgi.h and associated definitions and support routines for FastCGI, based largely on mod_proxy_fcgi.

f87299dab99bc04b51a6b8cad51b6795db862c0a 1512819 10-Aug-2013 trawick

Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.

77c6374e145713c55bc3d6e648abe917b04921f3 1510707 05-Aug-2013 trawick

ab: Fix potential buffer overflows when processing the T and X command-line options. PR: 55360 Submitted by: Mike Rumph <mike.rumph oracle.com> Reviewed by: trawick

f861a9becec7d12bf38928d847d4d52a00b5be6d 1507853 28-Jul-2013 trawick

remove pre_htaccess/open_htaccess noise now that open_htaccess hook is in 2.4.x branch

305930c84bf1bea0827d32aa933446a6c4bacdd7 1502205 11-Jul-2013 jim

In 2.4.x

4d12805e6c18253040223ea637acd6b3b3c18f60 1501827 10-Jul-2013 jorton

* modules/metadata/mod_unique_id.c: Replace use of hostname + pid with PRNG output. Submitted by: Jan Kaluza <jkaluza redhat.com> Reviewed by: sf, jorton

f2287adf33e3664c55b421fd65c45f0e05fe6977 1501294 09-Jul-2013 covener

restore "core_output_filter: writing data to the network" message when c->aborted is set in the core output filter, but now at TRACE1.

79223c59f9f8cc58860761b62996e25029659627 1500444 07-Jul-2013 rjung

Remove backported items.

6e946fb27fa43424c6bed033ae9dcb5322938e99 1498880 02-Jul-2013 sf

Replace pre_htaccess hook with more flexible open_htaccess hook

3038ce4e54d3345ba234bc0f954af5e1ecc36b19 1497907 28-Jun-2013 rjung

Remove mod_lua items. Those are part of 2.4 now.

6d045714d1798b4620447eef99b09ade5834e75b 1497605 28-Jun-2013 rjung

Remove backported items. Reduction by 1/3.

e5d909f2b06bd880fb3675cd49363df981caa631 1497408 27-Jun-2013 trawick

minor readability tweak to r1497371

a4df2cd1e1391575a327c2a90ba4315f805a0a78 1497371 27-Jun-2013 covener

authnzldap: support "none" as a filter to suppress using a search filter, which is required by some mainframe security products serving native registry over LDAP.

cb666b29f81df1d11d65002250153353568021fc 1496711 26-Jun-2013 covener

recognize the "defualt handler name" in r->handler, which is used when no SetHandler/AddHandler and no matching mimetype during type_checker.

f58fcd9d79be417ef351cac4e4c0ab264c5521e0 1496429 25-Jun-2013 trawick

core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization on Linux kernel versions 3.x and above. PR: 55121 Submitted by: Bradley Heilbrun <apache heilbrun.org> Reviewed by: trawick

1c2cab00d988fc48cbe59032cf76cc0bab20d6f7 1496340 25-Jun-2013 covener

correct CHANGES for r1496339, confused myself. Normal merge from global config to vhost.

6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0 1496339 25-Jun-2013 covener

*) core: merge AllowEncodedSlashes from the base configuration into (non-default) name-based virtual hosts. [Eric Covener]

45dffe6c346dd73571ccaead10295fc7d53b59a6 1496338 25-Jun-2013 covener

provide a simple (no <If>) way to set a header only if it's not already there.

75a230a728338d84dcfe81edd375352f34de22d0 1496230 24-Jun-2013 covener

Use cp on AIX too. /usr/bin/install isn't compatible on recent systems and it's a pain to install and force /opt/freeware/bin.

3694b0116c5729804ed6a5ce119bd8efda116c7f 1496207 24-Jun-2013 covener

re-try LDAP connections in a few authz paths.

1f50dc34ae069adeed20b2986e5ffdefa5c410e0 1496176 24-Jun-2013 covener

prevent excessive delays retrying new connections that timed out.

63a5ea80bddcc84a462e40f402b4f330e0e05411 1495825 23-Jun-2013 covener

protect 'AP_DECLARE_MODULE(deflate)' from expansion to 'AP_DECLARE_MODULE(z_deflate)' if zlib has been built with -DZ_PREFIX.

986f3ea2c314d4d4b3b937149853a0f23f6119aa 1493921 17-Jun-2013 minfrin

mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size previously limited to 64MB.

65a4e663b82f8bce28ac22ab2edfd7502de36998 1493419 15-Jun-2013 sf

Describe mod_auth_digest changes more accurately

f502dd154eaf60ccf6a993e83c490d52cd0a385e 1492663 13-Jun-2013 minfrin

mod_cache_socache: Make sure the CacheSocacheMaxSize directive is merged correctly.

c7de1955eb0eaeabf7042902476397692672d549 1492395 12-Jun-2013 sf

Actually use the secret when generating nonces. This change may cause problems if used with round robin load balancers. Before it is backported, we should add a directive to use a user specified secret. PR: 54637

cc5a4a08dc9783fcbc52ce86f11e01c281a43810 1491458 10-Jun-2013 minfrin

mod_cache_socache: Use the name of the socache implementation when performing a lookup rather than using the raw arguments.

a77a7d850e4496179e1e0f45d5152865c899d421 1490493 07-Jun-2013 covener

rotatelogs: add -n number-of-files option to roate through a number of fixed-name logfiles.

df6d5653669f1514b4449aaba99cb950c0013e5f 1490098 06-Jun-2013 covener

tolerate LuaMapHandler scripts that don't return anything

509622419be000045d461ef38fb97df778fdf81d 1488644 02-Jun-2013 jailletc36

Add a new -l parameter in order not to check the length of the responses. This can be usefull with dynamic pages. PR9945, PR27888, PR42040

1de839c61281d58dc75715c1ae06b4b00764c4ef 1488296 31-May-2013 jorton

* modules/ssl/ssl_util_ocsp.c (read_response): Ignore empty buckets in the brigade, which can be left over from line splitting. Fixes case where the OCSP response was only partially read from the wire.

2e1a0fb12bdf1c20064ffe900a8f44979ec946fc 1488158 31-May-2013 minfrin

CVE-2013-2249 mod_session_dbd: Make sure that dirty flag is respected when saving sessions, and ensure the session ID is changed each time the session changes.

f59c12a3b7bd7cc11d7df4de0d8eb31e3211e8e5 1486026 24-May-2013 minfrin

Reverting as per veto in http://svn.apache.org/r1486021.

441d366a564bc6faa7c1eaffbacf8c4f37862199 1485668 23-May-2013 minfrin

CVE-2013-1896 mod_dav: Sending a MERGE request against a URI handled by mod_dav_svn with the source href (sent as part of the request body as XML) pointing to a URI that is not configured for DAV will trigger a segfault. Submitted by: Ben Reser <ben reser.org>

0b9de55d178312ec929dbe417dd61199b269991d 1484910 21-May-2013 jailletc36

mod_logio: new format-specifier %C (combined) which is the sum of received and sent byte counts. PR54015

74e7f6c55fd67b10cb400b3f6d1dc718a303d944 1484852 21-May-2013 minfrin

core: Remove apr_brigade_flatten(), buffering and duplicated code from the HTTP_IN filter, parse chunks in a single pass with zero copy. Reduce memory usage by 48 bytes per request.

9e0d78337da0ce66247fc3254b9d5be262cbcea8 1484832 21-May-2013 minfrin

mod_deflate: Remove assumptions as to when an EOS bucket might arrive. Gracefully step aside if the body size is zero.

2ae6440d9c0beacb1b2a9726d80b755a8a4a851b 1484398 20-May-2013 jailletc36

Fix PR 54463 by removing an optional 'standard' parameter. It has been no-une for more than 10 years and is not documented. This also makes the code more consistent with other mod_auth modules.

2f073ef2a21b1725addef84f318a2b11541e912a 1483027 15-May-2013 minfrin

mod_proxy_http: Make the proxy-interim-response environment variable effective by formally overriding origin server behaviour.

a511a29faf2ff7ead3b67680154a624effb31aaf 1482522 14-May-2013 minfrin

core: Stop the HTTP_IN filter from attempting to write error buckets to the output filters, which is bogus in the proxy case. Create a clean mapping from APR codes to HTTP status codes, and use it where needed.

a7584fbbf39ae6a78586ed038d80c31b14ce5461 1481891 13-May-2013 minfrin

mod_proxy: Ensure we don't attempt to amend a table we are iterating through, ensuring that all headers listed by Connection are removed.

9ea14ade0d235bec11e6c221b888a6630a0be849 1481306 11-May-2013 covener

PR54948: wildcard name-based vhosts printed twice in apachectl -S

4860eae0821bbdf3e0da78be7b4057ebed5d86e4 1481302 11-May-2013 minfrin

mod_proxy: Reject invalid values for Max-Forwards.

5b6a4b0e8d6d52394b68b51e0fa439d0eee16e37 1481197 10-May-2013 minfrin

mod_cache: If a 304 response indicates an entity not currently cached, then the cache MUST disregard the response and repeat the request without the conditional.

2344a0c1817b88b6df61fc4ed0c6af66bb93ee6b 1480627 09-May-2013 jim

Mod_proxy used the global pool w/o mutex. fix.

63921358ef93fcb41bc71d9894221ba3d7fbb87b 1480058 07-May-2013 minfrin

mod_proxy: Ensure network errors detected by the proxy are returned as 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.

bbb08feeeef547b0908b16df6cbbb65da656b86f 1479966 07-May-2013 minfrin

mod_cache: Ensure that we don't attempt to replace a cached response with an older response as per RFC2616 13.12.

eee20257a5ee9228f4aecdf3d3ca68fd0683ff07 1479905 07-May-2013 minfrin

core, mod_cache: Ensure RFC2616 compliance in ap_meets_conditions() with weak validation combined with If-Range and Range headers. Break out explicit conditional header checks to be useable elsewhere in the server. Ensure weak validation RFC compliance in the byteranges filter. Ensure RFC validation compliance when serving cached entities. PR 16142

decb536ebd4b7b94c7450c2e1daa491943135abd 1479528 06-May-2013 minfrin

core: Add the ability to do explicit matching on weak and strong ETags as per RFC2616 Section 13.3.3.

2d2c5cedd0559093c6e88bd92702e369ef949336 1479411 06-May-2013 minfrin

mod_cache: Ensure that updated responses to HEAD requests don't get mistakenly paired with a previously cached body. Ensure that any existing body is removed when a HEAD request is cached.

2b82678319a66fd9caad8827ca9b38d2412a5abd 1479222 05-May-2013 minfrin

mod_cache: Honour Cache-Control: no-store in a request.

c0da461d68518e8f89f4070a709ba1e56381247c 1479216 05-May-2013 minfrin

mod_cache: RFC2616 14.9.3 The s-maxage directive also implies the semantics of the proxy-revalidate directive.

797fb211307298a8a6984c0edc0d8972b35eeac1 1479117 04-May-2013 minfrin

mod_cache: Make sure that contradictory entity headers present in a 304 Not Modified response are caught and cause the entity to be removed.

f27c90ecdefe634bd5f9c529d8658d3a3b441303 1478748 03-May-2013 minfrin

mod_cache: Make sure Vary processing handles multivalued Vary headers and multivalued headers referred to via Vary.

80cabec6752622e0db5421af61502bfda95715ea 1478441 02-May-2013 minfrin

mod_cache: When serving from cache, only the last header of a multivalued header was taken into account. Fixed.

a2e1bbb77dd09c6a60f2dc18f831000e49add31e 1478382 02-May-2013 minfrin

mod_cache: Ignore response headers specified by no-cache=header and private=header as specified by RFC2616 14.9.1 What is Cacheable. Ensure that these headers are still processed when multiple Cache-Control headers are present in the response. PR 54706

deec48c67d4786bc77112ffbf3a4e70b931097ed 1478140 01-May-2013 minfrin

mod_cache: Invalidate cached entities in response to RFC2616 Section 13.10 Invalidation After Updates or Deletions. PR 15868 Resolves outstanding issue with r1070179 as per http://www.gossamer-threads.com/lists/apache/dev/395830?do=post_view_threaded#395830

6d601599d3d65df0410eae6e573e75b2dbfb1fb4 1477687 30-Apr-2013 minfrin

mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981.

40d570cf1420f497bcac59045d4ce477f0b5d891 1476645 27-Apr-2013 minfrin

mod_dav: Do not segfault on PROPFIND with a zero length DBM. PR 52559 Submitted by: Diego Santa Cruz <diego.santaCruz spinetix.com> Tested by William Lewis <wiml omnigroup com>

edab53cc0be707fa71968a95c696b19f0e6c4736 1476644 27-Apr-2013 minfrin

mod_dav: Do not fail PROPPATCH when prop namespace is not known. PR 52559 Submitted by: Diego Santa Cruz <diego.santaCruz spinetix.com> Tested by William Lewis <wiml omnigroup com>

806e9ba570ef48df4bfd8364e2f4d57381388a11 1476642 27-Apr-2013 minfrin

mod_dav: When a PROPPATCH attempts to remove a non-existent dead property on a resource for which there is no dead property in the same namespace httpd segfaults. PR 52559 Submitted by Diego Santa Cruz <diego.santaCruz spinetix.com> Tested by William Lewis <wiml omnigroup com>

0754dde4b645ccd88fdb6c2961c0bdd7b213bdba 1476627 27-Apr-2013 minfrin

mod_dav: PROPPATCH delete (svn propdel) silently discards errors. PR 53525 Submitted by Arwin Arni <arwin collab.net>

a4273e3e513ce8f5e1311c320cbd334cc382950e 1476621 27-Apr-2013 minfrin

mod_dav: Ensure URI is correctly uriencoded on return. PR 54611 Patch submitted by Timothy Wood <tjw omnigroup com> Tested by William Lewis <wiml omnigroup com>

d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1c 1476604 27-Apr-2013 minfrin

mod_dav: Sending an If or If-Match header with an invalid ETag doesn't result in a 412 Precondition Failed for a COPY operation. PR: 54610 Submitted by: Timothy Wood <tjw omnigroup.com>

1388f6105cae2c88627f1f37503867fa078763d0 1476148 26-Apr-2013 rpluem

* Backported

00d253acde61153df2ade882837a8773217a0276 1476095 26-Apr-2013 rjung

Done.

8eee941f4b6c13e7a598dff3554e5fb4ac7b501b 1475878 25-Apr-2013 rjung

htdigest: Fix buffer overflow when reading digest password file with very long lines. PR 54893.

0d41a27b130b9c89cf3d9dd1e528381ebdffd6d9 1471449 24-Apr-2013 rpluem

* Fix null pointer dereference in case SetEnvif and SetEnvIfExpr are used together. PR: 54881

1aac1c71105133d669960501bdf2274e63561054 1470940 23-Apr-2013 minfrin

mod_dav: Make sure that when we prepare an If URL for Etag comparison, we compare unencoded paths. PR 53910 Patch submitted by Timothy Wood <tjw omnigroup com> Tested by William Lewis <wiml omnigroup com>

2c487ac43b583db869e743772a7a10b278aa2bcf 1470679 22-Apr-2013 minfrin

core, mod_ssl: Lift the restriction that prevents mod_ssl taking full advantage of the event MPM. Enable the ability for a module to reverse the sense of a poll event from a read to a write or vice versa.

6290dd2fc70a43d57ceadbd1de8cb1225533c744 1470269 21-Apr-2013 sf

remove backported item

c19a9170a908e0a3ae67d0dc4ef04624cc6c316c 1470183 20-Apr-2013 sf

Add workaround for gcc bug on sparc/64bit PR: 52900

9f75646ed2590d08ba8dc74e4e40a24e4d27de83 1468131 15-Apr-2013 kbrand

revert r1352596, for the reasons explained in https://mail-archives.apache.org/mod_mbox/httpd-dev/201304.mbox/%3C515FED7C.5010009%40velox.ch%3E

d8b15b0532fb60ec6cb992cb8f6ab7ff70bf3625 1467982 15-Apr-2013 jim

in 2.4.5-dev

dbf5f584c62fe6030d81121fdddeb7588b78b867 1465116 05-Apr-2013 sf

htpasswd: Add -v option to verify a password htpasswd and htdbm could use some more refactoring...

15320dc646e41d3eb38736978500349c4d66dc0d 1465115 05-Apr-2013 sf

fix htpasswd/htdbm brown paper bag bugs - use the correct string to generate the hash from. PR 54735 - print error message instead of empty string while there, replace strdup + check for oom with apr_pstrdup

691db92094897494d6c31326108da20088bc175e 1464241 04-Apr-2013 trawick

mod_dav: Improve error handling in dav_method_put(), add new dav_join_error() function. PR: 54145 Submitted by: Ben Reser <ben reser.org> Reviewed by: trawick

92108a6c4fd7ca6e9acc94d2485920436763e491 1463047 31-Mar-2013 sf

if shm initialization fails, reset client_list to avoid crashes

684e0cfc200f66287a93bbd1708d1dd8a92a7eef 1453604 06-Mar-2013 covener

fix merge of min/max file size by setting corresponding _set

413ee814748f37be168ff12407fa6dba0ceeabe6 1449821 25-Feb-2013 trawick

spelling fix

5077eceb48bb505d610bea89067c8569b5174983 1447993 20-Feb-2013 wrowe

mod_ssl: Quiet FIPS mode weak keys disabled and FIPS not selected emits in the error log to debug level. [William Rowe]

72aaeaa5a37222163750c2a5439d63767fdb2e2d 1447451 18-Feb-2013 rjung

Has been backported. CHANGES in 2.4 not needed, because regression was never released.

991bbfbb888b62a7975d6fa9663adc4ac3a5975a 1447426 18-Feb-2013 covener

Unbreak default case of RewriteBase not being set after r1410681 Contributed By: Evgeny Barsukov Reviewed By: covener

05a5a9c3e16f21566e1b61f4bd68025ce1b741cc 1446421 15-Feb-2013 joes

ap_rgetline_core() now pulls from r->proto_input_filters for better input filtering behavior during chunked trailer processing by ap_http_filter().

a4d30e3411c0895e6e305895c49ec83659f59fdf 1443207 06-Feb-2013 jim

in 2.4.x

8963adc94ab69b973cba6f06a7738c89c0ab6ab9 1443078 06-Feb-2013 jim

In 2.4.4-dev

26c5829347f6a355c00f1ba0301d575056b69536 1442439 05-Feb-2013 niq

Chop inappropriate detail from my recent CHANGES entry

ef82e8fa164e0a1f8b813f7deb6b7ead96018c94 1442409 04-Feb-2013 niq

mod_proxy_html: bugfixes and introduce HTML5 doctype

4fc0f3118f25efdd3d09b1c53746e92dbcc600f0 1442326 04-Feb-2013 sf

Fix valgrind warning about uninitialized memory in argument to semctl PR: 53690 Submitted by: Mikhail T. <mi+apache aldan algebra com>

98c1e91bd5f30ced26e436026d163399f340d6f4 1442320 04-Feb-2013 sf

Don't keepalive the connection to the client if the backend closes the connection. PR: 54474 Submitted by: Pavel Mateja <pavel netsafe cz>

c12917da693bae4028a1d5a5e8224bceed8c739d 1442307 04-Feb-2013 sf

Avoid valgrind warnings in mod_ssl random number generator We intentionally add uninitialized stack memory. To avoid warnings, make valgrind believe that the memory is defined. Add configure option to enable valgrind support

3c2f670377a4c339ad42a44f1fffb6c17a126d7b 1436920 22-Jan-2013 jim

backported

6e39d088323178e9f05703d1b10d9cd2b28dc4bf 1436486 21-Jan-2013 rpluem

* This one is backported to 2.4.x

7705103518c61f7cdcd4041fe871cb45114f31a5 1433988 16-Jan-2013 rpluem

* A limit of zero means unlimited for LimitRequestBody. PR: 54435 Submitted by: Pavel Mateja <pavel netsafe.cz> Reviewed by: rpluem

24190f7adf5f3548cf067871b5cdac88a8193ae4 1430821 09-Jan-2013 jim

these are in 2.4.x

eeb7898b9c087040d44550f8a6b1a257783c9f0a 1430279 08-Jan-2013 humbedooh

Add lua_dbd features to CHANGES

eafcc0ebf263d0ba69855b6e10958c4c1a2361bd 1427548 01-Jan-2013 sf

Add some caching for password hash validation. Password hash functions must be expensive in order to be secure. But if they have to be re-evaluated for every request, performance suffers. As a minimal remedy, cache the most recent result for every connection. This gives a great performance boost if a web browser does many requests on the same connection with the same user+password. In principle, this may keep the plain text password around longer than before. But in practice, there won't be much difference since user+password can already remain in some unused data bucket for longer than the request duration. A proper solution still needs to be found for connections from proxies which may carry requests for many different users. While it currently only requires the conn_rec, the new ap_password_validate() function takes username and request_rec to allow future extensions, like detection of brute-force attempts.

d7ffd2da16d58b1a0de212e4d56f7aebb72bef26 1427465 01-Jan-2013 sf

Remove support for Request-Range header sent by Navigator 2-3 and MSIE 3

4576c1a9ef54cd1e5555ee07d016a7f559f80338 1426877 30-Dec-2012 sf

Add an option to enforce stricter HTTP conformance This is a first stab, the checks will likely have to be revised. For now, we check * if the request line contains control characters * if the request uri has fragment or username/password * that the request method is standard or registered with RegisterHttpMethod * that the request protocol is of the form HTTP/[1-9]+.[0-9]+, or missing for 0.9 * if there is garbage in the request line after the protocol * if any request header contains control characters * if any request header has an empty name * for the host name in the URL or Host header: - if an IPv4 dotted decimal address: Reject octal or hex values, require exactly four parts - if a DNS host name: Reject non-alphanumeric characters besides '.' and '-'. As a side effect, this rejects multiple Host headers. * if any response header contains control characters * if any response header has an empty name * that the Location response header (if present) has a valid scheme and is absolute If we have a host name both from the URL and the Host header, we replace the Host header with the value from the URL to enforce RFC conformance. There is a log-only mode, but the loglevels of the logged messages need some thought/work. Currently, the checks for incoming data log for 'core' and the checks for outgoing data log for 'http'. Maybe we need a way to configure the loglevels separately from the core/http loglevels.

9811aed12bbc71783d2e544ccb5fecd193843ead 1426827 29-Dec-2012 sf

Correctly parse an IPv6 literal host specification in an absolute URL in the request line. - Fix handling of brackets [ ] surrounding the IPv6 address. - Skip parsing r->hostname again if not necessary. - Do some checks that the IPv6 address is sane. This is not done by apr_parse_addr_port().

d58a822aff1dfda25384d3d009f88f1883c95436 1425874 26-Dec-2012 kbrand

mod_ssl: add support for subjectAltName-based host name checking in proxy mode (PR 54030) factor out code from ssl_engine_init.c:ssl_check_public_cert() to ssl_util_ssl.c:SSL_X509_match_name() introduce new SSLProxyCheckPeerName directive, which should eventually obsolete SSLProxyCheckPeerCN ssl_engine_io.c:ssl_io_filter_handshake(): avoid code duplication when aborting with HTTP_BAD_GATEWAY

e02ff627c1e63137247e20493f6ef44b3bb1a095 1425777 25-Dec-2012 sf

Check that AsyncRequestWorkerFactor is not negative PR :54254 Submitted by: Jackie Zhang <jackie qq zhang gmail com>

4a2c581e1f165bf0440f9b2132a76920f51f1db4 1422878 17-Dec-2012 jim

backported

dbf4cb9be2f35c941ac03879e4af4e697a5a26e6 1422872 17-Dec-2012 jim

backported

e10a14da1c5c2c31e0a91142a509908356c4c6c5 1422595 16-Dec-2012 rjung

Backported.

39f33ff7759ccee97f161f789b0cab07e735a6bc 1422135 14-Dec-2012 jailletc36

httxt2dbm: Correct length computation for the 'value' stored in the DBM file PR 47650

9cbf9bd8a0357bb60ced443fecd7a3e8e8f78c77 1421948 14-Dec-2012 rjung

Backported in r1420827.

1366443dc565c33e7b449ae428bbfc4c86f33935 1421323 13-Dec-2012 drh

Add support for OpenSSL configuration commands.

88fac54d9d64f85bbdab5d7010816f4377f95bd7 1420094 11-Dec-2012 rjung

- Remove backported items from CHANGES. - Add eventopt to CHANGES - Remove obsolete compatibility note form SRP docs (has been backported).

c896413ef7cc4cf8cea20c6783d0a93a9d77dc21 1419796 10-Dec-2012 jailletc36

mod_proxy_balancer: It's totally unclear what Drn, Dis, Ign, Stby means. PR 52478

c4a2da393b367f9dadfd50fd32b820ab189ff0d6 1419170 09-Dec-2012 sf

remove two more items that have been backported to 2.4

c9efbc4b6b80b0112bd53a6bdef3f25b8093a5ab 1419157 09-Dec-2012 sf

Remove some backported items

01b587fd5183c3f9a8df76f800c3a029cb29cb17 1418908 09-Dec-2012 covener

remove items backported to 2.4.x

e51000b119b325e0d9b1d20c5eec1596e5555553 1418824 09-Dec-2012 fabien

add missing space for paragraph alignment.

2a7beea91d46beb41f043a84eaad060047ee04aa 1418823 09-Dec-2012 fabien

Tell CHANGES about added 'Warning' directive.

bd3f5647b96d378d9c75c954e3f13582af32c643 1418767 08-Dec-2012 sf

Add LogLevelOverride directive that allows to override the loglevel for clients from certain IPs

9e430d18dde58791589bd699416c8319560dd067 1417546 05-Dec-2012 jim

Userland change

28cfe7f444531a5faf01669fac53a0e3280bf902 1415024 29-Nov-2012 covener

add PR's in for recent commits

d03c146b3cdb757b2e7cb85881df1088558293a7 1415023 29-Nov-2012 covener

PR54223: 2.4 generates AH00554 when Include points to a directory with no wildcard. r931435 refactored ap_process_resource_config() so it didn't read through directories, but also changed a path non-fnmatch directories are passed through to call ap_process_resource_config().

ad98610a7a84dfe5c967bf48470c0ef9788eab75 1415008 29-Nov-2012 covener

PR54222: catch invalid ServerTokens args Submitted by: Jackie Zhang <jackie.qq.zhang gmail.com> Reviewed/modified by: covener

bf2c5978346829f62a64d3f2106a3cc08782b86c 1410954 18-Nov-2012 sf

Don't log a spurious "-" if a request has been rejected before mod_log_forensic could attach its id to it. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693292

584a85dd4047e38d3ed3a29b6662fcc9d100ae4c 1410755 17-Nov-2012 sf

Add SERVER_PROTOCOL_VERSION, SERVER_PROTOCOL_VERSION_MAJOR, SERVER_PROTOCOL_VERSION_MINOR ap_expr variables.

855d6aa9f641cd160ee4265824a3ad3d06231c76 1410681 17-Nov-2012 covener

PR53963: don't merge the rewritebase down w/o an opt-in

ca8584db70d0ff4d85cbfd912573688c41be27cf 1408958 13-Nov-2012 jailletc36

mod_session_dbd: fix a segmentation fault in the function dbd_remove. The segmentation fault is caused by an uninitialized function pointer session_dbd_acquire_fn. PR 53452

f21e9e3d0bfb7a507ecc5bc963f2159d693503d1 1407599 09-Nov-2012 sf

Expose ap_method_register() to the admin with a new RegisterHttpMethod directive.

c967bf3bc89e8aa60dbd30d9da388e448ddc1cc4 1407381 09-Nov-2012 trawick

The following now respects DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR: - mod_cache: thundering herd lock directory

7f40ab64e74b7d1057b5ee6abc349e32e74b1b4c 1407248 08-Nov-2012 jim

*) mod_xml2enc: Fix problems with charset conversion altering the Content-Length. [Micha Lenk <micha lenk info>]

f6b9c755a0b793e8a3a3aebd327ca20a86478117 1406719 07-Nov-2012 sf

New directive HttpProtocol which allows to disable HTTP/0.9 support. The syntax is designed to allow addition of a +/- strict option later on.

132ee6ac1c26d6e8953836316ba50734eefab47b 1406617 07-Nov-2012 sf

mod_allowhandlers: New module to forbid specific handlers for specific directories.

497e47ed2aaf97b229bd29a8bdd15f5927dc50e6 1406495 07-Nov-2012 sf

Make ap_check_cmd_context() treat <If> sections like <File> sections. This is necessary to properly disallow directives that don't work in <If>. A separate NOT_IN_IF flag may be nicer, but would create much more hassle when being backported to 2.4.

5c43d2fb853f84497b5ece2d414ef9484aa87e5f 1406493 07-Nov-2012 sf

Make <If> sections in virtual host context fill in cmd->path so that other directive notice that they are in a config section. This fixes LogLevel not working in <If> sections that are not in Location/Directory/File sections.

4f517d09c93a552f177f49ff97e93aa44eb127eb 1405494 04-Nov-2012 covener

*) mod_cache_disk: Resolve errors while revalidating disk-cached files on Windows ("...rename tempfile to datafile failed..."). PR 38827 [Eric Covener]

20eead0b01d51fce0cc17d04b8f98ec38eac68ae 1404653 01-Nov-2012 jim

Allow for setting of sticky session split char... Bugz 53893

cc45ee60ddfb8380b3703455098475eb72625ca8 1404625 01-Nov-2012 jim

*) mod_proxy_ftp: Fix segfaults on IPv4 requests to hosts with DNS AAAA records. PR 40841. [Andrew Rucker Jones <arjones simultan dyndns org>, <ast domdv de>, Jim Jagielski]

46e5dfe0899face9346d6711e4f2ba873d526991 1403483 29-Oct-2012 sf

ap_expr: Add req_novary function that allows HTTP header lookups without adding the name to the Vary header

aee831691bb9ecd96dea63d35bc8bdd21c0f0b1f 1400700 21-Oct-2012 sf

Change default for SSLCompression to off, as compression causes security issues in most setups

79ccc75d7de4e14e5add1fa73aaabda0f5d33fe6 1399708 18-Oct-2012 trawick

only write the first len chars to syslog, as the buffer may have additional text added speculatively

fc1459657a1fde206a847f9028930725d715f8b4 1397687 12-Oct-2012 trawick

configure: Fix processing of --disable-FEATURE for various features.

e758971371df73b097609b2fd62bc14ad935e096 1397172 11-Oct-2012 trawick

"Iterate" directives: Report an error if no arguments are provided.

1dd5136d67e0164e4afd723a471b86a1b7eb1874 1395256 07-Oct-2012 sf

Optionally read passwords from stdin PR: 40243 Submitted by: Adomas Paltanavicius <adomas paltanavicius gmail com>, sf

e39eb98e3ad3fbf5c34b2fa1d16861f95143e22e 1395255 07-Oct-2012 sf

add support for bcrypt PR: 49288

d6fc66efa723db8b3ee5e9fd32579bed884e4e58 1395253 07-Oct-2012 sf

Start refactoring of htpasswd and htdbm - Move many common code parts into separate source file. This adds some of htpasswd's recent improvements to htdbm. - Rework salt generation to use the full 48bit of entropy for MD5 Previously, it would only generate 2^32 different salts on a given platform. - Use apr_getopt().

f00cb80197f824c3ff00dd4fdff3b2c267a519d1 1395225 07-Oct-2012 kbrand

Allow forced setting of TLS1.1 and TLS1.2 protocols with the -f command-line switch, and adapt the output to more accurately report what SSL/TLS protocol was negotiated (use SSL_get_version() instead of SSL_CIPHER_get_version()). PR: 53916 Submitted by: Nicolás Pernas Maradei <nico emutex com> Reviewed/amended by: Kaspar Brand

85eacfc96a04547ef25aabbc06440039715084c2 1393976 04-Oct-2012 jorton

* modules/arch/unix/mod_systemd.c: New module. Submitted by: Jan Kaluza <jkaluza redhat.com>

1d8d7e58e1d31d7b6fb7a518e09649a4dbb315e9 1392347 01-Oct-2012 trawick

core: ErrorDocument now works for requests without a Host header. PR: 48357

f34da68471f256dca0ff770257c3e1f982f74cf1 1392150 01-Oct-2012 trawick

--with-module: Fix failure to integrate them into some existing module directories. modules/config?.m4 needs to run after the modules/*/config?.m4. Otherwise, modules.mk as created for --with-module gets wiped out first. PR: 40097

8b645fd3c950da73513b546366c7cfa7476c5c06 1389575 24-Sep-2012 jim

mod_header changes

193f0bb6057d67593ed652fbf58f043def51c642 1389573 24-Sep-2012 jim

Document these new funcs and make it API aware

d776b0a2d2889ce1d13494873368f34327a2e1bb 1389339 24-Sep-2012 trawick

add pre_htaccess hook; in conjunction with earlier dirwalk_stat and post_perdir_config hooks, this should allow mpm-itk to be used without patches to httpd core

68ba377fc3b124baa759662077c48077ebadb186 1388660 21-Sep-2012 minfrin

mod_cache_socache: New cache implementation backed by mod_socache that replaces mod_mem_cache removed from httpd v2.2.

00566fb187849626180724394a21ddcd28419fb2 1388648 21-Sep-2012 minfrin

mod_auth_form: Support the expr parser in the AuthFormLoginRequiredLocation, AuthFormLoginSuccessLocation and AuthFormLogoutLocation directives.

f4ca9f6f002fece336168a16355434ca966f96a9 1388447 21-Sep-2012 trawick

add dirwalk_stat hook, for use by mpm-itk

57db302f0875a6c93a79333b8941cea4c1827272 1387110 18-Sep-2012 jim

Persist local balancer-manager changes across restart/graceful.

92b1631880b0bf43fe8b2663a03c8571eb04e433 1387108 18-Sep-2012 jim

Document new provider function fgrab()

f82eec2fd556ccbdfd4b2b32a4960c9bff3aecf9 1386956 18-Sep-2012 fuankg

Windows: Fix output of -M, -L, and similar command-line options which display information about the server configuration (backport r1374428). Submitted by: trawick Reviewed/backported by: gsmith, fuankg

89225e8e84d38b07a8335922497997e83d872e75 1383490 11-Sep-2012 jim

Avoid the overhead of creating and grabbing a uuid for the balancer nonce if we're never going to use it.

78f94f1d06c4e6828ce04d618221e0fcecb57849 1377475 26-Aug-2012 humbedooh

Add new directives, LuaInputFilter/LuaOutputFilter for creating content filters using Lua.

f5e28c78424d2f71c61ba457009f100bba38bc68 1376700 23-Aug-2012 chrisd

Catch up change log with r1376695.

f4a715f904b014060ea6237fe29481ed21f5c7d0 1375584 21-Aug-2012 jorton

* modules/ssl/ssl_engine_io.c (ssl_io_filter_handshake): Add a wildcard common name match. PR: 53006

536d2e7cd1fdec1255b8c3bdf41fdc714c506a54 1374780 19-Aug-2012 trawick

WinNT MPM: Store pid and generation for each thread in scoreboard to allow tracking of threads from exiting children via mod_status or other such mechanisms.

254eb3394b0e47e7e5d25e49bbea74ccc652f645 1374428 17-Aug-2012 trawick

Windows: Fix output of -M, -L, and similar command-line options which display information about the server configuration.

661bf2bcd45b43aff518d82f252a45ee01555493 1374301 17-Aug-2012 rjung

Another three done.

985a4368b93c3e9171a57897ad9454c8dbf4cdf6 1374216 17-Aug-2012 jorton

Fix CHANGES entry.

70caa242e6b90e0d6f0fabb56b8c5c2fb51717b3 1374214 17-Aug-2012 jorton

* modules/ssl/ssl_engine_init.c (ssl_init_proxy_certs): Fix test for missing decrypted private keys, and ensure that the keypair matches. PR: 52212 Submitted by: Keith Burdis <keith burdis.org>, jorton

109e2a09790de3fb315d36d6232a14ab66c8eb0a 1374185 17-Aug-2012 humbedooh

mod_lua: Allow scripts handled by the lua-script handler to set a return code that will be sent to the client, such as 302, 500 etc. This will allow scripts to be able to f.x. redirect a user to another page by returning 302.

4be250c774bdac977eef29a02183ca78de29fb41 1373898 16-Aug-2012 rjung

Fix crash in packet dump code of mod_proxy_ajp when logging with LogLevel trace7 or trace8. PR 53730

12b5dc9afa1844df5ac8acab98fb538432a2fa1c 1373447 15-Aug-2012 rjung

Wrong content type and character set when mod_cache serves stale content because of a proxy error. PR 53539. Correction to r1361153.

a191c04a16c62ef6302fda9d273929acf5193451 1373440 15-Aug-2012 rjung

Fix ported to 2.4.

dc1843aff2ca500e8527725b5e2f73478ea4dc9c 1373270 15-Aug-2012 rjung

Fix bus error in mod_socache_shmcb due to a misalignment in some 64 bit builds, especially on Solaris Sparc. PR 53040

79c5787b92ac5f0e1cc82393816c77a006399316 1373121 14-Aug-2012 trawick

add back the DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR stuff that is not in 2.4.x The trunk patches for these all have some configuration breakage as 2.4.x interprets the individual directive or API parameter as relative to ServerRoot whereas trunk interprets everything relative to DefaultRuntimeDir.

55753335be64d1705f8178f1040926e747287d8c 1373113 14-Aug-2012 jim

In 2.4.x

0c13b11ac8705c041de7842b8574f31a3f5add9b 1372375 13-Aug-2012 rjung

Remove backported item from trunk CHANGES.

fe1ef277fc441864dade1856a858b79242f905c1 1372055 12-Aug-2012 humbedooh

oops, sluggr -> petterb

a47a604a8bd3897c793e22c119150d085a7d2243 1372054 12-Aug-2012 humbedooh

core: Be less strict when checking whether Content-Type is set to "application/x-www-form-urlencoded" when parsing POST data, or we risk losing data with an appended charset. PR 53698 Reported by: Petter Berntsen < sluggr gmail.com >

1d10527df5dcab91f7e3e219045a0298a1cb8850 1371801 10-Aug-2012 trawick

Windows: Fix SSL failures on windows with AcceptFilter https none. The now-stray apr_socket_opt_set(APR_SO_NONBLOCK=On) call was originally added with r327872. The call was harmless on Unix due to APR's use of non-blocking sockets when implementing timeouts on that platform, but harmful on Windows since it collided with APR's different implementation of timeouts on that platform. PR: 52476

1b33eabd32268ba46d14e9234367c094dbe44a15 1371791 10-Aug-2012 trawick

ab: Fix read failure when targeting SSL server.

f474c7d8026377782a5cf4d95af6a3443759c0b0 1371684 10-Aug-2012 trawick

make LDAPSharedCacheFile relative to DefaultRuntimeDir

1124a56faf0228410656abbe08451d7330d906e8 1371387 09-Aug-2012 trawick

mod_auth_digest now respects DefaultRuntimeDir

f1e320d452724317ec41913ee3c6bcf4160035bc 1371210 09-Aug-2012 jim

In 2.4.x as of revision 1371208

74e7a30182af5e68f14ccb8d57918b22b982db8b 1370377 07-Aug-2012 humbedooh

mod_lua: Decline to serve a request if the script doesn't exist, instead of throwing an internal server error.

0fdcfd7a51bf3028b0be879c43c009c16c6d3f58 1370288 07-Aug-2012 trawick

Mutex directive: finish support of DefaultRuntimeDir a partial conversion was made in r1299718, but I'm not sure when that change is effective

92332196b20253794e26ad9c51359d922eaf77d3 1370225 07-Aug-2012 trawick

mod_socache_shmcb and mod_socache_dbm: finish support of DefaultRuntimeDir a partial conversion was made in r1299718, affecting cases where no filename was specified

10961a2f60207cb873d889bb28b1f0ef707a4311 1370158 07-Aug-2012 humbedooh

mod_lua: Add r:flush, r:sendfile as well as additional request information in the request_rec structure

0d6de5fa49b60dc0bf81ea06afd079fa6c81df36 1370001 06-Aug-2012 sf

Add changes entry for r1369995, r1369999

1ec73fc12d4912ea9f4841c301458454589b32d9 1369808 06-Aug-2012 trawick

The Pidfile directive and ap_log_pid()/ap_remove_pid()/ap_read_pid() now respect DefaultRuntimeDir

0448378b899e8df0c060360f17c0af692adf17bc 1369657 05-Aug-2012 humbedooh

Document changes to mod_lua (yes, I'm always late with these :( )

55f964790f912f689867b385bd4ba164ab48c5cb 1369618 05-Aug-2012 sf

htpasswd: Use correct file mode for checking if file is writable. Also switch to the non-deprecated APR_FOPEN_* flags PR: 45923

e8a57321ec96e4ad8720353c6034a757463fe29b 1369587 05-Aug-2012 rjung

Remove another finished backport form trunk STATUS.

eb5c755365faf2c42759cdfbcc095210fdbdd7a1 1369499 05-Aug-2012 rjung

Remove another round of backports from trunk CHANGES.

8232302b6fc415a7ef743b65754f7d4240a5a95a 1369477 04-Aug-2012 trawick

core: Respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR for the scoreboard (ScoreBoardFile).

4d078c152214c0c3f871fcb461ab51722c371839 1369474 04-Aug-2012 rjung

Remove backported items from trunk CHANGES.

b7124dcc206a6f4ea3cfe18327dd5fceea4d91df 1368469 02-Aug-2012 jim

Merged in 2.4.x

c70aa94a11a4d35109bef9899af4c071531263f0 1368461 02-Aug-2012 jim

Also in 2.4.x

8b4c03141197dc6aa1268f05154782859a95a8f6 1368459 02-Aug-2012 jim

This is in 2.4.x

60a765cccbd3f3b5997b65b0034220c79f78369e 1368121 01-Aug-2012 trawick

core: Add post_perdir_config hook. Submitted by: Steinar Gunderson <sgunderson bigfoot.com> trawick added/fixed include/ pieces

e7ca863b04ee2a7aea7738cadbf51ce5e6c5245d 1367735 31-Jul-2012 humbedooh

Update CHANGES

91814c869ca39ce45dfe147307d2a831cac6ecbe 1367043 30-Jul-2012 humbedooh

Forgot to sign it

91654e263480f0fdc2a03d782ff23f8dad07cf79 1367042 30-Jul-2012 humbedooh

Add LuaCodeCache to CHANGES.

f3e6a806627268af432188250a8fc4765cff9cf1 1366655 28-Jul-2012 humbedooh

Add a note about LUA_COMPAT_ALL.

ecd29be3e73a1fc5c79d90d2c972520c381f534d 1366344 27-Jul-2012 trawick

mod_proxy_balancer: Restore balancing after a failed worker has recovered when using lbmethod_bybusyness. PR: 48735 Markus Stoll and Adam C both submitted patches against 2.2.x to bug 48735. Compared with those two, this solution 1. resets the busy field in the error-ed worker at the end of the request instead of at recovery time 2. leaves the lbstatus field alone 3. covers all possible scenarios where the busy field in the error-ed worker needs to be adjusted, since a cleanup to perform the decrement is registered at the point of the increment

788585e931fd03d0834301879cbf7c8fcb664a8e 1365778 25-Jul-2012 rjung

Remove backported item from CHANGES.

207ef21043a2e8c9fd9559ae1188ed4a72f2799d 1365623 25-Jul-2012 jorton

Remove backported fix.

6d38bda19b26be1a2a2c95567e9529aede5d2a2f 1365543 25-Jul-2012 jim

These be in 2.4.x now

0f4d9f90984a33b373bc7c4fb5d72f4812f2b8cf 1365479 25-Jul-2012 jorton

* modules/proxy/proxy_util.c (ap_proxy_location_reverse_map): Fix to skip balancer:// prefix where applicable. Reviewed by: rjung, rpluem PR: 45434 (regressed since 2.2)

a5a16c0e1cfa8dfe987ab3f424dbb0d1746c0c6b 1365020 24-Jul-2012 jorton

* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Fix memory leak/thread-unsafe use of pconf. Submitted by: rpluem, jorton

0a2ffeeacfb176685706f47c2fdeade6d92ed9f1 1365004 24-Jul-2012 trawick

sync with 2.4.x/CHANGES (r1365003)

174b19659bdfe1b63e7154ef1af796612985c7db 1365001 24-Jul-2012 jorton

Fix handling of ProxyBlock if a forward proxy is configured, and fix mod_proxy_connect to avoid an inappropriate DNS lookup: * modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Take hostname argument, make address argument optional. Check names against hostname arg, omit if addr not given. (ap_proxy_determine_connection): Adjust for the above; pass hostname from URI not the next hop. * modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Adjust for ap_proxy_checkproxyblock change. * modules/proxy/mod_proxy_connect.c (proxy_connect_handler): Adjust similarly, and avoid the DNS lookup on the request-URI hostname if a proxy is used. * include/ap_mmn.h: Bump MMN. PR: 43697

9b778cf6122bc2ecd5704aaec99ee22f95764e62 1364695 23-Jul-2012 trawick

mod_lbmethod_heartbeat, mod_heartmonitor: Respect DefaultRuntimeDir/ DEFAULT_REL_RUNTIMEDIR for the heartbeat storage file.

b10bbf539cf2285fef24df01757891b6307ee56d 1364619 23-Jul-2012 trawick

sync with 2.4.x/CHANGES

9f76c416abd64f9afb90b4d3537cca27f0531ece 1364273 22-Jul-2012 rjung

Remove backported items from trunk CHANGES.

96ab79ad51a5ceefdb700dd968eb24f20fe5f5ac 1364262 22-Jul-2012 rjung

Remove items from trunk CHANGES that have been ported back to 2.4.

65a32053cbb747cf0314ac3f655da8c7386b229e 1363557 19-Jul-2012 trawick

mpm_event, mpm_worker: Remain active amidst prevalent child process resource shortages. This is a somewhat different direction than r168182 ("transient thread creation errors shouldn't take down the whole server"). r168182: If APEXIT_CHILDSICK is received and there aren't any active children at the time, exit. Now: If APEXIT_CHILDSICK is received and we never successfully initialized a child, exit. The issue seen with the r168182 handling is that it is rather easy to be left with no active child processes (which causes the server to exit completely) during a resource shortage that lasts for some measurable period of time, as contrasted with a resource shortage that results in only a handful of allocation failures. Now the server will remain active, though as long as the resource shortage exists children may continually fail and the parent will try once per second to create a replacement. The existing logic to reduce the spawn rate after such errors will prevent the parent from trying to create children more rapidly.

383f563d00eccc1bf3f5283b346d8a232b81a265 1363440 19-Jul-2012 trawick

mpm_event, mpm_worker: Fix cases where the spawn rate wasn't reduced after child process resource shortages. The broken scenario: child X exits with APEXIT_CHILDSICK another child Y is created and reuses child X's scoreboard slot child X's exit status is processed The case that worked is when child X's scoreboard slot hadn't been reused by the time that its exit status was processed.

070ebd944a7a067b05310fb47261c416cda9c95c 1363183 19-Jul-2012 trawick

fix child exit status in prefork after certain errors in the child so that the parent resets the spawn rate to the minimum or: mpm_prefork: Reduce spawn rate after a child process exits due to unexpected poll or accept failure.

3bfb70ee0cbb60072d4ccbee03b6a2e247da6bf2 1362538 17-Jul-2012 chrisd

Log the value of Status header lines in script responses rather than than just the fixed header name of "Status".

850ba9505c2d10d3e26c648caa968a1d41c57395 1361778 15-Jul-2012 sf

Don't count connections in lingering close state when calculating how many additional connections may be accepted

aab4f2fecf2ad67c8cb414917d5254e3174642e9 1359057 09-Jul-2012 sf

Make mod_deflate skip compression if compression is enabled at SSL level.

ab325096160c02657a1d0d65d6f77bad0f2df643 1357685 05-Jul-2012 jorton

* modules/filters/mod_ext_filter.c (ef_unified_filter): Set hit_eos flag on hitting EOS. (ef_input_filter): Give back EOS if filter is invoked after hitting EOS, rather than attempting (and failing) to read from the closed pipe to the child.

1913ea2ef7c43c74809d2f1e9bb6b24a020a15e9 1357274 04-Jul-2012 covener

zap recent backports

72709d60c290ddc1f60fe2c78ab67b7954e9230d 1356115 02-Jul-2012 jorton

* modules/mappers/mod_rewrite.c (cmd_rewriteoptions, hook_uri2file): Add "AllowAnyURI" flag which disables the strict URL-path input string check introduced to fix CVE-2011-3368/CVE-2011-4317. * docs/manual: Update docs. Inspired by: covener

12b987b969f03ef98d9175a53d849ab62f5684fe 1355831 01-Jul-2012 covener

bump CVE to the top of CHANGES

0ad39f9cb23f1633ac0b58cf32da3acc16e1ae50 1352596 21-Jun-2012 ben

RFC 5878 support.

ef056d09d39412b9f7d9b71f48ff3d00222833f6 1352047 20-Jun-2012 humbedooh

Add the missing parsebody function to mod_lua, for parsing POST data. PR 53064.

4c21a9f062e187b87c9cec726023f0fc086008f2 1351072 17-Jun-2012 sf

If an expression in "Require expr" returns denied and references %{REMOTE_USER}, trigger authentication and retry PR: 52892

e20c6ecbd465cd7dabb44acea6afafc7925f3a03 1351020 17-Jun-2012 sf

Add new directive LuaAuthzProvider to allow implementing an authorization provider in lua

f5b3f41700a107b9df2b3c5a1cc3e5ea775fd8fe 1351014 17-Jun-2012 sf

mod_lua: Add a few missing request_rec fields. Rename remote_ip to client_ip to match conn_rec

ec7851f543720a66e94295707116b4bc91961030 1351012 17-Jun-2012 sf

Change prototype of vm_construct, to work around gcc bug which causes a segfault. PR: 52779 Submitted by: Dick Snippe <Dick Snippe tech omroep nl>

7025945569c7fbb49f2e64e0d26f861d22a54675 1349905 13-Jun-2012 jorton

SECURITY: CVE-2012-2687 (cve.mitre.org): mod_negotiation: Escape filenames in variant list to prevent an possible XSS for a site where untrusted users can upload files to a location with MultiViews enabled. * modules/mappers/mod_negotiation.c (make_variant_list): Escape filenames in variant list. Submitted by: Niels Heinen <heinenn google.com>

304257c2b0d71c1e4cf3c5c819bb6b60e7c82d51 1348660 10-Jun-2012 sf

Pass the server_rec to ssl_die() and use it to log a message to the main error log, pointing to the appropriate virtual host error log

1ceda976466ace285ce118329c4a06c81f0e1774 1348170 08-Jun-2012 sf

Remove some backported or reverted items

a9383516f09ba627694a14d533f55628426f5418 1348036 08-Jun-2012 jorton

* include/util_ldap.h: Treat LDAP_UNAVAILABLE as a transient error with non-MS LDAP SDKs; seen with OpenLDAP against Novell eDirectory. Submitted by: Filip Valder <filip.valder vsb.cz> (via RH bugzilla)

099c357f282d4aebf2b32264f7dce6ffc0497c37 1347980 08-Jun-2012 sf

Add support for TLS-SRP (Secure Remote Password key exchange for TLS, RFC 5054). PR: 51075 Submitted by: Quinn Slack <sqs cs stanford edu>, Christophe Renou, Peter Sylvester

7e51e049b88b11a1f0d9203f3b70b0a5de06f56e 1346905 06-Jun-2012 jorton

* support/htpasswd.c (mkrecord): Handle crypt() failure. * support/htdbm.c (htdbm_make): Handle crypt() failure. Submitted by: Paul Wouters <pwouters redhat.com>, jorton

d9b079a6dd66d36313be56f859c8c61153146527 1345319 01-Jun-2012 sf

Add new directive SSLCompression to disable SSL-level compression. PR: 53219 Submitted by: Björn Jacke <bjoern j3e de>, Stefan Fritsch

536e48c08d674acac5d44929318f2ad928edc361 1344720 31-May-2012 jorton

Tweak wording.

4bb0a88a01fb7b494bb02a8b881b5eab0308bda6 1343931 29-May-2012 sf

add PR reference

50f8c80eb4d3989ebf3f1341aeef4d2d302af162 1343109 27-May-2012 sf

Make ap_regcomp() return AP_REG_ESPACE if out of memory. Make ap_pregcomp() abort if out of memory. This raises the minimum PCRE requirement to version 6.0, released in 2005.

295ba2e25e562ee52c7bf96808cf9d486ebfb325 1343094 27-May-2012 sf

Make apxs use LDFLAGS from config_vars.mk in addition to CFLAGS and CPPFLAGS

3104923cb51cf5826c97368d1f0d5202c352cd4f 1343087 27-May-2012 sf

Fix MaxConnectionsPerChild This was broken when the handling of lingering close was moved into the listener thread. - Make the connection counting thread safe. - Do the counting in the connection pool cleanup to ensure that it gets also executed if the listener thread closes the connection. - Add a trace log message when a process is recycled.

7b395e4e878c28a4784919cfd2e704ddd14a3390 1342065 23-May-2012 jorton

suexec: Support use of setgid/setuid capability bits on Linux, a weaker set of privileges than the full setuid/setgid root binary. * configure.in: Add --enable-suexec-capabilites flag. * Makefile.in: If configured, use setcap instead of chmod 7555 on installed suexec binary. * modules/arch/unix/mod_unixd.c (unixd_pre_config): Drop test for setuid bit if capability bits are used. * docs/manual/: Add docs.

e81785da447b469da66f218b3f0244aab507958d 1341905 23-May-2012 jorton

suexec: Add support for logging to syslog as an alternative to a logfile. * support/suexec.c (err_output) [AP_LOG_SYSLOG]: Log to syslog. (main): Close syslog fd if open, before execv. Add -V output for AP_LOG_SYSLOG. * configure.in: Add --with-suexec-syslog argument; allow --without-suexec-logfile to omit definition of AP_LOG_EXEC.

424b4e796cde9df955948c354cb4df6080a92d4e 1334343 05-May-2012 sf

Use short lived pool to avoid memory leaks Remove the comment about binding upstream and downstream connections. It seems to be obsolete since r104604, r104605, r105108. Also avoid allocating memory if we are not handling the connection. PR: 52275 Submitted by: Naohiro Ooiwa <naohiro ooiwa miraclelinux com>, Stefan Fritsch

5cc1d035c9293c4d64b2344b5eac35edd1bd4537 1333969 04-May-2012 rpluem

* Use the the same hostname for SNI as for the HTTP request when forwarding to SSL backends. PR: 53134 Based on a patch from: Michael Weiser <michael weiser.dinsnail.net> Reviewed by: rpluem

3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8 1332643 01-May-2012 jorton

Add support for TLS Next Protocol Negotiation: * modules/ssl/mod_ssl.c, modules/ssl/mod_ssl.h: Add and implement new hooks for next protocol advertisement/discovery. * modules/ssl/ssl_engine_init.c (ssl_init_ctx_callbacks): Enable NPN advertisement callback in handshake. * modules/ssl/ssl_engine_io.c (ssl_io_filter_input): Invoke next-protocol discovery hook. * modules/ssl/ssl_engine_kernel.c (ssl_callback_AdvertiseNextProtos): New callback. * modules/ssl/ssl_private.h: Add prototype. Submitted by: Matthew Steele <mdsteele google.com> with slight tweaks by jorton

00f53c09b10014571b639d5e9df993fb188220a6 1332378 30-Apr-2012 sf

If a filename without slashes is specified for LoadFile or LoadModule and the file cannot be found in the server root directory, try to use the standard dlopen() search path.

976f49eaf81ffe917272e4f1834115dec06962b0 1331243 27-Apr-2012 sf

add PR reference

459eaf0826f995b73a0dc066f59ea10d2824e72d 1331110 26-Apr-2012 sf

Replace use of apr_file_write() with apr_file_write_full() to prevent incomplete writes. Add comments in some places where error handling/logging is missing. PR: 53131. Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch

6d6cd31bddca0b7d9cf9d18e46cd2361530e24f3 1328950 22-Apr-2012 sf

Fix segfault in logging if r->useragent_addr or c->client_addr is unset

53e9b27aba029b18be814df40bcf6f0428771d1e 1328720 21-Apr-2012 fuankg

Added entry for cross-compile fix.

fe2e0971201136f2dbc6b000ad5c006a1a6ff672 1328326 20-Apr-2012 sf

Remove the link in the speaking-http-on-https error message. With SNI, the link will usually be wrong. So better send no link at all. PR: 50823

347074f011eae59e518ddf8d8474d35e029a2056 1328325 20-Apr-2012 sf

When receiving http on https, send the error response with http 1.0 It is important that we send a proper error status, or search engines may index the error message. PR: 50823

21da42a6b8f551ef603bd06356d3bf71d6d0c21d 1311183 09-Apr-2012 sf

Fix parsing of Require arguments in <AuthzProviderAlias>. Add some logging and an assert for a case that should not happen. PR: 53048

2876a591f17b0c6ed0cf28da929643965e67c953 1311174 09-Apr-2012 sf

Fix error handling in ap_scan_script_header_err_brigade() if there is no EOS bucket in the brigade: Also don't loop if there is a timeout when discarding the script output. Thanks to Edgar Frank for the analysis. PR: 48272 (partial fix)

38eb64d29a17648e108852de42f23335aecaa8f8 1311172 09-Apr-2012 sf

If there is an error reading the headers from the backend, send an error to the client

5a1f28ac93914b4bae892c69ac4b3e670bc10da8 1309602 04-Apr-2012 nd

mod_rewrite: Fix RewriteCond integer checks to be parsed correctly. PR: 53023 Submitted by: Axel Reinhold <apache freakout.de> Reviewed/Updated by: nd

0361488d59792d052a9f8024c0e5a1ef909252e6 1306409 28-Mar-2012 rpluem

* Add the forcerecovery balancer parameter that determines if recovery for balancer workers without considering the retry value of workers is enforced. There might be cases where an already overloaded backend can get into deeper trouble if the recovery of all workers is enforced without considering the retry parameter of each worker

b9724f15d0a2c96ded28205901b3fb7bc2377edf 1305179 26-Mar-2012 covener

remove backported entries

263714da2dc799b05f0a71a76b27dae99de415c3 1305015 25-Mar-2012 covener

backported

292577a654beac297677cde8788ae46937d2b96e 1304875 24-Mar-2012 sf

CHANGES entry for r1304874

de87cb5c6a57f87b6aafa548129362755b3bed6b 1304852 24-Mar-2012 sf

Fix merging of AllowOverrideList and ContentDigest. Remove some useless code. Pointed out by covener

2ba1586475aa4ec972ca7c19b06d53bf76f0ee7e 1303201 21-Mar-2012 fuankg

Revert r1294936 (Jeff's revert) and fix NetWare / Win32 build. Added the missing AP_DECLARE* decorations for the function implementations and variables.

a24ca02573b1e60c18f82c42f31b578994875966 1302665 19-Mar-2012 sf

Disallow directives in AllowOverrideList which are only allowed in VirtualHost or server context. These are usually not prepared to be called in .htaccess files.

9843553e237d98e4e3064615aa368a3344df1848 1302653 19-Mar-2012 sf

In AllowOverrideList, do not allow 'None' together with other directives. While there, improve log messages and save some memory by allocating correct size for table. PR 52823

6135cc8178d75a52828ad225b1d568cd1e97799e 1302444 19-Mar-2012 rpluem

* Correctly save the reverse proxy worker in all virtual host proxy configs. PR: 52935 Obtained from: Petter Berntsen <petterb gmail.com>

44761f3e3072cf78a4997a88bb9a515ca101a1f4 1301504 16-Mar-2012 covener

add filesystem paths to some common error messages. (slightly modified from dev@ post to not bury the "failed/denied")

6ccd45349d79bd7ff6f3d015d5c4738686ab1bab 1301488 16-Mar-2012 covener

remove backported items

06c00b916f98db485ab8f386ae0417e8b08a93e9 1301277 16-Mar-2012 trawick

revert r1294936, which fixed MPM DSO load failures on AIX it breaks the Netware build and was also missing the AP_DECLARE* decorations for the function implementations and variables

b158fcda2fabac5e85b75e51cadc918d3eb4a218 1297958 07-Mar-2012 covener

PR52845: "DirectoryIndex disabled" should blow away the DirectoryIndex settings in the current config section, not just override previous config sections.

fe67b1c1fb2c5cb8905564eaa5650d4986ebac65 1296428 02-Mar-2012 sf

Fix insecure handling of LD_LIBRARY_PATH that could lead to the current working directory to be searched for DSOs CVE-2012-0883

df73d96e0c430f6cbf9df8efad49c49a4651bc57 1294936 29-Feb-2012 trawick

Fix MPM DSO load failure on AIX. Without the proper AP_DECLARE*, these functions used by MPMs were not exported from httpd on AIX, resulting in symbol resolution errors.

c7502880be24058c7fc03771fda61f95bc238339 1294358 27-Feb-2012 sf

Add the port number to the vhost's name in the scoreboard

ca61ccd0c306c2c72df153688ba1b49f3eceed80 1294356 27-Feb-2012 sf

Take care not to call ap_start_lingering_close from the listener thread, because it may block when flushing data to the client. From the listener thread, do a lingering close without flushing. This is OK because we only do this if there has been an error during write completion or if our send buffers are empty because we are in keep-alive. PR: 52229

6bb524f1895f30265a1431afc460977d391cb36b 1293408 24-Feb-2012 sf

In maintainer mode, replace apr_palloc with a version that initializes the allocated memory with non-zero values, except if AP_DEBUG_NO_ALLOC_POISON is defined.

8233250a7f6c06225752db92bf32117bd9648c1d 1243651 13-Feb-2012 sf

Check during config test that directories for access logs exist PR 29941

dc585e0df783dd91b8121ea1cfa743cea2ac12fd 1239872 02-Feb-2012 covener

revert "overloaded" recent additions to mod_rewrite

5c27bf5ec8bc69e0f25cae12c9fd580b16170d44 1239681 02-Feb-2012 covener

add an internal sleep map function that expands to an empty string.

59c253e306db0e31da377c5ab5a74f8d6281171e 1239679 02-Feb-2012 covener

treat a rewriterule substitution that expands to "-" as if the rule had a literal "-".

ec7520b24cd80d34d82bbcaca153cbb23cc04bc0 1238979 01-Feb-2012 rjung

Add a few placeholders to CHANGES for items which are currrently trunk only.

f1ff6d2f588a86930138f81d9e829c640f86eb0e 1238810 31-Jan-2012 rjung

Remove changes from trunk CHANGES that have already been backported to 2.4.x.

b40bfdb714672f972887f9f1f1e154e00125bb68 1231255 13-Jan-2012 covener

*) mod_authnz_ldap: Don't try a potentially expensive nested groups search before exhausting all AuthLDAPGroupAttribute checks on the current group. PR52464

acb0dcdb18c2593d9f5c01cb424b1dba2d372552 1229021 09-Jan-2012 niq

Core configuration: add AllowOverride option to treat syntax errors in .htaccess as non-fatal. PR 52439

e6dd71992459d05a676b98b7963423dc5dc1e24a 1221668 21-Dec-2011 minfrin

mod_policy: Add a new testing module to help server administrators enforce a configurable level of protocol compliance on their servers and application servers behind theirs.

23f1535d6a60817d2846bac0aea230ea475d7dcc 1215525 17-Dec-2011 minfrin

mod_firehose: Add a new debugging module able to record traffic passing through the server in such a way that connections and/or requests be reconstructed and replayed.

37a603727bdfb2a7d32b4283fcc3e524158b54b5 1205849 24-Nov-2011 jim

document userland change

f91e8c44b15a74bedaa027128a695950807e2968 1204614 21-Nov-2011 sf

Pass ap_errorlog_info to error_log hook.

6249dfa569d3b4f1f539665b979a80c6e335d93e 1203636 18-Nov-2011 trawick

no 2.5 alphas yet, so drop the entries for changes also in 2.4.x branch

f7e064c851d8258e74a9530738e985b3e0a29e18 1203634 18-Nov-2011 trawick

add conn_rec to error log hook

0827cb14e550f6f65018431c22c2c913631c8f25 1203491 18-Nov-2011 kbrand

drop SSLv2 support (set SSL_OP_NO_SSLv2 for any new SSL_CTX)

80833bb9a1bf25dcf19e814438a4b311d2e1f4cf 1202296 15-Nov-2011 fuankg

We're now on 2.5.0 ...

ae600ca541efc686b34f8b1f21bd3d0741d37674 1201443 13-Nov-2011 covener

add per-dir config merging to mod_lua so LuaHook* in multiple per-dir sections behaves as expected instead of discarding previous sections.

fa0c562f0ab33ed019baf3c1dcd37ae72af6b29d 1201331 12-Nov-2011 minfrin

mod_cache: Make sure we merge headers correctly when we handle a non cacheable conditional response. PR52120.

021d92af060084e767f197b33c86e12eadaae4c2 1201158 12-Nov-2011 sf

Set MaxMemFree 2048 by default

f573edb315d96e752cf7da3f08b7a95367d0d702 1201146 12-Nov-2011 sf

Fix assertion failure during very high load by preventing race condition between appending to the timeout queues and adding to the pollset. We don't add additional locking calls but only extend the present calls to include the apr_pollset_add. Therefore this hopefully should not cause too much performance regression. Add some comments Replace two AP_DEBUG_ASSERTS with better error handling

521fc51bdadd21ae8cc2f4a8b354c5fe424a037c 1200491 10-Nov-2011 sf

Only load the really imporant modules (i.e. those enabled by the 'few' selection) by default. Don't handle modules enabled with --enable-foo specially. This fixes problems with module dependencies until someone implements a mechanism for resolving module dependencies.

d354c2983fc611d55dcf5d160d14c796d5143d35 1200449 10-Nov-2011 trawick

end-generation hook: Fix false notification of end-of-generation for temporary intervals with no active MPM children.

df8ef9cef9dbbf5217ee38751f4bab63e14588d6 1200040 10-Nov-2011 pquerna

Add support for RFC 5077 TLS Session tickets. This adds two new directives: * SSLTicketKeyFile: To store the private information for the encryption of the ticket. * SSLTicketKeyDefault To set the default, otherwise the first listed token is used. This enables key rotation across servers.

d6d4b562733b802104c7c09a2f68b0d7a77946bd 1199987 09-Nov-2011 sf

Use random value instead of remote IP address in cookie value. This has the advantage that we don't leak internal IP addresses in reverse proxy setups. Also, use hex to make the cookie shorter.

6736c640e65e06990ef33af71ee81fac4df4ff5f 1199519 09-Nov-2011 jim

And we are at 2.3.16-dev

fb333f30ae01a1f14b2afaa8a92c99192abf883e 1199467 08-Nov-2011 rjung

Load all modules in the generated default configuration when using --enable-load-all-modules with configure.

69a4ff202d78f0a69cd87cb0edc9964b2db4946c 1199447 08-Nov-2011 sf

mod_reqtimeout: Change the default to set some reasonable timeout values if loaded

fec106c7688e279dfde4403bc3c935fec97c1d62 1199086 08-Nov-2011 sf

Change default FileETag to be "size mtime", i.e. remove the inode. Adjust the etag generation in mod_dav_fs to the new default. PR 49623.

4872f2c13be21115687dedcdf2515980fde93b70 1199056 08-Nov-2011 covener

mod_lua: Expose SSL variables via r:ssl_var_lookup()

be918ac21416c363014aca09383937579ca01db5 1199031 08-Nov-2011 covener

allow some lua hooks to be run in "early" or "late" mode

0a2212da6843659e65c378c5201e6612be625731 1199027 08-Nov-2011 sf

By default, only load those modules that are either required or explicitly selected by a configure --enable-foo argument. The LoadModule statements for modules enabled by --enable-mods-shared=most and friends will be commented out.

c60018e9cf43220afed53c8f50f42e71cec7e70e 1198940 07-Nov-2011 sf

Fix integer overflow in ap_pregsub. This can be triggered e.g. with mod_setenvif via a malicious .htaccess CVE-2011-3607 http://www.halfdog.net/Security/2011/ApacheModSetEnvIfIntegerOverflow/

e64afc186db4cf314ee2b1c81391f22f7e28427d 1198904 07-Nov-2011 trawick

s/IP6/IPv6/

789f46cb4d4c3e32f6550f17f74ea4a054095901 1197853 05-Nov-2011 covener

quick handlers and translate_name in lua can't be keyed off Directory/Filename/htaccess

539c658848512631bb4db3529e84b6d45401b925 1197782 04-Nov-2011 covener

get the hello world of Handlers working again

c07f5b18040b0d39b077666ad6fbbd28fe0eb5f1 1197413 04-Nov-2011 sf

Unify syntax of config directives taking an expression as optional contition argument

94bc56b747dda8afb8806d04e08164ea99e4c21d 1197405 04-Nov-2011 sf

To prevent overboarding memory usage, limit line length to 1MB

5fcf1d4211ba64b1e9c7647fcc615a9e850c6c88 1194997 29-Oct-2011 covener

make r.args read/write for rewrite refugees.

81cc440ca73845f44dc589db106d3feb7a36f33b 1194870 29-Oct-2011 minfrin

mod_include: Add support for application/x-www-form-urlencoded encoding and decoding.

caa47b19a81edcfc44b79583a0e386e326cf6492 1189553 27-Oct-2011 niq

Add new modules to CHANGES

65dec0561786621bd67f57e8054dcf80923b6cb1 1189220 26-Oct-2011 jorton

* support/rotatelogs.c (usage, main): Add support for -c option. Submitted by: Jan Kaluža <jkaluza redhat.com>

cda2a8c4fe289419f62e8b9607cafe4812974840 1188950 26-Oct-2011 sf

Limit ap_pregsub() to 64K, add ap_pregsub_ex() for longer strings and with better error reporting. Modify ap_varbuf_regsub() to be similar to ap_pregsub_ex().

3bb96836b77f718d914dbcdbe3d9bf3ca22859a5 1188900 25-Oct-2011 minfrin

mod_session_crypto: Refactor to support the new apr_crypto API.

79821ac529d05349274b7ed2421077afffbc0c08 1187985 24-Oct-2011 sf

Fix 3xx responses with local URLs as ErrorDocument

6e3c52ed5ba88bb05d3535c6257a61faeec22388 1187880 23-Oct-2011 minfrin

mod_buffer: Make sure we step down for subrequests, but not for internal redirects triggered by mod_rewrite.

aa8ce00557e35b6042be4afa1684b2322def4520 1187743 22-Oct-2011 covener

expose ap_construct_url to lua scripts

b80324fbe463460d1c847b88ffe2132f92ce5587 1185828 18-Oct-2011 sf

Fix configuration of internal proxies PR: 49272 Submitted by: Jim Riggs <jim riggs me>

5fb413c5191ff4ca01e1f6a9ad09ea8bbb2759a7 1181140 10-Oct-2011 wrowe

Resolve server and remote IP's in the AcceptFilter 'none' path. Lower the volume on a number of debug messages (and omit errno where we have no errno).

dbcebab5451c15100d22ef5a1cd0c80237e33a93 1180828 10-Oct-2011 sf

Remove OID match which was never in a GA releas and is obsoleted by SetEnvIfExpr with PeerExtList()

e9356fde2e4fff8dab7eb6006ed1c476973796c5 1180742 10-Oct-2011 sf

If a child is created just before graceful restart and then exits because of a missing lock file, don't shutdown the whole server. PR: 39311 Submitted by: Shawn Michael <smichael rightnow com>

aaea51ff28093213376b9b8f63de07db53436223 1180737 10-Oct-2011 sf

Check the return value from ap_run_create_connection in mpm_event. Add a todo in mpm_simple PR: 41194 Submitted by: Davi Arnaut

276fc07643ddb8c178a35b79ae4fe27596f37739 1180725 09-Oct-2011 sf

mod_mime_magic: Add signatures for PNG and SWF to the example config. PR: 48352 Submitted by: Jeremy Wagner-Kaiser <jwagner-kaiser adknowledge com>

79acb56fc63b66848d0f6f35fc272a938b819f8d 1180699 09-Oct-2011 trawick

s/perl/Perl/

67746e0d18eeceb247fc940148c9b4d358929643 1180681 09-Oct-2011 sf

Add -D DUMP_RUN_CFG option to dump some configuration items from the parsed (or default) config. This is useful for init scripts that need to setup temporary directories and permissions, for example if those temporary directories are located on a ram disk.

5b0a925d0d2cfe3defeb45cd0d29126ef3603bb4 1180384 08-Oct-2011 niq

mod_authn_socache: fix it to enable initialisation to work if configured only in .htaccess context, and provide a toggle for that. PR 51991

17aeaeb2e4c4cde18ebc5231d959197e3e35e821 1180328 08-Oct-2011 sf

Downgrade error log messages which accompany a 404 request status from loglevel error to info. List thread at http://mail-archives.apache.org/mod_mbox/httpd-dev/201110.mbox/%3Calpine.DEB.2.00.1110041948280.664@eru.sfritsch.de%3E PR: 35768

675e4332325dd31c8188c23608828f69d30e9906 1180325 08-Oct-2011 sf

Sort hooks twice, once before pre_config, once after ap_process_config_tree. This fixes a regression with perl modules introduced by r1032002 PR: 45076 Submitted by: Torsten Foertsch <torsten foertsch gmx net>

fa8e640eeec5c0b3db42e13f1df0bafd0d89d56f 1178566 03-Oct-2011 sf

Enforce LimitRequestFieldSize after multiple headers with the same name have been merged.

9fb3d1792a78003c60a8f0fdbef30a372b39452e 1178079 01-Oct-2011 sf

If MaxMemFree is set, set SSL_MODE_RELEASE_BUFFERS in mod_ssl. Always set SSL_MODE_RELEASE_BUFFERS in ab. PR: 51618 Submitted by: Cristian Rodríguez <crrodriguez opensuse org>, Stefan Fritsch

2c238b83c08ac2d040d9057b1ba83ba7f71138b7 1176752 28-Sep-2011 kbrand

In ssl_check_public_cert(), also take dNSNames in the subjectAltName extension into account when checking the cert against the configured ServerName. PR 32652, PR 47051. Replace SSL_X509_getCN() by SSL_X509_getIDs(), which returns an array of a cert's DNS-IDs and CN-IDs (terms as coined by RFC 6125).

067fc2710958d8d2a276cd8e54284a178d232a8b 1176019 26-Sep-2011 sf

Make mod_substitute more efficient: - Use varbuf resizable buffer instead of constantly allocating pool memory and copying data around. This changes the memory requirement from quadratic in ((number of substitutions in line) * (length of line)) to linear in (length of line). - Instead of copying buckets just to append a \0, use new ap_regexec_len() function PR: 50559

40a9ce7a0e17b10b08693f98ed4f64e456ef69a1 1175416 25-Sep-2011 kbrand

enable the SNI extension for proxy connections to TLS backends (but avoid for pure SSLv2/SSLv3)

3a59bb90be3bc6246632384c3d885b875ae507d5 1172686 19-Sep-2011 sf

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.

c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3 1172019 17-Sep-2011 covener

PR51371: cross-compile issues with cgi and apr_procattr_limit_*.

f7407ba6bea5ed1151cfcefcfa774b531c26eecd 1172002 17-Sep-2011 rpluem

* Correctly obey ServerName / ServerAlias if the Host header from the request matches the VirtualHost address. PR: 51709 Submitted by: Micha Lenk <micha lenk.info> Reviewed by: rpluem

650d8321b62cccd1830684935bb5362b4c495b17 1171249 15-Sep-2011 sf

initialize counter with random number PR: 45110

7bf4eb9638a127fbfbc402d2c0e4ec0085934cf0 1171247 15-Sep-2011 sf

Create wrapper API for apr_random; use in mod_lbmethod_heartbeat and mod_serf to - replace some needles use of apr_generate_random_bytes - remove code duplication

f7acc4b00a8bf92fea10fce6ac09aa57eafec0ec 1169756 12-Sep-2011 jim

Add in MaxRangeOverlaps and MaxRangeReversals to accomodate more control over acceptable Range headers: See: http://trac.tools.ietf.org/wg/httpbis/trac/ticket/311

f743002678eb67b99bbc29fee116b65d9530fec0 1167156 09-Sep-2011 wrowe

Reflect user-visible behavior change

1f9c3dc1ba4b56b2c14f40db86f532114504b5cf 1167151 09-Sep-2011 wrowe

Non-releases don't have user-visible regressions; now a contributor to the fix

03944c8577b204701c849fce01f3fcb423a615f1 1166823 08-Sep-2011 covener

mod_ldap: Optional function uldap_ssl_supported(r) always returned false if called from a virtual host with mod_ldap directives in it. Did not affect mod_authnz_ldap's usage of mod_ldap. [Eric Covener]

f97e1288a50b3da1022b515d84bc57a5091f2fef 1166667 08-Sep-2011 covener

Set Accept-Rangs: none instead of unsetting the Accept-Range header when we have a filter that doesn't like byteranges.

7a975d0413ba303546b7619e4785cb641f7f09fd 1166282 07-Sep-2011 covener

take care of some MaxRanges feedback: * allow "none" to be expressed in config * send Accept-Ranges: none with MaxRanges none * stop accepting confusing/ambiguous "0", start accepting "unlimited".

2cd2891cea784de97020bcada4e834e224428d0c 1165779 06-Sep-2011 covener

bump SECURITY issue to top of in-development 2.3.15 section.

77504f17963a8dd941a921d9ddfa25ddb0f348d6 1165056 04-Sep-2011 kbrand

Revamp CRL checking for client and remote servers: - completely delegate CRL processing to OpenSSL - introduce a new [Proxy]CARevocationCheck directive - drop ssl_callback_SSLVerify_CRL from ssl_engine_kernel.c - remove X509_STORE from modssl_ctx_t - drop CRL store helper functions from ssl_util_ssl.c - avoid sending "certificate_expired" SSL alerts to peers when the nextUpdate field of a CRL is in the past

f06d5fd4cff0cd7953f92c20540059637abd439a 1163985 01-Sep-2011 rpluem

* Fix a regression in the CVE-2011-3192 byterange fix: Range: bytes=-1 Resulted in the first two bytes delivered, not in the last one. PR: 51748 Submitted by: low_priority <lowprio20 gmail.com> Reviewed by: rpluem

75c2b964ca7ebfb32ad08c68c9db3bca5ecced55 1162584 28-Aug-2011 covener

add MaxRanges directive institute a default limit of 200 (post-merge where applicable) Ranges before returning the complete resource. (minor mmn bump for core_dir_config addition)

5ab58649d9a4b3af01a4141920613fbf74ced7fd 1158022 15-Aug-2011 minfrin

mod_cache: Ensure that CacheDisable can correctly appear within a LocationMatch.

97f293b98fc6777e5baa836c30293f433f3c12e1 1157976 15-Aug-2011 minfrin

mod_cache: Fix the moving of the CACHE filter, which erroneously stood down if the original filter was not added by configuration.

0e6c63c34b6c118ec6c28ddadda5eefb2584bf7d 1157712 15-Aug-2011 kbrand

Improve ssl_log_cxerror(): Fix logic of APLOG_IS_LEVEL check. Use X509_NAME_print_ex() instead of deprecated X509_NAME_oneline(). Use i2a_ASN1_INTEGER for printing the serial number. Add notBefore and notAfter dates to log line. Check for null cert argument (addresses PR 47408).

fa0316cc0d5c0e80d275877df428fd8061c0a79d 1157354 13-Aug-2011 sf

Add ap_varbuf API for resizable buffers. Increase length limit of lines in the configuration file to 16MB. Increase length limit of lines in the group file to 16MB. PR: 45888, 50824, 43084 Windows and Netware build changes are untested.

97cd2f98ad4abe68aaaba96b5bfc9ebf7109a2c1 1157111 12-Aug-2011 covener

Accept LDAP_OPT_CONNECT_TIMEOUT as an alternative to LDAP_OPT_NETWORK_TIMEOUT. An alternative on at least some IBM client libraries: http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/topic/com.ibm.IBMDS.doc/progref281.htm#opttimeout

60d81cab99dccfbb0c8d378cf6aa7338be0fdb74 1156790 11-Aug-2011 covener

mod_ldap: remove hard-coded loops of 10 retries w/o delay with a configurable number of retries (LDAPRetries, default 3) and configurable delay between retries (LDAPRetryDelay, no delay by default). The LDAP connection is re-initted every other retry, instead of on the fifth retry -- this was a much more recent addition then the basic looping behavior.

22ce742224c6aeadcb31b381c203232f578fc507 1156007 10-Aug-2011 covener

remove (the only) retry logic in mod_authnz_ldap's authentication path because it's causing the ample retries in mod_ldap to be multiplied by this outter loop.

54e36aed6866e09e1a572dc84996e93cdb487b7b 1154875 08-Aug-2011 sf

Allow to explicitly disable modules even with module selection 'reallyall'

7fc2cdc3683b47fcf5f39a094eddefa7b22dbfc0 1154808 08-Aug-2011 covener

Prevent a crash if a non-existent internal RewriteMap is specified in a server context with RewiteEngine off, then later referenced. Submitted By: Ben Noordhuis Reviewed By: covener

292707b9868335763d6f2bb74a263134eeeb8cad 1154688 07-Aug-2011 kbrand

Enforce OpenSSL 0.9.7 as a minimum requirement in configure, and remove #ifdef'ed code which was relevant for earlier versions only.

070235bcb25af37efebf6405b082413144968289 1154687 07-Aug-2011 kbrand

Remove the ssl_toolkit_compat layer, which is no longer needed after support for non-OpenSSL toolkits has been dropped. Replace macros by their value proper where feasible, and keep those definitions in ssl_private.h which depend on specific OpenSSL versions.

4281cf6a722c99ae21394dc2000bd48efcebdb3a 1154683 07-Aug-2011 kbrand

Drop support for the RSA BSAFE SSL-C toolkit from configure, and remove #ifdef'ed code from mod_ssl and ab where applicable. Consensus for dropping support for SSL/TLS toolkits other than OpenSSL was reached on dev@httpd in June 2010 (message with ID <20100602162310.GA11156@redhat.com> and follow-ups).

c7715b8cd6f5b5f4a27b12d816c6f48c522715f5 1154620 07-Aug-2011 covener

PR29755: mod_usertrack gets skipped when modules return a status code from their fixup hook, and headers are also not sent on non-2xx responses. Submitted by: Sami J. Mäkinen Reviewed by: Eric Covener (modified to just run REALLY_FIRST)

df58c3a1c000d76859808ca4746a41623b432c81 1154342 05-Aug-2011 sf

mod_proxy_http, mod_proxy_connect: Add 'proxy-status' and 'proxy-source-port' request notes for logging PR: 30195

65f6e321663b3fd0f93d8b47b4df05f189de6cf1 1154114 05-Aug-2011 sf

Enable ldap modules in 'all' and 'most' selections if ldap is compiled into apr-util

bcb2c4ef861e8f8260284631b6753e1088643c8a 1153676 03-Aug-2011 sf

cleanups related to new AllowOverrideList functionality: - add new NOT_IN_HTACCESS flag for ap_check_cmd_context() - describe the need for this in new_api_2_4.xml - forbid Define and UnDefine in .htaccess

6defa5d20691765eb0b98daf5db4b1004353222e 1152943 01-Aug-2011 sf

Fix endless loop if first bucket is metadata PR: 51590 Submitted by: Torsten Foertsch <torsten foertsch gmx net>

415bb21f281e9b4f905d5893fede9165bdf1491b 1152855 01-Aug-2011 jim

And we are at 2.3.15-dev

3e13c3c3e6517a04c8c20ffb8e62aadb3b13f8df 1152452 30-Jul-2011 rjung

Improve logging for mod_proxy_ajp.

b8c9229249804470a885a1a43f7f2dad15fb06a3 1152379 29-Jul-2011 rjung

mod_proxy_ajp: Respect "reuse" flag in END_REPONSE packets.

ef3e19a9a27ca055dd20e971d5578f5510308023 1152273 29-Jul-2011 niq

mod_proxy: enable absolute URLs to be rewritten with ProxyPassReverse, e.g. to reverse proxy "Location: https://other-internal-server/login" with ProxyPassReverse https://public-address/ https://other-internal-server/

099d298d417b68b3d11fb5934c404c60f518d69c 1151234 26-Jul-2011 sf

Install signal handlers for crashes before detaching. Previously, there was a time span where crashes would be neither visible on the console nor logged in the error log.

0d54de55e9fec3d9ac5989a5fe016f349b82ed05 1151233 26-Jul-2011 sf

Reduce period during startup and restart where a successive signal may be lost PR: 43696 Submitted by: Arun Bhalla <arun shme net>

636d0d3e03f5f4f2fefae0f20c36e288755e79f6 1151143 26-Jul-2011 rjung

mod_allowmethods: Correct Merging of "reset" and do not allow an empty parameter list for the AllowMethods directive. Furthermore switch from AP_MODULE_DECLARE_DATA to AP_DECLARE_MODULE (the module was brought in after the big logging refactoring).

3f5968bf1059aebe846e121a6f3748dd03471ce4 1150474 24-Jul-2011 sf

Add a CHANGES entry for all the module selection changes

ab86c68ce36c715e93f403dde41d0b9c1522c8b0 1150179 23-Jul-2011 sf

Merge branch revert-ap-ldap: Revert ap_ldap integration due to veto by Graham Leggett Mailing list threads: http://mail-archives.apache.org/mod_mbox/httpd-dev/201106.mbox/%3C4192DC1D-C0B9-42BB-B614-C3A41290F18B@sharp.fm%3E http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C4E15E51E.4090700@rowe-clan.net%3E

7c6f514f2ef9b98f58b8f8a5f534eb78a75f29f2 1147806 18-Jul-2011 jorton

* server/vhost.c (get_addresses): For '*' and '_default_', return address(es) for any address family, not IPv4 only. (dump_a_vhost): Use '*' for v4 or v6 wildcard address.

3e520e9f095fbbcaa3c216c8ea56e89bd6fd58b4 1147614 17-Jul-2011 sf

Make the SERVER_NAME variable include [ ] for literal IPv6 addresses, as mandated by RFC 3875 PR: 26005

93d757f10e0823af718075b34363970c4af0e6cd 1147557 17-Jul-2011 sf

Fix parsing of Content-Length in type maps PR: 42203 Submitted by: Nagae Hidetake <nagae eagan jp>

533d85911f7e4914ee5f9d5c99a2421f4ab4208a 1147493 16-Jul-2011 sf

Add more (trace) logging to the ap_scan_script_header*() functions Add ap_scan_script_header*_ex() functions that take a module index for logging. Make mod_cgi, mod_cgid, mod_proxy_fcgi, mod_proxy_scgi, mod_isapi use the new functions.

78b046ee9f769d9609ea1157177d5467e4700c89 1147327 15-Jul-2011 covener

Add a mod_dir option to allow the used DirectoryIndex to be externally redirected.

5d1aa7e499fc511e937db7a7ce671add9a4d6702 1146418 13-Jul-2011 sf

Don't try to compress requests with a zero sized body. PR: 51350

00f8426677a7975dc809e4ccb11241c543ec8a0e 1146256 13-Jul-2011 sf

Use APR_UNSPEC to allow startup on IP6-only systems. PR: 50592 Submitted by: Joe Orton, 2510 <root linkage white-void net>

3ef519991d73cff6763052b5a44c206bda01541d 1146244 13-Jul-2011 sf

Add some environment variables to the whitelist in suexec PR: 51499 Submitted by: Graham Laverty <graham reg ca>, Stefan Fritsch

512bc8626ede860ea2ef329e6c2ffbd6ceba3903 1143541 06-Jul-2011 sf

Fix regexp RewriteCond with NoCase, reported by Steffen <info apachelounge com>

3bcb72c0b2797d2ec0b41bb9f4696e58be2c7043 1142938 05-Jul-2011 rjung

Allow to specify module specific custom linker flags via the MOD_XXX_LDADD variables. Use APR_ADDTO instead of APR_SETVAR or direct variable assignment. This is especially useful when building mod_lua or mod_deflate against a lua resp. libz which are installed in non-standard locations. One can add "-R ..." to MOD_LUA_LDADD and MOD_DEFLATE_LDADD before configure to fix the RPATH/RUNPATH of those modules.

5b43275cebfb0ff9961ac462f3a96f7fe612d327 1142892 05-Jul-2011 rjung

Tolerate dependency checking failures in configure for modules that have been enabled only implicitely.

25cc406eca0c99de0dfbd6c8862bec2d5fb6c4fa 1142739 04-Jul-2011 rjung

Only link the httpd binary against PCRE. No other support binary needs PCRE.

53b3e9f9937ca992fb149d02d19223674c81c5a4 1142713 04-Jul-2011 rjung

Respect platform specific runpath linker flag when building mod_deflate and mod_lua.

eda40bb2debf78c913552346127358797665cf7f 1142648 04-Jul-2011 rjung

1) Add --with-distcache to configure for choosing the distcache installation directory. 2) Use correct build variable MOD_SOCACHE_DC_LDADD instead of MOD_SOCACHE_LDADD in build macro. Also made the macro a bit more consistent with the SSL checking macro.

686555019e71b355e835166dfefbec33f7fb6f90 1142623 04-Jul-2011 rjung

Support reallyall option to configure also for --enable-mods-static.

f82baabbe731507742af2f7ba41463dbbc7911e9 1142170 02-Jul-2011 sf

Add new non-default debugging module mod_log_debug It allows to log custom debug messages at various phases in the request processing and is the first consumer of the new string-valued ap_expr API.

26d07dbe57cb2c8f49df541329a1653635988dbb 1141223 29-Jun-2011 sf

Add some debug logging when loading server certificates PR: 37912 Submitted by: Nick Burch <nick burch alfresco com>

09359a90ff115fc5eeb96e1e5c78a58dd9fc59d3 1140734 28-Jun-2011 jim

And roll on to 2.3.14

950e3163cb42ba1e9c8f9d93f4505f580cbc71f4 1140128 27-Jun-2011 jorton

Add Sven's real name.

dc610ff4888acc61dc6c8de2b8974a4dce9c074f 1139530 25-Jun-2011 sf

Support specifying the local address to use. PR: 48930. Submitted by: Peter Schuller <scode spotify com>

b08558bf6a64f9501ad3eca34eaf4d978bd928cf 1138616 22-Jun-2011 sf

Add support to ErrorLogFormat for logging the system unique thread id under Linux

70f553c56eda63b353598193c3afc238db9b3c78 1137755 20-Jun-2011 sf

New AsyncRequestWorkerFactor directive to influence how many connections will be accepted per process

3fa816e4832a1c70600bdfd6fc5ef60e9f1c18bb 1137744 20-Jun-2011 sf

Rename MaxClients to MaxRequestWorkers which describes more accurately what it does.

0c2193f47081b894ed16f4fc371f44564d28b334 1137590 20-Jun-2011 jorton

rotatelogs: Add support for running a custom program after a log rotation. * support/rotatelogs.c (post_rotate): New function. (usage, dumpConfig): Update. (doRotate): Save old filename before rotate; call post_rotate after successful rotation. (main): Add -p argument. * docs/manual/programs/rotatelogs.xml: Document -p. PR: 51285 Submitted by: <sveniu ifi.uio.no>, jorton

55929f765b95e354092ac17238718e471c252ebb 1137398 19-Jun-2011 sf

Don't do OCSP checks for valid self-issued certs Submitted by: Kaspar Brand

2ce2fc3287632e20f1b8759aa17e571f68c6fe6d 1137394 19-Jun-2011 sf

Avoid unnecessary renegotiations with SSLVerifyDepth 0. PR: 48215 Submitted by: Kaspar Brand <asfbugz velox ch>

49aa87d735a13ae3d04012ee0df91ddb51f7c36e 1137360 19-Jun-2011 sf

Display information about asynchronous connections in the server-status PR: 44377

b44ddab21bd6e44ba3c03f7ae8ed08dd23b68b48 1137358 19-Jun-2011 sf

Some improvements for handling of many connections for MPM event: - Process lingering close asynchronously instead of tying up worker threads (based on patch by Jeff Trawick). - If the number of connections of a process is above threads_per_child + WORKER_OVERCOMMIT * (idle_workers - 1) (WORKER_OVERCOMMIT is fixed at 2, at the moment), or if all workers are busy, don't accept new connections in that process. Such a dynamic connection limit is necessary because we may have both async and non-async (ssl) connections. WORKER_OVERCOMMIT should be a config option. - Don't count idle workers of not-accepting processes against MinSpareThreads, so that the parent will spawn new processes when necessary. - If we receive a keep-alive request while all workers are busy, don't block but close the connection immediately so that the client will re-connect to a different process. Related changes: - Log what is going on at trace loglevels. - Remove the bypass_push poll type flag, this code cannot be hit anymore (if it ever could?). - Add some macro helpers for dealing with timeout queues.

0ab15ffa17f588723d0c310af78b505bf4e8a953 1137262 19-Jun-2011 sf

If MaxMemFree is set, limit the number of recycled pools that is kept

1dee19645438f8e3cb80fe86e1aaade04d093e45 1137182 18-Jun-2011 sf

Fix graceful restart aborting connections PR: 43359 Submitted by: Takashi Sato <takashi lans-tv com>

9f478b1ce1e6296ad7a244d9d2eaa6af79cfdfbf 1135234 13-Jun-2011 sf

Disable AECDH ciphers in example config by using !aNULL (which includes all ciphers without authentication. PR: 51363 Submitted by: Rob Stradling <rob comodo com>

9bec939825399ac2816ea0d912d2e3c3b2ed91f4 1135153 13-Jun-2011 sf

Introduce new function ap_get_conn_socket() to access the socket of a connection

5cca2a55e4a1cabdc2ca0db3bee456f27cf4c69e 1133582 09-Jun-2011 minfrin

mod_data: Introduce a filter to support RFC2397 data URLs.

33510984c759eb3da154ceb0db9b75fa0031d3b4 1132494 05-Jun-2011 sf

- Introduce concept of context prefix (which is an URL prefix) and context document root (which is the file system directory that this URL prefix is mapped to). This generalization of the document root makes it easier for scripts to create self-referential URLs and to find their files. - Expose CONTEXT_DOCUMENT_ROOT and CONTEXT_PREFIX as envvars, in mod_rewrite, and in ap_expr. - Make mod_alias and mod_userdir set the context information. - Allow to override the document root on a per-request basis. This allows mass vhosting modules to set DOCUMENT_ROOT correctly. - Make mod_vhost_alias set the per-request document root PR: 26052, 46198, 49705 Remaining tasks: - Use the context document root & prefix in mod_rewrite to make RewriteBase unneccessary in many cases. Do this without breaking compatibility. - Write docs.

6b15044d54a096e6323ff1540f1a491e8de7622d 1132469 05-Jun-2011 sf

- Add <ElseIf> and <Else> to complement <If> sections. These are both easier to use and more efficient than using several <If> sections. - Update <If> documentation a bit.

287b17b746df229d6211c624b8a3e1edda21cecd 1128732 28-May-2011 sf

mod_ext_filter: Remove DebugLevel option in favor of per-module loglevel

de2d327e43e0f17cdb64851beafecba96a0ed962 1128614 28-May-2011 sf

Use the new "ap_expr" expression parser. The old parser can still be used by setting the new directive SSILegacyExprParser

c1ea0100af157a0d4e4a3de323f32dbfac4e5b6e 1128564 28-May-2011 sf

Add some features to ap_expr for use by mod_include: * a restricted mode that does not allow to bypass request access restrictions * new variables DOCUMENT_URI (alias for REQUEST_URI), LAST_MODIFIED * -A as an alias for -U * an additional data entry in ap_expr_eval_ctx_t for use by the consumer * an extensible ap_expr_exec_ctx() API that allows to use that data entry

b44565f239485673d9486068588a5fb3af008be9 1128430 27-May-2011 sf

properly merge directory configs in mod_include

bf99d597a964add76124fc185892e04733a02969 1125843 22-May-2011 sf

mod_charset_lite: Remove DebugLevel option in favour of per-module loglevel

876167dba234e2c7065895c87b77a8c57bdcf754 1125802 21-May-2011 sf

Add ap_regexec_len() function that works with non-null-terminated strings. PR: 51231 Submitted by: Yehezkel Horowitz <horowity checkpoint com>, Stefan Fritsch

9d4ce88bcd21b01619a31c53db11a51c2a1e9717 1125646 21-May-2011 sf

Some LDAP servers (wrongly) return LDAP_CONSTRAINT_VIOLATION if a user is locked due to too many password retries. This should not cause an internal server error but be treated as "auth denied".

2792ea4d5c772a6bc19dece2e098b8125bf7184c 1124979 19-May-2011 jim

Add in proxy-scgi-pathinfo and proxy-fcgi-pathinfo envvars to allow "best guess" calculation of PATH_INFO for backend FCGI/SCGI servers

59a3c1e7880d3eab0d182735ff47758b9860411f 1103494 15-May-2011 minfrin

mod_cache: When content is served stale, and there is no means to revalidate the content using ETag or Last-Modified, and we have mandated no stale-on-error behaviour, stand down and don't cache. Saves a cache write that will never be read.

b3e63c395d671f14a096d7e888dbfd2caf93a663 1103213 14-May-2011 sf

Fix a timed out connection going into the keep-alive state after a timeout when discarding a request body. PR: 51103

6f88aef8511bf8ccf170bec41b82b6346c8b1ac7 1103097 14-May-2011 sf

Add various file existance test operators to ap_expr

83c89da783ba8bdaef50ec1912443f7fad3556ac 1102733 13-May-2011 jim

Add in new mod_proxy "extension" module: mod_proxy_express. This is a module developed by myself to support the RedHat OpenShift Express project, to allow for dynamic and fast reverse-proxy switching. The idea is to easily map Host: header entries to backend servers, with the mapping done in a DBM file (think of mod_vhost_alias, kinda, for mod_proxy). Yeah, mod_rewrite and RewriteMap could kinda do it but (1) that is slow and (2) no support for ProxyPassReverse capability. Donated to the ASF.

5152ceef718c8d39291557205cb2a98f436ce87f 1102328 12-May-2011 rjung

Fix configure error when configuring module set "reallyall".

4acb0cd5536553055c7c6996414cec00b0191e1d 1101855 11-May-2011 jim

and bump to 2.3.13

3eb3f27d2d93942bd4230c231aab4eb16a316384 1101852 11-May-2011 jim

document userland/developerland change

0a2424312d9f02479a38e96dcbb170a77c218852 1101216 09-May-2011 rjung

Silence autoconf 2.68 warnings. Add AC_LANG_SOURCE to the two occurences of AC_COMPILE_IFELSE in configure.in.

6137a8d5cdc62f1d4dad8cbf720feaa35f42a596 1100786 08-May-2011 covener

PR51163: Resolve crashes when LDAP is used for authorization-only Submitted By: Scott Hill <shill genscape.com>

80a98c87d804ac7c0ea52d3f3b4676e559b49087 1096775 26-Apr-2011 igalic

Make sure support/check_forensic works with mod_unique_id loaded too. Author: Joes Shaefer

925a6d92173ab96cdb0a8976c7aac13ef809e218 1096609 25-Apr-2011 trawick

Add child_status hook for tracking creation/termination of MPM child processes. Add end_generation hook for notification when the last MPM child of a generation exits. end_generation is implemented completely by core using the child_status hook run by the MPM. simple and mpmt_os2 MPMs don't currently run the child_status hook, so neither hook is invoked with those MPMs.

e19d3a1e487aa73e0850658d3773f748aefba7f7 1096577 25-Apr-2011 sf

mod_ldap: Make LDAPSharedCacheSize 0 create a non-shared-memory cache per process as opposed to disabling caching completely. This allows to use the non-shared-memory cache as a workaround for the shared memory cache not being available during graceful restarts PR: 48958

b8e5134b5779bf5505a9e5241cf8c930cc4aac5e 1096569 25-Apr-2011 sf

Add new ap_reserve_module_slots/ap_reserve_module_slots_directive API, necessary if a module (like mod_perl) registers additional modules later than the EXEC_ON_READ phase. Tested by: Torsten Foertsch <torsten foertsch gmx net>

d56f48e6d861159b42b8f6eadd66e9e03086ceb9 1094189 17-Apr-2011 fuankg

Fixed line length to < 80 char.

cfd376e3e25eb609c30773a0897c97b2a9a76130 1094174 17-Apr-2011 fuankg

Added shebang check for '! so that .vbs scripts can work as CGI. Backport of r1054347 from trunk; reviewed by wrowe, trawick.

b1677ce80314e41b74bdd8d50c13ac159f3c09f4 1092787 15-Apr-2011 sf

Prevent segfault if DYNAMIC_MODULE_LIMIT is reached PR: 51072 Submitted by: Torsten Förtsch <torsten foertsch gmx net>

c447f5d2f2a21e8f2df49a113c4637b7f59a6fef 1090621 09-Apr-2011 trawick

WinNT MPM: Improve robustness under heavy load.

31eeb74b832eea054c7a42081c1afdeccd987e5e 1090614 09-Apr-2011 trawick

Fix some MinGW build issues... mpm_winnt.c: MinGW doesn't currently define the Windows STACK_SIZE_PARAM_IS_A_RESERVATION symbol mpm_unix.c: Bypass all this code on Windows (too much trouble to keep it out of Makefile) mpm_common.h: Skip over definitions of functions not available on Windows to keep references out of exports.c. PR: 49535 Submitted by: John Vandenberg <jayvdb gmail.com> Minor tweaks by: trawick Other commits for this PR: r1089950, r1089951, r1089954

e9bf808f770605c1f54a9d0fb1c560115c91fd71 1090369 08-Apr-2011 sf

core: Support module names with colons in loglevel configuration. Submitted by: Torsten Förtsch <torsten foertsch gmx net>

575cc52562c51c0c8bb8de0c6eaa55a60f7f895b 1090367 08-Apr-2011 sf

mod_ssl, ab: Support OpenSSL compiled without SSLv2 support

490993ea2eda52d4fdacff247eb2657296c86f71 1089472 06-Apr-2011 trawick

Abort if the MPM is changed across restart. A new MPM can't be expected to manage the existing state, particularly if that includes processes from the previous generation.

03502de2853fcebaf853ed3bcfd5033894c238bb 1087864 01-Apr-2011 jim

*) mod_proxy_ajp: Add support for 'ProxyErrorOverride on'. PR 50945. [Peter Pramberger <peter pramberger.at>, Jim Jagielski]

afee7998d5045107a7673f09bc3448a5dc1b6612 1087863 01-Apr-2011 jim

*) mod_proxy_fcgi: Add support for 'ProxyErrorOverride on' PR 50913. [Mark Montague <mark catseye.org>, Jim Jagielski]

3d636d91428f2c0a74012c89a94ec7d5b40aa52e 1086771 30-Mar-2011 sf

Add PR reference and docs for -DDUMP_CONFIG

6ec154950417d0b32082f6590ffa3acc3e0c3d49 1086761 29-Mar-2011 sf

Add CHANGES entry for r1086756 / ap_cfg_* change Update docs for ap_cfg_getc

b38e1e2f118f67818f88faee827f4b3a2881e908 1086441 29-Mar-2011 sf

mod_info: Dump config to stdout during startup if -DDUMP_CONFIG is specified. This functionality should probably be moved into core, but for now it's a lot better than nothing. And it may even help me debug some other config related code.

33e53d7c6aa5d004d96ea11d7f3ca35b30e82544 1086243 28-Mar-2011 trawick

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

20e0c71be778348516719e1e58a9f55c8e78c570 1086224 28-Mar-2011 trawick

consolidate logic to remove the pidfile in a new API, ap_remove_pid(), related to existing ap_log_pid() and ap_read_pid() presumably this is useful to third-party MPMs as well

027f7b141f164258b254c38319d06452b25d7660 1086073 28-Mar-2011 trawick

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

977c4527be5a21182f24fc22a40a79d576a52f86 1085719 26-Mar-2011 trawick

Correct C++ incompatibility with http_log.h.

dceaf31d7ad4e9731501299a9ae4d9ab870627da 1083584 20-Mar-2011 wrowe

Drop obscure 1.3 change backrefs

7fef9f66804ea10d5bf343cdd3d607465e8340ca 1082518 17-Mar-2011 jim

Close PR 50861 where enabling and disabling of buffered logs can cause a segfault. Patch by: Torsten Förtsch <torsten.foertsch@gmx.net>

3770ed746d69c7a4111cba9966169bd5d7a509a6 1082196 16-Mar-2011 poirier

core: AllowEncodedSlashes new option NoDecode to allow encoded slashes in request URL path info but not decode them. Change behavior of option "On" to decode the encoded slashes as 2.0 and 2.2 do. PR 35256, PR 46830.

7bd92b29516bc4bf7351d35aa447dbe68f1e8bb4 1082189 16-Mar-2011 jorton

* modules/ssl/ssl_engine_kernel.c (ssl_hook_ReadReq): Compare SNI hostname against Host header case-insensitively. PR: 49491 Submitted by: Mayank Agrawal <magrawal.08 gmail.com>

a81c0c1ae464b2063a21b45f80c9da8d89bb840e 1081007 12-Mar-2011 covener

*) mod_ldap: Add LDAPConnectionPoolTTL to give control over lifetime of bound backend LDAP connections. PR47634 [Eric Covener]

ffae06377667a5d8f9699ac7512134de7000a83d 1080834 12-Mar-2011 minfrin

mod_cache: Make CacheEnable and CacheDisable configurable per directory in addition to per server, making them work from within a LocationMatch.

efc81fe729a2b7401028387da184b4a98f0b854a 1078286 05-Mar-2011 trawick

worker, event, prefork: Correct several issues when built as DSOs; most notably, the scoreboard was reinitialized during graceful restart, such that processes of the previous generation were not observable. Other noticeable ones: * the generation number did not increment properly * worker's check-config hook didn't detect startup properly, so messages about inconsistent directives could have been sent to the wrong place max_daemons_limit wasn't tracked across restart, but as the scoreboard was always cleared this was a non-issue. Reinitialization of idle_spawn_rate, hold_off_on_exponential_spawning, and maxclients-message-reported may or may not have been features, but the big picture is that the behaviour shouldn't have differed. These changes should have been part of r758185.

9c67ffea79ab184351b5d554b57814e13285e758 1075924 01-Mar-2011 jim

And roll onto 2.3.12

4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6 1073741 23-Feb-2011 jim

Document mod_proxy work... userland changes

29ecbd9db1622e74964264d078336f7604d65093 1072099 18-Feb-2011 jim

Expose "new" ap_parse_form_data() function instead of requiring mod_request for any module that may want to parse form data...

a503caacf7ab36d5bc42cb7c78256e1221642656 1070617 14-Feb-2011 jim

Document pre_read_request and bump mmn

da40dfabefd6f8eb8450e9a097c594ee2ab13e3e 1070179 13-Feb-2011 minfrin

mod_cache: When a request other than GET or HEAD arrives, we must invalidate existing cache entities as per RFC2616 13.10. PR 15868.

59d316b83d42d2a07e25c20d8c35a07b369618bd 1070153 12-Feb-2011 sf

Use ap_state_query() to fix many modules that were not correctly initializing if they were not active during server startup but got enabled later during a graceful restart (in which case they need to do all work during a single config run).

8602c898d4e06a7e7b9d6b7cf4b172a8e7310987 1070151 12-Feb-2011 sf

Create new ap_state_query() function that allows modules to determine if the current configuration run is the initial one at server startup, and if the server is started for testing/config dumping only.

3e2582713ed6883683272fbc628a27419d0ed543 1070128 12-Feb-2011 minfrin

mod_cache: When a bad Expires date is present, we need to behave as if the Expires is in the past, not as if the Expires is missing. PR 16521.

2c132b1e3610da2fb9e6b3594a313efa3ff29e22 1070075 12-Feb-2011 minfrin

mod_cache: We must ignore quoted-string values that appear in a Cache-Control header. PR 50199.

a46801e6532423aa7bd184471eb49158d7c9ae62 1070061 12-Feb-2011 sf

revert r1026746: If an unknown Content-* header is received for a PUT request, we must not ignore it but reply with 501 per RFC 2616 9.6. PR: 42978 Vetoed by Roy T. Fielding: http://mail-archives.apache.org/mod_mbox/httpd-dev/201102.mbox/%3C9A5A8B62-ED16-4BD3-97DA-8475026BB81D@gbiv.com%3E

6f9bf764bc79571d1da19dfbbd78527fca278a8e 1069947 11-Feb-2011 minfrin

Reinstate comment.

808a26d70f28498b9d7252a70d9fb23def781901 1069942 11-Feb-2011 minfrin

mod_cache: Respect s-maxage as described by RFC2616 14.9.3, which must take precedence if present. PR 35247.

ef12246b88300687bf1faaf56d115dd8d8d82761 1069772 11-Feb-2011 jorton

* modules/ssl/ssl_engine_pphrase.c (ssl_pphrase_Handle): Fix possible startup failure in cases where multiple vhosts share the same "vhost-id" and private key file. The cached-key case would previously cause an abrupt return from the function, which could prevent processing of configured keypairs for other vhosts. There is no apparent reason to check for a "cache hit" against cached keys using *any* algorithm types; instead only check against a key with the matching type. Submitted by: Masahiro Matsuya <matsuya redhat.com>, jorton

7d59a9f282af9dce031b61062a0d941641101237 1068778 09-Feb-2011 rpluem

* Make module compile by fixing some typos. PR: 50735 Submitted by: Mark Montague <mark catseye.org> Reviewed by: rpluem

e63e8b4b886d2144fed7946d0fbe8d27386be2dc 1068389 08-Feb-2011 jorton

* server/mpm/prefork/prefork.c (stop_listening, sig_term, restart): Update mpm_state in the signal handlers such that it is correct in children during a graceful stop/restart too. PR: 41743 Submitted by: Andrew Punch <andrew.punch 247realmedia.com>

bc52db6ff2c64d61c28b283bcb4b5ce2bc3349c6 1067483 05-Feb-2011 sf

revert r1066944, r1067177 for now breaks MacOS X and wherever this code will go, server/main.c does not seem to be the right place. See http://mail-archives.apache.org/mod_mbox/httpd-dev/201102.mbox/%3C01930193-8A3B-4635-9EB0-5EE31349E49C@jaguNET.com%3E

44dd2e4138fcec82d160677e2bd408be05eb3825 1066944 03-Feb-2011 sf

Reload resolv.conf on graceful restarts PR: 50619 Submitted by: Matt Miller <m miller f5 com>, Stefan Fritsch

223c64b836fbc2bc8611da9604379dfe13f56aba 1061791 21-Jan-2011 sf

Ignore leading dots when looking for mime extensions PR 50434

bf507cc1e6ad55303c3d436c6ca153f46c788be6 1061465 20-Jan-2011 sf

Add support to set variables with the 'Define' directive. Change ap_resolve_env() to look for variables defined in this way. This allows to use the variables in the config using the ${VAR} syntax known from envvar interpolation

93cf7fc650197b941ae31a7c7e51e901b129e954 1060795 19-Jan-2011 igalic

Add a patch from Vincent Deffontaines to make the adding of X-forwarded-* headers configurable: ProxyAddHeaders, defaulting to 'On'. http://www.mail-archive.com/dev@httpd.apache.org/msg49971.html

a1b1c78faf7969affb320f5c8eb270ffa21314c4 1060108 17-Jan-2011 rjung

Increase memory alignment for slotmem data in mod_slotmem_shm. Consumers still need to choose the slot sizes appropriate for consistent alignment. mod_slotmem_shm only cares about the alignment for the first slot. We use the APR default alignment.

a2558ec3af4391b7da7fe61e1e53383bbd0174b9 1059917 17-Jan-2011 jorton

* modules/ssl/ssl_engine_config.c, modules/ssl/ssl_private.h: Add config hooks for OCSP response time skew, maximum age, timeout. * modules/ssl/ssl_engine_ocsp.c (verify_ocsp_status): Respect config settings for above. * docs/: Update accordingly. Submitted by: Kaspar Brand <httpd-dev.2011 velox.ch>

8d6b3720340d0bd7f8d25e2a8563527e97a48df8 1059910 17-Jan-2011 jorton

* modules/ssl/ssl_engine_io.c: Revamp output buffering: add a "coalesce" filter which buffers the plaintext, and remove buffering of the SSL records -- i.e. buffer before the SSL output filter, rather than after it. This aims to reduce the network overhead imposed by the output of many small brigades (such as produced by chunked HTTP response), which can now be transformed into a few large TLS records rather than many small ones. (ssl_filter_ctx_t): Remove "nobuffer" field. (bio_filter_out_ctx_t): Remove length, buffer, blen fields. (bio_filter_out_pass): Split from bio_filter_out_flush. (bio_filter_out_write): Remove handling of buffer. (bio_filter_out_ctrl): Adjust to reflect lack of buffer. (ssl_io_filter_coalesce): Add new filter... (ssl_io_filter_init): ...add it to the filter chain... (ssl_io_filter_register): ...and register it.

48e4b65042d94992c50f1db6c0b0cdbd99ca77e8 1059867 17-Jan-2011 sf

Merge the <If> sections in a separate step ap_if_walk, after ap_location_walk. This makes <If> apply to all requests, not only to file base requests and it allows to use <If> inside <Directory>, <Location>, and <Files> sections. The merging of <If> sections always happens after the merging of <Location> sections, even if the <If> section is embedded inside a <Directory> or <Files> section.

47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968f 1058660 13-Jan-2011 jim

It's a change

397df70abe0bdd78a84fb6c38c02641bcfeadcea 1057048 10-Jan-2011 sf

mod_status: Don't show slots which are disabled by MaxClients as open. PR: 47022 Submitted by: Jordi Prats <jordi prats gmail com>, Stefan Fritsch

9b5fe1d4ec48643fb819bbce9dc80f93f444fb48 1057045 09-Jan-2011 sf

Fix ap_mpm_query results: AP_MPMQ_MAX_THREADS: Single threaded means one thread per child, not zero AP_MPMQ_MAX_DAEMONS: Max # daemons by config is determined by MaxClients, not ServerLimit

dd9f60fdfeb73f829fe0b260b7975b4b22be0838 1056713 08-Jan-2011 sf

Fix a bug in authz logic merging which caused section->op == AUTHZ_LOGIC_AND auth_result == AUTHZ_DENIED_NO_USER child_result == AUTHZ_GRANTED to return AUTHZ_GRANTED instead of AUTHZ_DENIED_NO_USER. While there, refactor the if blocks to make them a bit more readable.

135e1d6a301398168e3b2e5125508828591e1673 1055447 05-Jan-2011 niq

Change AuthnCacheProvider --> AuthnCacheProvideFor to deal with overloading of "provider" and likely confusion with AuthnCacheSOCache.

c7de70e936ac1e36c25676fe62e65dbacb947619 1055250 05-Jan-2011 minfrin

mod_proxy_http: Allocate the fake backend request from a child pool of the backend connection, instead of misusing the pool of the frontend request. Fixes a thread safety issue where buckets set aside in the backend connection leak into other threads, and then disappear when the frontend request is cleaned up, in turn causing corrupted buckets to make other threads spin.

1b1621900bd89ddc496d721c865a726f635ebd7e 1054323 02-Jan-2011 sf

Change the format of the SSL_{CLIENT,SERVER}_{I,S}_DN variables to be RFC 2253 compatible, convert non-ASCII characters to UTF8, and escape other special characters with backslashes. The old format can still be used with the LegacyDNStringFormat argument to SSLOptions.

4203a35c28d7c60adb7e9ef3be87aad34951c79a 1053872 30-Dec-2010 sf

Make the REQUEST_SCHEME variable available to scripts and mod_rewrite

c094add0a23fe1120fd33711ba2e2d084f5629a1 1053750 29-Dec-2010 sf

Allow to use arbitrary boolean expressions (ap_expr) in RewriteCond.

12b26f433fd7d6fc9f76413d7c2cabf4fa5cb300 1053726 29-Dec-2010 sf

Allow to unset environment variables using E=!VAR. PR: 49512 Submitted by: Mark Drayton <mark markdrayton info>, Stefan Fritsch

26f56d4a3c12077d605362e97490e34522fa4814 1053516 29-Dec-2010 covener

revert r1031670: Change the default of the Header directive to apply to responses of all types instead of just 2xx successful responses. This turned out to be do more harm than good for anything other than "set", since "always" doesn't ever see/operate on existing r->headers_out headers -- just err_headers_out. I think onsuccess needs to remain the default and this needs to move into a doc revamp.

041b426f9b15072b59a32f132e6d04173ab3df68 1053515 29-Dec-2010 covener

add a 2.3.9-era CHANGES entry that should have been noted for mod_headers defaults. Should I flag this CHANGES entry in any way?

2cef7e294acb5d8b8b5dcb21a55438da0b73f63f 1053375 28-Dec-2010 igalic

Applying patch from PR 33078 (with slight changes to its return values) This patch disallows the mixing of relative (+/-) and absolute Options where insensible.

ef766b4977fa0c796f1d1fa828c5868d5a6bde74 1053358 28-Dec-2010 rbowen

Correct typo in CHANGES, as per tid50321

2d2de64c25c1519122a76150a7daf2c05f53fd9a 1053353 28-Dec-2010 sf

When exporting request headers to HTTP_* environment variables, drop variables whose names contain invalid characters. Describe in the docs how to restore the old behaviour. Submitted by: Malte S. Stretz <mss apache org>

27c5ebb7d411a214f5b6b55a881086ce086d3dd3 1053309 28-Dec-2010 covener

prefer exact port matches in ip-based VH lookup over wildcards.

7697b1b7376a532163c621e050b70c90dcb15d66 1053230 28-Dec-2010 covener

Remove need for NameVirtualHost directive by implicitly configuring any duplicated VH addresses as name-based virtual hosts. This also combines _default_ and * into a single type of wildcard since these presented a false dichotomy between address specs. These are post-config only changes and do not change the runtime lookups. The biggest loss here is that an unintended duplication of virtual host addresses can no longer be reported as directly in the past, but should still be debuggabl via apachectl -S (unintended NVH). These problems are a drop in the bucket compared to the difficulty users have with using NameVirtualHost.

9e0536cd66a389bdaa758a825b8bbd8fea665a3e 1052419 24-Dec-2010 igalic

Changing the default Options from All to FollowSymlinks.

862bbb262644e8aefae1bf352552b01908ecae0e 1051582 21-Dec-2010 minfrin

rotatelogs: Add -e option to write logs through to stdout for optional further processing.

dd3b88790af9d18429c732ca7bc83ec4ef43d3ff 1051468 21-Dec-2010 rpluem

* Do not drop contents of incomplete lines, but safe them for the next round of reading. PR: 50481

5bbabc874e3fcfbea08c199f7a79ee05b4817a70 1050677 18-Dec-2010 sf

Add new AuthzSendForbiddenOnFailure directive to allow sending '403 FORBIDDEN' instead of '401 UNAUTHORIZED' if authorization fails for an authenticated user PR: 40721

8f066564bfc0fd6ddc6ca4b2f2410615554597d1 1045185 13-Dec-2010 jim

And roll on 2.3.11...

7b7e8ba34e262064914ceedacd5f7d9201b6575c 1044673 11-Dec-2010 covener

PR 50447: mod_rewrite escapes the original [escaped] query string even when you haven't modified it.

220bc4233b21982d7c51842a1774db0ba6172ca4 1043023 07-Dec-2010 covener

PR50349: Honor 'AcceptPathInfo OFF' during internal redirects, such as per-directory mod_rewrite substitutions. This would be left floating around in the request_rec with a pcalloc'ed value, so the core fixup hook thought some module had overridden it.

6f2fbf354b34981f398cf0313aa44702ea2a7066 1042255 04-Dec-2010 covener

PR 39313: allow the user to configure which rules come first when RewriteRules are merged with RewriteOptions Inherit. Submitted By: Jérôme Grandjanny <jerome.grandjanny cea.fr> Reviewed By: covener

9e7c7a8fa19c33d1e90f8f7ffab69beacbe72566 1042209 04-Dec-2010 covener

PR#24243: allow some control over how IndexIgnore'd files are merged.

a961006b347d6527ccaeab9cf019a4e68d26bfb0 1042194 04-Dec-2010 covener

Add support for RLimit* in mod_cgid. PR 42135.

e3f43882b4f7ac7d1aa679be4b319cca04fd22ee 1042098 04-Dec-2010 covener

core: Fail startup when the argument to ServerName looks like a glob or a regular expression instead of a hostname (*?[]). PR 39863 Submitted By: Rahul Nair <rahul.g.nair gmail.com> Reviewed By: covener

8dea7832dea3789fe0b90c434c284bcaad96d40f 1042096 04-Dec-2010 covener

re-fix wording

999661242470e4dc0258982d5f183efc2d157ae7 1042095 04-Dec-2010 covener

clarify about "enable/disable".

0bfcc4d046f6735af2f15981fb53e4c0680b4731 1042090 04-Dec-2010 covener

PR44076: allow "userdir disabled" or "userdir public_html" in global scope to be merged with lists of enabled users in virtual host context as one would expect.

b761a57b4e63006c287823270876ab40d3212160 1039989 29-Nov-2010 covener

PR50350: When no -k option is provided on the httpd command line, the server was starting without checking for an existing pidfile.

5d92fff82718cd018f0b61a10b9ad4d2b8064c95 1039304 26-Nov-2010 rpluem

* Put a note in the connection notes that the SSL handshake to the backend failed such that mod_proxy can put the worker in error state. PR: 50332 Submitted by: Daniel Ruggeri <DRuggeri primary.net> Reviewed by: rpluem

01195d035ccef88e72009e9607157d5eddcb6b7d 1039295 26-Nov-2010 rjung

Fix Windows build of mod_cache_disk which was broken after renaming the module. Submitted by: Gregg L. Smith <lists glsnet net>

aec9747aa70c1dce98e536e8eef5a6a0ab0f1d6c 1038144 23-Nov-2010 jim

Roll on .10

cb838cc4d5fd559efd6c0579a0fcb8f6e5a7af22 1037335 20-Nov-2010 minfrin

mod_include: Add the onerror attribute to the include element, allowing an URL to be specified to include on error.

15ff8c621815e8337abc10638f2b2853ee6fd076 1037229 20-Nov-2010 minfrin

mod_disk_cache renamed to mod_cache_disk, to be consistent with the naming of other modules.

21ccb6cd9272c9066a8f5bb3e7785f46115289de 1037137 20-Nov-2010 sf

Add SetEnvIfExpr directive to set env var depending on expression.

b0ac1e83f8582a9b5a72bff798ffb31a419c8ade 1036602 18-Nov-2010 sf

mod_proxy: Fix ProxyPassInterpolateEnv directive. PR: 50292

b4f348c8e74ba8166410ddeffac03e4887696788 1034918 14-Nov-2010 niq

Return 400 not 503 if we have to abort due to malformed chunked encoding.

b2b9b7f0644773b50aee41956a841ac884086250 1034916 14-Nov-2010 niq

Fix mod_proxy to support setting source address. PR 29404 Seems lots of users want this, and a couple of them have recenly asked nicely

b682e60dd82772dba52ba77138e494f15c00a551 1033519 10-Nov-2010 trawick

suEXEC: Add Suexec directive to disable suEXEC without renaming the binary (Suexec Off), or force startup failure if suEXEC is required but not supported (Suexec On). Change SuexecUserGroup to fail startup instead of just printing a warning if suEXEC is disabled. Additionally, ap_unixd_config.suexec_disabled_reason has a message, suitable for logging/messaging, explaining why the feature isn't available.

79c754eb51681c3389cd966753e902c429f78939 1032565 08-Nov-2010 trawick

Add Error directive for aborting startup or htaccess processing with a specified error message. Be nice and strip off any quotes, which aren't necessary.

8651de219ec5f595af20afdc9da41ce72aaa50d5 1032431 08-Nov-2010 minfrin

mod_rewrite: Fix the RewriteEngine directive to work within a location. Previously, once RewriteEngine was switched on globally, it was impossible to switch off.

8fae12696bce44be9ce4c56888690cad8ac7b8f9 1032073 06-Nov-2010 sf

Replace ap_expr with a parser derived from mod_ssl's parser. Make mod_ssl use the new parser. Rework ap_expr's public interface and provide hooks for modules to add variables and functions. The Netware and Windows build files still need to be adjusted

d5612bd28e194390b2c74fcf712d564b0e002684 1032002 06-Nov-2010 sf

Fix hook sorting for the pre_config hook. Move modules/http/config2.m4 back to modules/http/config.m4, since this was only done as work-around in r88887 for the broken hook-sorting.

4ea161d94782fa56f4b36d496f35ff8577c43065 1031776 05-Nov-2010 covener

PR49823: Make the hardcoded default for AllowOverride match the default config -- None.

b588214d6e6fe09abe709e83e894921fbc7e25c8 1031758 05-Nov-2010 covener

PR47765: ProxyPass and ProxyPassReverse should not be accepted in Directory or Files sections.

c64fc4e9830bb1ffdc3491aef5ed3be5b90c466b 1031657 05-Nov-2010 covener

PR#47782: compiled-in default for MaxConnectionsPerChild is 10,000 vs the recommendations in the default conf and the manual. Principle of least astonishment says to use a baked-in value of zero until an admin asks for processes to exit this way.

ae5efbbf49a7ca6d233209a4d011550989e22556 1031551 05-Nov-2010 covener

PR50220: keep on chugging after EINTR in mod_proxy_connect

8c2bb916633b1eb3dccf91c776363bbc3a6145de 1031430 05-Nov-2010 covener

PR#47766 mod_autoindex directives not merged into sections with no autoindex directives. This is due to an empty "opts" field looking just like one that has specified "None". None is always alone, so simplify and test for equality.

bbba414c5bbf770e505778265bbe7a4a0e4fbdaa 1030299 03-Nov-2010 niq

mod_cache: correctly parse quoted strings in cache headers. PR 50199

503bec4c591d28ac6cec7182294cdef2ec6a9829 1028778 29-Oct-2010 covener

Add an END flag to RewriteRule that acts like L=LAST but also prevents further rounds of rewrite processing due to per-directory substitutions.

c00149c3cb27e0381362d07ccf2143574b4f600d 1026906 25-Oct-2010 sf

Make sure to always log an error if loading of CA certificates fails PR: 40312 Submitted by: Paul Tiemann <issues apache org ourdetour com>

766b0a4793197ccef3dfa202d1fee1e1f929ffa7 1026746 24-Oct-2010 sf

If an unknown Content-* header is received for a PUT request, we must not ignore it but reply with 501 per RFC 2616 9.6. PR: 42978

97b692bfc8673c8858f03498f81a993ac0c04c01 1026743 24-Oct-2010 sf

If a malformed Content-Range header is received for a PUT request, we must not use the supplied content per RFC 2616 14.16. Send 400 response instead of ignoring the Content-Range. PR: 49825

0553e62d75ef12d9a6646bb874be1fbf9e4c1dfb 1026703 24-Oct-2010 sf

Improve error message if client cert verification fails PR: 50093 Submitted by: Lassi Tuura <lat cern ch>

5e6cf205d2b0c848e15c65dab9711805395a5108 1026665 23-Oct-2010 minfrin

mod_proxy: Release the backend connection as soon as EOS is detected, so the backend isn't forced to wait for the client to eventually acknowledge the data.

df419be6d7d4b68823efa05722375552af49c2b6 1026184 22-Oct-2010 minfrin

mod_proxy: Optimise ProxyPass within a Location so that it is stored per-directory, and chosen during the location walk. Make ProxyPass work correctly from within a LocationMatch.

c03e31374e50a227cb554a0f1d4a9056ce80d99a 1025702 20-Oct-2010 sf

Be extra careful to only pass the main server config to ap_find_loaded_module_symbol. Fixes a segfault when using per-module LogLevel on virtual host scope. PR: 50117

40b22d3b20454959fe51fdc89907908d77701078 1025666 20-Oct-2010 minfrin

mod_proxy: Move the ProxyErrorOverride directive to have per directory scope.

4025c94641f12272de139ce4876a8fc77412a63b 1024337 19-Oct-2010 sf

revert r1023227 as discussed on httpd-dev: core: Log a warning if <Limit> or <LimitExcept> are used. They are deprecated and may go away in 2.4.

b4a00883f358625923365ca1560c96edec172a52 1023232 16-Oct-2010 sf

Build mod_allowmethods (windows and netware stuff needs to be tested). Change method bit vector to 64 bits

0119f1301a880cf39c0aad0fa2a77240af964691 1023227 16-Oct-2010 sf

core: Log a warning if <Limit> or <LimitExcept> are used. They are deprecated and may go away in 2.4.

87af9ffc3a42633fe12e11a0ff77bc099ecdca82 1023226 16-Oct-2010 sf

mod_ssl: Log certificate information if client cert verification fails. PR: 50094 Submitted by: Lassi Tuura <lat cern ch>

f58bb3da705eb7ec926f4883597fc2eb1336a360 1022230 13-Oct-2010 minfrin

htcacheclean: Teach htcacheclean to limit cache size by number of inodes in addition to size of files. Prevents a cache disk from running out of space when many small files are cached. Move the directory delete process to the "purge" section, so that inode counts are accurate when querying for stats only.

be192cefa381d5bae6868034687471754cb43175 1021924 12-Oct-2010 sf

Rename MaxRequestsPerChild to MaxConnectionsPerChild, which describes more accurately what the directive does. The old name still works but logs a warning.

aa8df43397bb42245e1633f12e2300c9715f3a7b 1021616 12-Oct-2010 trawick

fix description of the change for PR43857; it is a work-around for a reslist problem that isn't fixed in apr-util 1.3.x Suggested by: jorton

f4a0825e91eec135b5e41c697439e9a13014fa2c 1021546 12-Oct-2010 minfrin

mod_cache: Optionally serve stale data when a revalidation returns a 5xx response, controlled by the CacheStaleOnError directive.

5876f43a746f688a32b7201bced8591ddf19bd43 1004482 05-Oct-2010 minfrin

htcacheclean: Allow the listing of valid URLs within the cache, with the option to list entry metadata such as sizes and times.

4aef34911af88f96c5b6d9b71a550a5a97bbc0b6 1003963 03-Oct-2010 minfrin

mod_cache: Allow control over the base URL of reverse proxied requests using the CacheKeyBaseURL directive, so that the cache key can be calculated from the endpoint URL instead of the server URL.

4cefc38158672f5de8119886d9754cf0609a9371 1003882 02-Oct-2010 minfrin

mod_cache: CacheLastModifiedFactor, CacheStoreNoStore, CacheStorePrivate, CacheStoreExpired, CacheIgnoreNoLastMod, CacheDefaultExpire, CacheMinExpire and CacheMaxExpire can be set per directory/location.

11d3c510dca5b5178ad4739ffc1567ef2155bda9 1003839 02-Oct-2010 minfrin

mod_disk_cache: CacheMaxFileSize, CacheMinFileSize, CacheReadSize and CacheReadTime can be set per directory/location.

d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8d 1003808 02-Oct-2010 sf

core: Speed up config parsing if using a very large number of config files PR: 50002 Submitted by: andrew cloudaccess net

0ed19acadd3d3dd593759173d87d2243e97914e2 1003626 01-Oct-2010 sf

Fix CVE-2010-1623 in mod_reqtimeout, too. It includes a non-blocking variant of apr_brigade_split_line().

1a8c329935111a5059363efe927d631371b78414 1003331 01-Oct-2010 minfrin

mod_cache: Support the caching of HEAD requests.

fac37c9794a18c24d187f4e0f97a9476c4344118 1002854 29-Sep-2010 minfrin

htcacheclean: Allow the option to round up file sizes to a given block size, improving the accuracy of disk usage.

fc58f0ff708564b67cd578c626b6500d1cd63a51 1002837 29-Sep-2010 sf

Add authz providers for use with mod_authz_core and its RequireAny/RequireAll containers: 'ssl' (equivalent to SSLRequireSSL) 'ssl-verify-client' (for use with 'SSLVerifyClient optional') 'ssl-require' (expressions with same syntax as SSLRequire) We may decide to axe 'ssl-require' again in favor of the generic 'expr' provider, depending on the development of the ap_expr parser.

4e5fe1d203ddf3956a77be3c797c01fd4be8b211 1002824 29-Sep-2010 sf

Make the ssl expression parser thread-safe. It now requires bison instead of yacc. Also change the make file magic so that the real source file name is embedded in the debug info. The generated files have been created with flex 2.5.35/bison 2.4.1. The two 'no previous prototype' warnings are supposed to be fixed with the next flex version.

dcb4802d9ea9fc4ba89671e8f8faa70c9535b202 1002643 29-Sep-2010 minfrin

mod_disk_cache: Change on-disk header file format to support the link of the device/inode of the data file to the matching header file, and to support the option of not writing a data file when the data file is empty. Refactor the mod_disk_cache code so that headers are written as late as possible (on commit), allowing the device and inode of the body to be written to the header. At this point, writes to the cache are now atomic, without locks.

ce4dc40a4e87991087488f70d96d3447d7557294 1002125 28-Sep-2010 sf

Add generate_log_id hook to allow to use the ID generated by mod_unique_id as error log ID for requests.

9db0b0ee6ffade769db57b37a06b3f4849b5d367 1001884 27-Sep-2010 minfrin

mod_cache: Make sure that we never allow a 304 Not Modified response that we asked for to leak to the client should the 304 response be uncacheable. PR45341

033d82412cc4af9d939b7e1645425b9e7f4ebf60 1001639 27-Sep-2010 minfrin

mod_cache: Add the cache_status hook to register the final cache decision hit/miss/revalidate. Add optional support for an X-Cache and/or an X-Cache-Detail header to add the cache status to the response. PR48241

1b390add6886fb1c0acdea82be0ef0920f1158ca 1001207 25-Sep-2010 sf

Add 'local' authz provider that matches connections originating on the local host. PR 19938. Also remove some cruft from mod_authz_host (we don't need a per-dir config)

4ed33a14c26d78bbe6bd0b9d5091cdb184e348ba 1001202 25-Sep-2010 sf

Expand authz provider entry

5fd471ec540a088d143a223096d35661bf87c15b 1000814 24-Sep-2010 trawick

Fix crash accessing pollset on worker thread when child process is exiting. The timeout mutex and pollset were allocated from the listener thread pool. During child process shutdown, the listener thread exits first while any outstanding requests finish. These objects need to be allocated from pchild since the lifetime extends until the last worker thread has finished. Switch to pchild, and move init of these objects to the same place as other thread-independent objects.

c9201c790435060b1322d86949183085ca5f6c0c 1000596 23-Sep-2010 wrowe

Another user identifiable change, new behavior feature.

38bd9dba7627c6b2f331cd0731c272ee6bd876b1 1000595 23-Sep-2010 wrowe

Tag a user identifiable change. Thanks to rbowen for docs help.

f2472b79d241967fa28f8284470b1c5cafee7b12 1000593 23-Sep-2010 wrowe

Because PATH and the library path are closely interrelated, and the cause of most confusion over cgi or fcgid failures, or even starting rotatelogs, etc, when the server binaries have been relocated, pass the library path as paired with the system PATH. Of course, PATH and platform-specific library path(s) may be modified as needed with mod_env, so there is no loss of functionality with this change. The days of monolithic binaries are long gone, even on 1970's architectures, and PATH should not be decoupled from the library path.

c1ba97f41a4526d84fb7a1596afe3dd11e065a2c 999630 21-Sep-2010 minfrin

mod_cache: Give the cache provider the opportunity to choose to cache or not cache based on the buckets present in the brigade, such as the presence of a FILE bucket.

ac45a43afbf38aa4a91c1402c6beef6ef8a2696d 999533 21-Sep-2010 niq

Introduce ap_rxplus class: higher-level regexps supporting perl-style regexp operations.

97cc46935ec496b83fef9d6feb094d706c895b3b 998706 19-Sep-2010 sf

Allow authz providers to check args while reading the config and allow them to cache parsed args. Use this to check that argument to 'all' provider is 'granted' or 'denied'.

9474e446514b06765775eb0c1ec6645e2c5e50f6 998703 19-Sep-2010 minfrin

Shorten the changes entries.

72e3829dbd019a63b1091987fc6e7b1c028b089c 998701 19-Sep-2010 minfrin

mod_include: Move the request_rec within mod_include to be exposed within include_ctx_t.

1081aff66582e2cac722fb3b6f09da4f524b5962 998651 19-Sep-2010 minfrin

mod_include: Reinstate support for UTF-8 character sets by allowing a variable being echoed or set to be decoded and then encoded as separate steps. PR47686

9f0c32ae318f33c93a47d83f4709242c18339bbc 997545 16-Sep-2010 minfrin

mod_cache: Add a discrete commit_entity() provider function within the mod_cache provider interface which is called to indicate to the provider that caching is complete, giving the provider the opportunity to commit temporary files permanently to the cache in an atomic fashion. Move all "rename" functionality of temporary files to permanent files within mod_disk_cache from ad hoc locations in the code to the commit_entity() function. Instead of reusing the same variables for temporary file handling in mod_disk_cache, introduce separate discrete structures for each of the three cache file types, the headers file, vary file and data file, so that the atomic rename of all three file types within commit_entity() becomes possible. Replace the inconsistent use of error cleanups with a formal set of pool cleanups attached to a subpool, which is destroyed on error.

b7557ab9828d2017224a12968f82c3118b6a8c0a 996395 13-Sep-2010 minfrin

mod_cache: Change the signature of the store_body() provider function within the mod_cache provider interface to support an "in" brigade and an "out" brigade instead of just a single input brigade. This gives a cache provider the option to consume only part of the brigade passed to it, rather than the whole brigade as was required before. This fixes an out of memory and a request timeout condition that would occur when the original document was a large file. Update the mod_disk_cache provider implementation to take into account the new API. Introduce CacheReadSize and CacheReadTime directives to mod_disk_cache to control the amount of data to attempt to cache before sending the data on to the client in the "out" brigade.

b32d756dae79045a9bc90e0d0b85582f6f28eaf3 993120 06-Sep-2010 sf

- Add another check during ErrorLogFormat parsing - Simplify code (including Ruediger's suggestions)

e302f38fd646764ce1a1e1c578d794aef514a9e5 992806 05-Sep-2010 sf

Add ErrorLogFormat directive for configuring the error log format, including additional information that is logged once per connection or request. Add error log IDs for connections and request to allow correlating error log lines and the corresponding access log entry.

9c233808c898095865fcc0a2dc1cf594d0d8faf3 992689 04-Sep-2010 sf

Disable sendfile by default, as discussed at http://mail-archives.apache.org/mod_mbox/httpd-dev/201007.mbox/<4C4355EE.2060605@rowe-clan.net>

3b41ccdaa163f4e900bbf8a7aa6a366df033822d 992625 04-Sep-2010 minfrin

mod_cache: Check the request to determine whether we are allowed to return cached content at all, and respect a "Cache-Control: no-cache" header from a client. Previously, "no-cache" would behave like "max-age=0".

28587db43bc4bea96a36fbcffdd967e7b422bb97 992614 04-Sep-2010 minfrin

mod_cache: Use a proper filter context to hold filter data instead of misusing the per-request configuration. Fixes a segfault on trunk when the normal handler is used.

f3a19422957c2e9eb827c8e38e5982f678591aa5 992612 04-Sep-2010 minfrin

Fix a spelling mistake.

5a2dcc476c33985b7681aa72256bcd7266057edd 992583 04-Sep-2010 sf

mod_cgid: Log a warning if the ScriptSock path is truncated because it is too long. PR 49388

e08076ca56e6cb68b30846b9e9339061058aae6d 990844 30-Aug-2010 poirier

Fail startup for vhost configuration problems, rather than running with a configuration with undefined behavior.

b7a2f855b5e31abc24dab2eef28e9e2f985ae25b 990745 30-Aug-2010 rpluem

* temp_sa is already the correct pointer. PR: 49838 Submitted by: Andrew Skalski <voltara gmail.com> Reviewed by: rpluem

fa1c7ce09927decc1eecd1e9a35cc5331078a052 990091 27-Aug-2010 covener

PR49809: Allow DirectoryMatch to match the EOL character ($). and stop applying to subdirectories (that don't also match the regex) implicitly. The manual already uses DirectoryMatch syntax that assumes this in other places!

22d3cfb8f14471efbc3bbc8faa2c59805ac2395f 989121 25-Aug-2010 jim

Fix correct PR

84fbf855118f318dd5e511d8e5b902cecc1177c0 988618 24-Aug-2010 jim

Bump up for 2.3.9-dev

fa0dc2a4f675a868378a52946e5b244d6bf41196 987861 22-Aug-2010 sf

Support large log files in suexec PR: 45856

0807f6da6091b748ab47c21ba66252fe8da2a966 987806 21-Aug-2010 sf

core: Abort with sensible error message if no or more than one MPM is loaded.

b18cecb2504d44e083921fe245b579a29a33b918 987503 20-Aug-2010 rjung

Remove unneeded CHANGES entry.

dc52cac281d8b311dc47d115ed979f923b667679 987484 20-Aug-2010 rjung

Fix broken "creationdate" property in mod_dav_fs and remove remaining uses of sprintf() in the dav modules. This is a regression in 2.3.7 introduced by r931434. It calls sizeof() for a function parameter, which only returns the pointer size, not the size of the char array. Thus the "creationdate" property got truncated to three characters.

b92a868b537899a51efd8c200c396fa51c63839d 987359 20-Aug-2010 trawick

mod_proxy: Rename erroronstatus to failonstatus... ... by popular demand, and add documentation. Submitted by: Daniel Ruggeri <DRuggeri primary.net>

4fda5fb4cc40703a76e261bbf21ec1d6b51b7d3f 987153 19-Aug-2010 jim

And we are at 2.3.8-dev...

02fd88c85a9850109753b87612955ad372de1575 986974 19-Aug-2010 sf

Properly check the result returned by apr_ldap_init: There may have been an error even if ldc->ldap != NULL. PR 46076

da48ae521bcc2751f8eb8dfb02f7aab0f46943c6 986921 18-Aug-2010 sf

mod_rewrite: Log errors if rewrite map files cannot be opened PR: 49639

1374472d83ce061a431b7f6eeb5e5135fb4cd922 986090 16-Aug-2010 jim

For backends which are HTTP/1.1, do a quick test (ping) of the "connection" via 100-Continue for reverse proxies... ACO and Filip Hanik also helped out with the idea...

0a4924de8350e2bbfa16a27f42ff0bc61aa52d43 979121 25-Jul-2010 rjung

Update CHANGES.

ff5e24709209b13601480827b0fecf32c428ff32 979014 25-Jul-2010 rjung

Fix typo in CHANGES.

17d2e9e36be582b26559996c9dcad17e97a3bc21 978938 24-Jul-2010 sf

remove CHANGES entry of change reverted as part of r964156

7cfa48136e3b42a14cdff1a46b60f4e4d2ad5291 966869 22-Jul-2010 niq

Move AddOutputFilterByType implementation from core to mod_filter.

f8033d657a57eab45af44368774d8beb3e4f7f35 966348 21-Jul-2010 pquerna

CVE-2010-1452: Fix handling of missing path segments in the parsed URI structure. If a specially crafted request was sent, it is possible to crash mod_dav, mod_cache or mod_session, as they accessed a field that is set to NULL by the URI parser, assuming that it always put in a valid string. PR: 49246 Submitted by: Mark Drayton Patch by: Jeff Trawick

83de39879307034216ce0af15a47a88a55af11e3 966160 21-Jul-2010 rjung

Update SSL cipher suite and add example for SSLHonorCipherOrder.

927e277b4be750e06960b3d4f1c2b1ca146e0555 965824 20-Jul-2010 niq

Fix processing of long chunk extensions PR 49474

1a7a4f8c6a312cb237e428c77da0792eb165dc7a 965709 20-Jul-2010 niq

Don't risk segfault in authz if r->user is not set PR 42995

c8dcde16853eef36b713d4633fac83b66e49aa5e 965679 20-Jul-2010 niq

Enable SetEnv to set PATH PR 43906

133cbcba0df4ba0e72f7eaaaebabe119f145f261 965582 19-Jul-2010 niq

mod_include: recognise "text/html; parameters" as text/html PR 49616 diagnosed by Andrey Chernov

ab7a123efe997d907274eb672ab2b36746bb3f57 964173 14-Jul-2010 sf

Add CHANGES entry for r964156

a44d29a3794110c558c940bd903a1930d717a7d7 960399 04-Jul-2010 sf

Introduce note_auth_failure hook to allow modules to add support for additional auth types. This makes ap_note_auth_failure() work with mod_auth_digest again. PR: 48807

da20b997bf4652f7597e0a7845db371aab2f7187 960236 03-Jul-2010 rjung

Remove superfluous EOL from mod_rewrite logging. It's no longer needed, since mod_rewrite now uses our usual error log. The superfluous EOL was logged as '\n'.

39d67f66729a7008c1e73d65a81e778ce819a227 960233 03-Jul-2010 rjung

Allow to set environment variables using mod_rewrite without explicitely giving a value. Most modules only check presence of a variable, not the value, so it makes sense to make the VAL argument in the mod_rewrite ENV flag optional.

70003ce816d7851e49ecb0cdc5137becd647ed18 957235 23-Jun-2010 niq

Fix return values from socache modules when a key is not found in cache

b5e45168970cefb8b2d0bea709ea69790f3eab96 956966 22-Jun-2010 niq

New module: mod_authn_cache

77e28c16c8109d76c3b45717fa66ee74415db042 956524 21-Jun-2010 rjung

Remove comment about removal of OS/2 support from CHANGES and docs.

404381a78d109fd3a4a7702e69815e4d7ff6d93a 956387 20-Jun-2010 sf

Fix authorization by user or IP/ENV/... Note ap_note_auth_failure() breakage in STATUS

815067bc5eff8fc218019e18ee5ea868372917cd 956228 19-Jun-2010 sf

put the CHANGES entry under 2.3.7, where it belongs

212c401808586d1fecd0e639ec1697229674a151 956221 19-Jun-2010 sf

- Add reallyall option to configure to build everything that can be built with the available libs. - Remove redundant --with-distcache option. Simply enable distcache if mod_socache_dc is selected. - Enable serf support by default if serf is available in /usr.

9f2c7096ac1f41aca1328d304d54dbaef4ebb06d 955894 18-Jun-2010 rjung

Fix typo, sorry for the noise.

e11e5a1846fab1cb49159b430a439b63589eca57 955888 18-Jun-2010 rjung

Fix Windows build when using VC6. Comment character needs to be in column 1. Submitted by: Gregg L. Smith <lists glewis com>

9a06b6b4e83c29429c3a23d34acc41920af2024d 954991 15-Jun-2010 rjung

Fix typos in CHANGES.

8d6d2eb08364364b9e70ac778d5c1f9ef807d9ad 954980 15-Jun-2010 trawick

axe 2.3.0 CHANGES entries that have been delivered in a 2.2.x release

89cc93f847a5510482d72d21fc38e9edb8e04057 954862 15-Jun-2010 rjung

Fix obsolete reference to 2.1 in CHANGES. Likely we still have to clean CHANGES from things backported to 2.2.x.

2534e869d2ba209bd0c43717ea80992e6de0c51d 953682 11-Jun-2010 jim

roll on 2.3.7 development...

f55c048e33a905f9f771b3aed309373bdf547944 953311 10-Jun-2010 jorton

Run filter "init" functions exactly once per request. No longer run init functions for connection filters (doing an "init" once per handler invocation makes no sense for a connection filter). No longer run init functions multiple times per request if a subrequest is used. * include/util_filter.h (ap_filter_rec_t): Clarify use of the init function pointer. * server/config.c (invoke_filter_init): Drop ap_ prefix for private function; take a request_rec pointer and only invoke filters with matching request. (ap_invoke_handler): Adjust accordingly. PR: 49328 Reviewed by: rpluem

cddaaa6378c5082e8dff0d11dc21cf6c4928ecbc 952828 08-Jun-2010 jorton

* modules/http/http_request.c (internal_internal_redirect): For a subrequest, preserve any filters in the output filter chain which were not specific to the subrequest across the redirect (where f->r does not point to the subreq's request_rec). PR: 17629

9b2bd9e83cbb6f5debb2edba59a0c12089eb37c3 952823 08-Jun-2010 minfrin

mod_cache: Explicitly allow cache implementations to cache a 206 Partial Response if they so choose to do so. Previously an attempt to cache a 206 was arbitrarily allowed if the response contained an Expires or Cache-Control header, and arbitrarily denied if both headers were missing.

a89e2c1651aab7734345fa3a6712a757708535fe 952222 07-Jun-2010 rjung

Update CHANGES and bump minor MMN for new error log additions and ap_recent_ctime_ex().

adc9a2e2b2e56a7416c90f949bd0c72ddd6f1793 952143 07-Jun-2010 rjung

Update CHANGES: - Building modules as DSOs and the "most" module set by default. r952007, r952008, r952009 - Fixing VPATH build when using included APR. r951769, r951769 - Fixing mod_session_crypto build for APR 2 and VPATH r951766 - Fixing mod_session_crypto API incompatibility with APR 2 r951870

23bc6974af15e69a9aa4b5b3fc06b800b53ca234 951932 06-Jun-2010 sf

ab: Fix memory leak with -v2 and SSL. PR: 49383 Submitted by: Pavel Kankovsky <peak argo troja mff cuni cz>

298eb744831be682f749ffe1c01c88d82adf215e 951905 06-Jun-2010 sf

add to CHANGES and new_features_2_4

b9aa9ca00496f67eb755d67764775ff23ac7eb03 951393 04-Jun-2010 covener

s/is/was on the LDAP cache change

f2386b627177c7a80d38fed6ec0aed3c086909c1 951235 04-Jun-2010 covener

when we actually get a per-server config in a vhost, the shared memory cache was not in the merged config.

70d4e28f12f8cc2e130457c841095dc69c67cf31 951222 04-Jun-2010 minfrin

mod_disk_cache: Decline the opportunity to cache if the response is a 206 Partial Content. This stops a reverse proxied partial response from becoming cached, and then being served in subsequent responses.

8e8568ec7d29f056a2a4942d1d50481e441c25d9 950761 02-Jun-2010 covener

2.3.6 is under development, not 2.3.7. banner mistakenly added in r909323

1a668f25bc6b4b111822caaba70bb9289d64ade5 950302 02-Jun-2010 niq

Kill off edge case in mod_deflate where data may be sent before headers are determined. PR 49369 - Matthew Steele

7a6c86627922e38fa227943b9f888f96109681e5 950250 01-Jun-2010 covener

add CHANGES for r950249

17efe57eb8d88fa0d371f4ac4939dbbbe78fd09b 950248 01-Jun-2010 covener

mod_authnz_ldap: Search or Comparison during authorization phase can use the credentials from the authentication phase (AuthLDAPSearchAsUSer,AuthLDAPCompareAsUser). PR 48340 Submitted by: Domenico Rotiroti, Eric Covener Reviewed by: Eric Covener

8068423ee2d80a7c42b2325a71c24ac9485327ce 949436 29-May-2010 covener

mod_authnz_ldap: Allow the initial DN lookup to bind with a transformation of the basic auth username.

7703bad94964cc64022e08e2d1ae2c5fbfe2d3c6 949336 29-May-2010 covener

Allow mod_authnz_ldap to set environment variables when it only performs authorization. AuthLDAPAuthorizePrefix can be used to force this to overlap with the prefix used for authentication. PR 45584

689ee47a7329cf0d0ce4c5a98670b33fcf00d81b 944383 14-May-2010 trawick

apxs -q: Stop filtering out ':' characters from the reported values. PR: 45343 Submitted by: Bill Cole <apachebugz-20090909 billmail.scconsult.com>

5a2f24f5e41d52e59e1c11e90cd423b8967d4184 943650 12-May-2010 trawick

replace r942897 with the original submitted patch prefork MPM: Run cleanups for final request when process exits gracefully. PR: 43857 Submitted by: Tom Donovan

ee8a658b320d04a469ae4d1f26779f5a7e987346 943648 12-May-2010 trawick

revert the PR 43857 fix in r942897 based on a potential memory leak pointed out by jorton (original patch to be committed shortly)

5900a12c147d2d249a7fec37cd46f7847f9717f4 942897 10-May-2010 trawick

prefork MPM: Run cleanups for final request when process exits gracefully. PR: 43857 Submitted by: Tom Donovan, simplified slightly by me

fd80868005a61e747bc45b39df83cae7abb3d151 942209 07-May-2010 pgollucci

Fix the following: $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so fire up the following commands $> apxs -e -a -n autoindex mod_autoindex.so [activating module `autoindex' in /usr/local/etc/apache22/httpd.conf] $> apxs -e -a -n cgi mod_cgi.so [activating module `cgi' in /usr/local/etc/apache22/httpd.conf] This will result into the following httpd.conf $> grep -e autoindex_ -e cgi_ httpd.conf LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule cgi_module libexec/apache22/mod_cgi.so As you notice the modules are now loaded twice Now try to deactivate for the loaded ssl module $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so $> apxs -e -A -n ssl mod_ssl.so [preparing module `ssl' in /usr/local/etc/apache22/httpd.conf] $> grep ssl_ httpd.conf LoadModule ssl_module libexec/apache22/mod_ssl.so #LoadModule ssl_module libexec/apache22/mod_ssl.so As reported in FreeBSD ports PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704 Previously discussed with: wrowe@ This b/c '$lmd' expects the amount of space to be a fixed amount. Use \s+ to make any valid httpd.conf syntax work (i.e. at least 1 space)

19ce7effbcc8a735f1a883f9266e086fde2adb63 940526 03-May-2010 poirier

ab was sending wrong number of requests when keepalive enabled. Thanks to Bryn Dole for the patch. PR: 48497

5d58d0bc1ce35e0ee814b6c2dc21a5286e460b87 938265 27-Apr-2010 covener

Use the more specific 408 (timed out) instead of a generic 400 during a timeout reading a chunk-length.

8eac2273e3d5f2dc8464fada76fcfbf33a938a2f 937858 25-Apr-2010 covener

PR49167, unexpected 413 and double-errordoc during a timeout reading a chunk-size.

c6124d7fde07b58d51785d0f1cb509026eeaa138 936407 21-Apr-2010 jim

Add in BalancerNonce directive... useful for shared-secrets.

680e7b4c70df00b695883c824947ca6ec15d69ec 932927 11-Apr-2010 sf

mod_proxy_connect: Support port ranges in AllowConnect PR: 23673

3a49a6c98ef80c71830e66e7f8f46083001b494c 930254 02-Apr-2010 trawick

small style tweaks to r930125

d46dfdce9351f52a971777948d9b02f8fc668ff8 930125 02-Apr-2010 niq

Proxy balancer: support setting error status according to HTTP response code from a backend. PR 48939 [Daniel Ruggeri <DRuggeri primary.net>]

6fee4e2faa2e45fe2636d01e35d03c2cf0c9d431 928921 30-Mar-2010 minfrin

htcacheclean: Introduce the ability to clean specific URLs from the cache, if provided as an optional parameter on the command line.

03aa31ad82759363ba1a55589e517b16308ef635 928916 30-Mar-2010 minfrin

core: Introduce the IncludeStrict directive, which explicitly fails server startup if no files or directories match a wildcard path.

9fe23388f983cb652b5d68e2bd92aa9f0568c574 928223 27-Mar-2010 minfrin

htcacheclean: Report additional statistics about entries deleted. PR: 48944 Submitted by: Mark Drayton mark markdrayton.info

e9eabac76b50e8f00d0c391f6070d0f42db77aa2 925980 22-Mar-2010 wrowe

Introduce SSLFIPS directive to support OpenSSL FIPS_mode; permits all builds of mod_ssl to use 'SSLFIPS off' for portability, but the proper build of openssl is required for 'SSLFIPS on'. PR: 46270 Submitted by: Dr Stephen Henson <steve openssl.org>, wrowe

433d36fd71af86369719893afe09877be4cb4f3a 921583 10-Mar-2010 sf

r921347 had a bug report. Add a CHANGES entry.

14e5a8cc15b1dcc26ad5420973304e53a9e5406b 921378 10-Mar-2010 sf

Move initialization to process_connection hook, right before ap_process_http_request. This ensures that we are not inserted for other protocol handlers (like mod_ftp) and mod_proxy's backend connections.

bec2a2e375fe46599b68399abfcf67b89b270b57 919690 06-Mar-2010 wrowe

Sync Changelog

46fdfef7dfc745effe179387e1dcb8245d3804ba 919552 05-Mar-2010 trawick

try to get bug fix entries for future 2.3.7 alpha caught up with 2.2.15 where appropriate

573f949c582f06bd738a96196f40b646b6d540b8 919323 05-Mar-2010 rpluem

* Only log a 408 if it is no keepalive timeout. PR: 39785 Submitted by: Mark Montague <markmont umich.edu>, rpluem Reviewed by: rpluem

e1d33ac481c6683a069630c8f9aceec3a48babce 918428 03-Mar-2010 trawick

reflect assignment of CVE-2010-0434

f4845813cd6fa5749dfec8e3bc647b85c1df0980 917870 02-Mar-2010 wrowe

SECURITY: CVE-2010-0425 (cve.mitre.org) mod_isapi: Do not unload an isapi .dll module until the request processing is completed, avoiding orphaned callback pointers. Submitted by: Brett Gervasoni <brettg senseofsecurity.com>, trawick Reviewed by: trawick, wrowe

cf12a027b0859c14d5c4852efffeff62158cd98d 916789 26-Feb-2010 trawick

spelling

c44902d07eab7deb803a59e959f57cf3b7d56655 916377 25-Feb-2010 poirier

Add -L option to create a hard link to the current log file. PR: 48761 Submitted by: <lindon orthanc.ca> With additional changes by: poirier

ae1981fc94adf2b231e2d0e15d2f895b2138c969 915660 24-Feb-2010 covener

make some sense of the difference between "Client" and "Global" certs in mod_ldap. PR46541 Submitted By: Paul Reder, Eric Covener Reviewed By: Eric Covener

4ac05f9625e37cc421f4ea548422827b4de163d7 915407 23-Feb-2010 niq

mod_negotiation: Preserve query string over multiviews negotiation. PR 33112 Joergen Thomsen

6999a76d8eb5ef6b4b295e51df0b2fb6064bd373 915295 23-Feb-2010 covener

mod_ldap: Eliminate a potential crash with multiple LDAPTrustedClientCert when some are not password-protected.

a9d359cdeb1cee65cdb9fab5e19ffb4846172183 912668 22-Feb-2010 trawick

tweak formatting of some recent entries

ead0b57bbeaec5acb14f931b5641962f429dabc9 912666 22-Feb-2010 trawick

Fix startup segfault when the Mutex directive is used but no loaded modules use httpd mutexes. Add an init call from core's pre-config hook to ensure init is performed before the config is parsed. PR: 48787

77d6f9d5c2a5cab805e9ace265628f3d791b937d 912063 20-Feb-2010 niq

mod_proxy_http: get the headers right in a HEAD request with ProxyErrorOverride.PR 41646 Analysis by Stuart Children; patch by niq

9f35dd32eedd781d218a85f0315ea5526a8adc84 910719 16-Feb-2010 minfrin

support/rotatelogs: Support the simplest log rotation case, log truncation. Useful when the log is being processed in real time using a command like tail.

5dc4220fc22561537ce1421a03e11846a5b719eb 910705 16-Feb-2010 minfrin

support/htcacheclean: Teach it how to write a pid file (modelled on httpd's writing of a pid file) so that it becomes possible to run more than one instance of htcacheclean on the same machine.

bd27541a0c96caa881f17a490e23cdd220d480c8 910684 16-Feb-2010 poirier

Log command line on startup, so there's a record of command line arguments like -f. Suggested by Shaya Potter. [Dan Poirier] PR: 48752

68c4447ba8e057cf38cbbec918e0549b817f20b4 910017 14-Feb-2010 minfrin

Introduce mod_reflector, a handler capable of reflecting POSTed request bodies back within the response through the output filter stack. Can be used to turn an output filter into a web service.

e33d0698670fead33dbd7c907363053b9e2be454 909899 13-Feb-2010 minfrin

mod_proxy_http: Make sure that when an ErrorDocument is served from a reverse proxied URL, that the subrequest respects the status of the original request. This brings the behaviour of proxy_handler in line with default_handler. PR 47106.

cf8a8738330694e60bad421fcc8361d80b0e9124 909878 13-Feb-2010 minfrin

Support wildcards in both the directory and file components of the path specified by the Include directive.

4ea8055e720d18f386b8026b546e5836ecccba4a 909323 12-Feb-2010 rjung

Support remote https proxies by using HTTP CONNECT. PR: 19188 Submitted by: Philippe Dutrueux <lilas evidian.com> Reviewed by: rjung

60a8830541cd85d23a42ccb1639bc4744de9d526 906535 04-Feb-2010 poirier

worker: don't report server has reached MaxClients until it does. Add warning when within MinSpareThreads. PR: 46996

e1c6c1dac26c35ecebe158438bb0c56afbb9bfb0 906261 03-Feb-2010 sf

Fix CHANGES entry to reflect change in r904853

5ae15cd9d22fb3bdfd2eb0b9761c4ef07fbf2f96 905490 02-Feb-2010 minfrin

mod_session: Session expiry was being initialised, but not updated on each session save, resulting in timed out sessions when there should not have been. Fixed.

69fc9805c344b2dd5fd49a4f75cbf55dedeac7d6 905420 01-Feb-2010 minfrin

mod_log_config: Add the R option to log the handler used within the request. Submitted by: Christian Folini <christian.folini netnea com>

ca0a943242b488c162aa89874498e0316f7b2f2e 905406 01-Feb-2010 minfrin

Allow fine control over the removal of Last-Modified and ETag headers within the INCLUDES filter, making it possible to cache responses if desired. Fix the default value of the SSIAccessEnable directive.

dd90cc3ba2a09e7be46c9d8f5faad90edf18134f 904768 30-Jan-2010 sf

Allow the Define directive to undefine a variable by prefixing the argument with a '!'. PR: 35350

38451a13fb80b89e704792ebc0e6f9e5e5877d7d 904766 30-Jan-2010 sf

Ooops. We are at 2.3.6 by now.

b115299831a7b4bbec58a88d708d8536e1ecd50c 904765 30-Jan-2010 sf

Make ap_pregsub(), used by AliasMatch and friends, use the same syntax for regex backreferences as mod_rewrite and mod_include: Remove the use of '&' as an alias for '$0' and allow to escape any character with a backslash. Document the use of $0. PR: 48351

505e342aefa9fbccc857f1bc653a310e25511946 902654 24-Jan-2010 sf

mod_authnz_ldap: If AuthLDAPCharsetConfig is set, also convert the password to UTF-8. PR: 45318 Adapted patch from Johannes Müller

26734c75baf170a492ef6a82f07b24ee1af7d0b1 902642 24-Jan-2010 sf

ab: Fix number of requests per second in HTML output being to large by a factor of 1000 PR: 48594

dda254ba84bdff5e236917af1b31693ca4360eab 902641 24-Jan-2010 covener

Change LDAP authentication failures (user->DN or password check) to log level INFO from log level WARNING. This is still liberal for authn providers.

f80ef15dcf58050fbfbe12b000de043f6ae6ac82 901884 21-Jan-2010 pquerna

roll on to 2.3.6-dev

8e5e9b2d4c6cbcd21ca182fe1109d59284239515 901589 21-Jan-2010 wrowe

Because the redirect-request survives logging, we don't have the same exposure as subrequests, and this change would have doubled the headers. Revert this bit of the headers_in 'consistification' Noted by rpluem.

3becbd2611ffb2e8391a8eacce765b43dcb1c669 901578 21-Jan-2010 wrowe

Correctly align the behavior of headers_in to be consistent with the treatment of headers_out, resolving PR 48359 by keeping subrequest scope changes out of the main request headers. This ensures that all requests-without-bodies behave as the requests-with-bodies code has. Mitre: CVE-2010-0434

9c78f8d71737dfbbbf4da2f9acb397567a10e88b 900022 16-Jan-2010 sf

Turn static function get_server_name_for_url() into public function ap_get_server_name_for_url() and use it where appropriate. This fixes mod_rewrite generating invalid URLs for redirects to IPv6 literal addresses.

4be9c459920a7c1cfe62d654327dae5c4bb6b284 898102 12-Jan-2010 sf

Introduce new config option LDAPTimeout to set the timeout for operations like bind and search. For operations other than search, the support of the timeout depends on the LDAP SDK supporting LDAP_OPT_TIMEOUT (e.g. OpenLDAP >= 2.4.4). An exception is the ldap_simple_bind() in uldap_connection_open(): Here we put some extra effort into detecting a timeout in a portable way, to catch an idle connection having been dropped by a firewall.

47ff2654d827dd3596ce2e4099d69cec0f1009b9 894526 30-Dec-2009 takashi

Move ProxyFtpDirCharset from mod_proxy to mod_proxy_ftp.

b4ae72381175122ebfe42ff0d11db7a7f4162014 894522 30-Dec-2009 takashi

follow up r894425: *) CHANGES: order *) ap_mmn.h: Not in 2.3.4 but 2.3.5. *) doc: Add compat note.

6999392397afe570edd74d91583a4df1822baa39 894425 29-Dec-2009 takashi

Move AllowCONNECT from mod_proxy to mod_proxy_connect.

d31d6c32262a8d1cbfc63d9f7adccae46002c8f7 894041 27-Dec-2009 niq

mod_filter: enable filters to be configured on non-200 responses PR 48377

64dbb5532fba398c5e81efeb21c7fd50c05819d7 894036 27-Dec-2009 niq

mod_headers: Enable multi-match-and-replace edit option PR 47066

3a183ee5b8f8129f6d3ec493be51abacda7c6ea7 894034 27-Dec-2009 niq

mod_headers: align Header Edit with Header Set on Content-Type PR 48422 Adapted patch from Cyril Bonté

e076b09731977eafcef2bfc6f5323f3ab7e83b15 893955 26-Dec-2009 niq

Fix r893871 as noted by rpluem, to remove risk of returning a relative-ised URL, and fix erroneous CHANGES bug attribution.

3fba96a56fbced0f14edde04f417d74d7f5bdb1e 893871 25-Dec-2009 niq

Proxy: fix ProxyPassReverse with relative URL PR 38864

c26aa743a70c2148cdca1e6c637c605d9025b051 893035 22-Dec-2009 niq

mod_autoindex: support XHTML as equivalent to HTML in IndexOptions, ScanHTMLTitles, ReadmeName, HeaderName PR 48416 [Dmitry Bakshaev <dab18 izhnet.ru>, Nick Kew]

1fdcfb04a08e53ce28af657d854922efbbabecf4 893027 22-Dec-2009 niq

(re)-introduce -T commandline option to suppress documentroot check at startup PR 41887 Patch by Jan van den Berg

f43104f173247435cb4ade2b89aa2ca8108aedb7 892678 21-Dec-2009 niq

Reject requests containing (invalid) NULL characters in request line or request headers. PR 43039

5e1ae35c05125b8b6c6c648c60e576f5796ea061 892289 18-Dec-2009 rpluem

* Do an exact match of the keys defined by CacheIgnoreURLSessionIdentifiers against the querystring instead of a partial match. PR: 48401 Submitted by: Dodou Wang <wangdong.08 gmail.com> Reviewed by: rpluem

b9a830d395feaa66ab621841a5cd86e1fa2d184b 891230 16-Dec-2009 rjung

Fix crash in balancer-manager. This was due to an incomplete refactoring in r771940 (switching balancer->workers to an array of pointers). It's likely that other balancer functionality was broken too.

781e88a37addaf8d7432cc030e1d177b9cf74b26 889408 10-Dec-2009 rpluem

* Ensure that the new table values are allocated from the pool of the main request as they might be added to the header tables of the main request. Otherwise these values might become invalid once the subrequest and its pool gets destroyed. PR: 48359 Submitted by: rpluem, niq Reviewed by: niq

82e6711dc508d2822d9397f07136ba4ddd8764e1 888310 08-Dec-2009 niq

Don't keepalive when we send a non-100 response while Client is expecting 100 and may be feeding us continuation data. PR 47087

bcb567d8f48f5de8aa84e0b19e93357e0a4d970e 884313 25-Nov-2009 pquerna

sync to CHANGES to 2.3.4/2.3.5

11f2c481e1d57bedb3f758565307501e9a2730dd 883540 24-Nov-2009 trawick

Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex, and WatchdogMutexPath with a single Mutex directive. Add APIs to simplify setup and user customization of APR proc and global mutexes. (See util_mutex.h.) Build-time setting DEFAULT_LOCKFILE is no longer respected; set DEFAULT_REL_RUNTIMEDIR instead. Some existing modules, such as mod_ldap and mod_auth_digest gain configurability for their mutexes.

4aa736735709d0434c02ae6cc65b0738eb9882cc 883082 22-Nov-2009 takashi

KeepAlive no longer accepts other than On|Off.

99d46a23c6eac800f327b29f8009f7d7da986230 882274 19-Nov-2009 trawick

Remove errno from dav_error interface. Calls to dav_new_error() and dav_new_error_tag() must be adjusted to add an apr_status_t parameter. Reviewed by: jorton

6c2782f8988f498ad9e5fc84256e202175c3edc9 881808 18-Nov-2009 covener

Add AuthLDAPBindAuthoritative to allow other authentication providers a chance to run when mod_authnz_ldap finds a user but can't verify their password. Submitted By: Justin Erenkrantz, Joe Schaefer, Tony Stevenson

bf27540ecb929632fd82264742045c96006c382c 880801 16-Nov-2009 niq

Logging in to bugzilla gives me the bug reporter's details to record correctly in CHANGES.

a50db00c3663c2a0d3531965c64d995516b06288 880794 16-Nov-2009 niq

Build: fix --with-module to work as documented PR 43881 Submitted: Gez Saunders Reviewed: Nick Kew

ab1b172430f2d4e1b222b541bb8c1d431c1a7bc7 835095 11-Nov-2009 sf

fix CHANGES entries: mod_dav_fs -> mod_dav

68686064650b23222461014a11558593de194bbc 834568 10-Nov-2009 trawick

s/cange/change/

304903af1cf77cbdfa07e8a6482f35f3d9d7b0f3 834533 10-Nov-2009 sf

Revert removal of the key_type byte in the lock key. There is no need to break the format on systems without inodes.

8a0c75e992cc657a98317e78374b800d16963cfa 834440 10-Nov-2009 trawick

fix e-mail address format

ea6ff3396df1d6d43ee0ecfa3e26ada981d8e9a3 834378 10-Nov-2009 sctemme

enable support for ECC keys and ECDH ciphers. Tested against OpenSSL 1.0.0b3. [Vipul Gupta vipul.gupta sun.com, Sander Temme]

8315a125b56710a222167e4d65b96c3c891f4b25 834245 09-Nov-2009 sf

mod_dav_fs: Include uri when logging a PUT error due to connection abort. PR: 38149

3f985866b9b5b49fb57735b5eb135591163f30df 834230 09-Nov-2009 sf

Return 409 instead of 500 for a LOCK request if the parent resource does not exist or is not a collection. PR: 43465

7f51e5c395d431b8c20226f77de28efe13272bfa 834107 09-Nov-2009 sf

There is a bug report for r834073, therefore add a CHANGES entry. Fix litmus warning: According to RFC2518, COPY to non-existant collection should give 409 CONFLICT. PR: 39299

17d64c884a44f5ca72f6901afd3e50991bfc1c63 834062 09-Nov-2009 sf

Don't delete the whole file if a PUT with content-range failed. PR: 42896

a6e4caaa97e433cc2ef78d957bc32756d9c49f79 834049 09-Nov-2009 sf

Make PUT with DAV_MODE_WRITE_TRUNC create a temporary file first and, when the transfer has been completed successfully, move it over the old file. Since this would break inode keyed locking, switch to filename keyed locking exclusively. PR: 39815 Submitted by: Paul Querna, Stefan Fritsch

a96ba81cada826f2a9ab1e24218a77bfadfc31d8 833738 07-Nov-2009 sf

mod_log_config: Make ${cookie}C correctly match whole cookie names instead of substrings. PR: 28037 Submitted by: Dan Franklin <dan dan-franklin.com>, Stefan Fritsch

95c95cf3925a14eb3a210dde011e33818541ac0f 833322 06-Nov-2009 pctony

Touch file, SVN testing. Eeek =)

0af58edfee6112cc3399e0e693340e525b96ab1c 832434 03-Nov-2009 trawick

Change the configure-based MPM build mechanism to support building an MPM as a shared shared or dynamic module, primarily using the APACHE_MPM_MODULE() function. --enable-mpms-shared now builds/installs the MPMs as dynamic modules. (But no LoadModule directives are added.)

4f133508c93204c06e1acba9774ff184e5812606 832172 02-Nov-2009 niq

Vhosts: treating a pure-numeric Host header as a port is nonsense. PR 44979

87587593f1a53030e840acc0dec6cc881022ea40 831542 31-Oct-2009 covener

Stop trying to set the referral HOP limit on each connection since most SDKs don't seem to do anything with it, and causes an error on released openldap levels. Also moves/remove some macros internal to mod_ldap out of the public header for a major bump. Reported against APR in PR47501, but httpd shouldn't be asking for the option by default.

52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9 829664 25-Oct-2009 covener

CharsetOptions NoImplicitAdd wasn't referenced during insert_filter callback. Doc: Correct defaults, charset_lite inserts itself by as soon as you tell it about input and output character sets.

89b8bbc89404e7071e573c4f0a17f528996e855d 829619 25-Oct-2009 jorton

Add support for OCSP "stapling": * modules/ssl/ssl_util_stapling.c: New file. * modules/ssl/config.m4, modules/ssl/mod_ssl.dsp: Build it. * modules/ssl/ssl_toolkit_compat.h: Define HAVE_OCSP_STAPLING if OpenSSL is of suitable version (>= 0.9.8g) and capability (TLS extension support enabled). * modules/ssl/mod_ssl.c: Add config directives. * modules/ssl/ssl_private.h: Add prototypes for new functions. (SSLModConfigRec): Add fields for stapling socache instance and associated mutex. (modssl_ctx_t): Add config fields for stapling. * modules/ssl/ssl_engine_init.c (ssl_init_Module, ssl_init_Child): Call the stapling initialization functions. * modules/ssl/ssl_engine_config.c: Add config hooks. * modules/ssl/ssl_scache.c: Create, initialize and destroy the socache instance for OCSP responses. Submitted by: Dr Stephen Henson <shenson oss-institute.org>

e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061 829362 24-Oct-2009 sf

Only allow parens in filename if cachesize is given. Return error otherwise to catch missing parens.

6bc4f334a04802bab835893d0c42af8bfb9c3c41 829185 23-Oct-2009 sf

Only parse cache size in parens at the end of the string. Fixes SSLSessionCache directive mis-parsing parens in pathname. PR: 47945

53593dbd8fece82cb66a23f0b7024d8d713d66f1 826822 19-Oct-2009 sf

htpasswd: Improve out of disk space handling PR: 30877

79e3f2f950745953fff4a6a8dfe1f7cce31ce287 826805 19-Oct-2009 sf

Change the default algorithm for htpasswd to MD5 on all platforms. Crypt with its 8 character limit is not useful anymore.

ab2b977442827214b1d884decf3e3f1579fd45e1 826772 19-Oct-2009 rpluem

* Reduce memory consumption when processing very long lines by at least doubleing the size of the new buffer each time. PR: 48024 Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com> Reviewed by: rpluem

195edf54eccd8c5a436c7dd17f5f604e7074d5d1 826497 18-Oct-2009 sf

ab: Fix segfault in case the argument for -n is a very large number. PR: 47178 Submitted by: Philipp Hagemeister <oss phihag.de> Reviewed by: Stefan Fritsch

3709b26f3370ae89c5324a3c03fab56a93b09ecd 824072 11-Oct-2009 sf

Allow ProxyPreserveHost to work in <Proxy> sections PR: 34901

03577bc320125eaa2b27ee7af78b894ee6dfe121 823794 10-Oct-2009 takashi

configure: Fix THREADED_MPMS so that mod_cgid is enabled again for worker MPM.

f5119c5d7cfe8c6d53cb29d43f8746684068ed82 823703 09-Oct-2009 minfrin

mod_dav: Provide a mechanism to obtain the request_rec and pathname from the dav_resource. Submitted by: Jari Urpalainen <jari.urpalainen nokia.com>, Brian France <brian brianfrance.com>

94713632faf403489b3f8b4e0ed65e1011ac4991 823618 09-Oct-2009 takashi

Add PR number for r823613.

f74d35a61a835e15412b99b8aebe4958fe4e94a5 823613 09-Oct-2009 takashi

Build: Use install instead of cp if available on installing modules to avoid segfault. Submitted by: <hirose31 gmail.com> PR: 47951

20216b769716c4346cce373f2028d7dbebf03886 823536 09-Oct-2009 poirier

mod_cache: add Cache-control: s-maxage to cacheability decisions per RFC 2616.

7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bd 823337 08-Oct-2009 sf

mod_logio: introduce new optional function ap_logio_get_last_bytes to get total byte count of last request. core: Use ap_logio_get_last_bytes to report more accurate byte counts in mod_status if mod_logio is loaded. Without mod_logio, don't increment counts for HEAD requests. PR: 25656

70f2353490978ab1385316fb050552b037dcf575 822881 07-Oct-2009 sf

remove CHANGES entry

08cbd6e24e1253e030bd7a29f95f98f8d4164c14 822870 07-Oct-2009 sf

Update comments in util_filter.h about bucket and brigade ownership to reflect current practice and the advice from manual/developer/output-filters.xml. Submitted by: Rici Lake <rici ricilake.net> Reviewed by: Stefan Fritsch, Joe Orton

ecc6e723b804fb4b8f858910eff3f88242ec56fa 822458 06-Oct-2009 sf

Work around broken cache management in mod_ldap: If LDAPSharedCacheSize is too small, try to free some memory by purging the cache and log a warning. Also increase the default LDAPSharedCacheSize to 500000. This is a more realistic size suitable for the default values of 1024 for LdapCacheEntries and LdapOpCacheEntries. PR: 46749

727d68c6009030f56a350b4603384ce4fb844341 822004 05-Oct-2009 minfrin

mod_rewrite: Make sure that a hostname:port isn't fully qualified if the request is a CONNECT request. Submitted by: Bill Zajac <billz consultla.com>

ed6dfb7d7057dc4f42348f12d7bff9fe98fc73cf 821993 05-Oct-2009 minfrin

mod_cache: Teach CacheEnable and CacheDisable to work from within a Location section, in line with how ProxyPass works.

43563ad04e4bae7b42f7a34a87b7c60dc69c0c3f 821763 05-Oct-2009 poirier

Back out r818492 which prevented all caching of incomplete responses. Instead move the check to mod_disk_cache. This leaves cache implementations the flexibility to implement caching of incomplete responses. PR: 15866

4dee28b6fc8fff5efde4e7821aeb6defed3fb84d 821591 04-Oct-2009 sf

Add mod_reqtimeout: New module to set timeouts and minimum data rates for receiving requests from the client.

745417156908df54538ca284b382ce8d27b30066 821542 04-Oct-2009 minfrin

Correct the attribution in CHANGES.

23247a8f748077bc788a5fbaf91d5fad34d0b7d1 821477 04-Oct-2009 sf

Make sure to not destroy bucket brigades that have been created by earlier filters. Otherwise the pool cleanups would be removed causing potential memory leaks later on.

58015652ffe00f004c6404a0631474f23dadc7da 821471 04-Oct-2009 sf

core, mod_deflate, mod_sed: Reduce memory usage by reusing bucket brigades in several places

2af38cc44e48753913565b38a7a9f325f898a293 821333 03-Oct-2009 minfrin

mod_cache: Fix uri_meets_conditions() so that CacheEnable will match by scheme, or by a wildcarded hostname. PR: 40169 Submitted by: Peter Grandi <pg_asf asf.for.sabi.co.uk> Reviewed by: Graham Leggett

fc2f0972572614b50523bc5ddb3f866ca4acd2f0 821321 03-Oct-2009 sf

suexec: Allow to log an error if exec fails by setting FD_CLOEXEC on the log file instead of closing it. PR: 10744 Submitted by: Nicolas Rachinsky Reviewed by: Stefan Fritsch

251430bcaff1fa6a77953bfe56475eb6cc7abc78 821298 03-Oct-2009 sf

Make RemoveType override the info from TypesConfig

7b467aa53854c95318a1c709709c1619a4f47118 821202 03-Oct-2009 minfrin

mod_cache: Introduce the option to run the cache from within the normal request handler, and to allow fine grained control over where in the filter chain content is cached.

7ba7402d405dc9e3c1083e34049ed933472ca910 820760 01-Oct-2009 poirier

core: Treat timeout reading request as 408 error, not 400. Log 408 errors in access log as was done in Apache 1.3.x. PR: 39785 Submitted by: Nobutaka Mantani, Stefan Fritsch Reviewed and added to by: Dan Poirier

4286d2e267e788d856092bf2ccf461e7ca99570f 820401 30-Sep-2009 rpluem

* Fix a regression from r724717 by reintroducing SSL_CLIENT_S_DN, SSL_CLIENT_I_DN, SSL_SERVER_S_DN, SSL_SERVER_I_DN back to the environment variables to be set by mod_ssl. Submitted by: Peter Sylvester <peter.sylvester edelweb.fr> Reviewed by: rpluem

5357892a1e367372dc2d4a315156e3e44dc5d56d 818492 24-Sep-2009 poirier

mod_cache: don't cache incomplete responses, per RFC 2616, 13.8. PR: 15866

b42af5f6edf4fe4b820288c37920a7a6fd65f1f1 818204 23-Sep-2009 poirier

Fix a segfault in ab when run in verbose mode using https. PR: 46393 Submitted by: Stefan Fritsch <sf sfritsch.de>, Ryan Niebur Reviewed by: poirier

49cea03e96dc4707bce15d6318eb013cb8668d96 816893 19-Sep-2009 minfrin

mod_dav: Allow other modules to become providers and add resource types to the DAV response. Submitted by: Jari Urpalainen <jari.urpalainen nokia.com>, Brian France <brian brianfrance.com>

80370e62044bea458bcd0545c59cb864ed117b04 815502 15-Sep-2009 niq

Change Fallback to FallbackResource after extensive discussion with wrowe and DrBacchus.

561dfbf9bb1f0799ca6676e3475703959d3032ad 815380 15-Sep-2009 niq

Change "DefaultHandler" to "Fallback" as discussed on list and today on IRC, in the hope that everyone will be satisfied. PR: 47184 + subsequent veto of original directive name

86bb763be5d87c295c8844d30078da2ddb964f73 814866 14-Sep-2009 rpluem

* Follow the standard CHANGES format for security changes.

63eaa8ed62d63de0a44346b8af48e08e562db01e 814860 14-Sep-2009 minfrin

Correct attribution for mod_dav options provider interface.

ba217dc41cebc0976010ee177f8fedac782d1f6f 814850 14-Sep-2009 minfrin

Add attribution and CVE notices.

847b3922f7dcde6830f4aad49d29c84b4569c260 814832 14-Sep-2009 minfrin

mod_dav: Allow other modules to add things to the DAV or Allow headers of an OPTIONS request. Submitted by: Brian France <brian brianfrance.com>

1af2b28846e2647963db788b081676884fb7df8c 814807 14-Sep-2009 rpluem

* Lower memory usage by reusing the brigade instead of constantly recerating one. Submitted by: Stefan Fritsch <sf sfritsch.de> Reviewed by: rpluem

845258fbf5102b8b09fe9b7f4cb4ea4c089344c3 814728 14-Sep-2009 poirier

mod_mime: detect invalid use of MultiviewsMatch inside Location and LocationMatch sections. Document that such usage is not valid. PR47754.

5d36cddfe00d5c6ad18845fcc04e6f7662050faf 814337 13-Sep-2009 minfrin

mod_request: Make sure the KeptBodySize directive rejects values that aren't valid numbers.

20aa41f86a5b451529d26d9b901eea69989e5c0a 814334 13-Sep-2009 minfrin

mod_session_crypto: Sanity check should the potentially encrypted session cookie be too short.

8c92aeeb75b1b393f61a3e01c495484737a0ff8c 814327 13-Sep-2009 minfrin

mod_session.c: Prevent a segfault when session is added but not configured.

1018201f5223624476334c6e23aead02db7c4040 814091 12-Sep-2009 minfrin

htcacheclean: 19 ways to fail, 1 error message. Fixed.

e5db2522dbe503cbf5399094b6239c88c246a8c5 813396 10-Sep-2009 poirier

Fail server startup when mod_auth_digest is unable to provide the security checks configured.

dc111bcea580da3da174c25be0fd7a8f22c86fe1 813376 10-Sep-2009 jim

veto-ed

ad7e5e9fb8f63a5155bb392114162997505ff772 813178 10-Sep-2009 minfrin

mod_proxy_connect: The connect method doesn't work if the client is connecting to the apache proxy through an ssl socket. Fixed. PR: 29744. Submitted by: Brad Boyer, Mark Cave-Ayland, Julian Gilbey, Fabrice Durand, David Gence, Tim Dodge, Per Gunnar Hans, Emmanuel Elango, Kevin Croft, Rudolf Cardinal

59cb8d601b8c44476e59310f68b9c373d8fc62a6 813105 09-Sep-2009 minfrin

mod_ssl: The error message when SSLCertificateFile is missing should at least give the name or position of the problematic virtual host definition. [Stefan Fritsch sf sfritsch.de]

ec8b1faa56744b338f6d6421144b56c2bb3faae6 812934 09-Sep-2009 poirier

mod_auth_digest: When qop is none, client doesn't send nonce count, but module was segfaulting trying to check the nonce count anyway.

10abdcbd7b30d957d15c61ea8100ba97a627ac95 811806 06-Sep-2009 minfrin

Add support for HTTP PUT to ab. Submiited by: Jeff Barnes <jbarnesweb yahoo.com>

7a6d0f672bde56d7b685e13f21db79803740efaa 808965 28-Aug-2009 jim

And additional ServerTokens improvement...

2eb5346b17b3b69767cfe87d0f632efd6d15500d 808895 28-Aug-2009 jim

OK, might as well finish this... Allow ServerTokens Off

87e0bf269cc3386ee8e6ab561ff00770151f4f53 808240 27-Aug-2009 niq

mod_headers: generalise the envclause to support conditional header rules via ap_expr.

3c67b7956d44501360506a9f13a5011be73b30ec 808212 27-Aug-2009 minfrin

mod_cache: Introduce the thundering herd lock, a mechanism to keep the flood of requests at bay that strike a backend webserver as a cached entity goes stale.

97d20d37d21b8d427a920e211858172f0a82427e 808150 26-Aug-2009 poirier

Fix shm, rmm, and lock problems. PR: 16057

8e04e8ec7d682bff5e6dccdd70c082971a88cb8b 807015 23-Aug-2009 niq

Preserve port over internal redirection PR#35999 A four-year-old buglet!

53c999a82fcca729dabc8a512b3fb996d61fd814 806920 23-Aug-2009 niq

Return consistent error status for proxy unable to connect PR 46971

25d0f8adcab13255494a3572edff1a25f6fbeea3 804764 16-Aug-2009 rpluem

* Do better checking of pollset operations in various places to avoid segfaults. PR: 46467 Submitted by: Stefan Fritsch <sf sfritsch.de> Reviewed by: rpluem

dd9ae259e1578c4388739c880ede97c55cec543f 803704 12-Aug-2009 rpluem

* Correctly create an empty cell if the description for a file is missing. PR: 47682 Submitted by: Peter Poeml <poeml suse.de> Reviewed by: rpluem

0938450cadc9a083d112a86bc7dd7ae34f791364 798943 29-Jul-2009 trawick

ab: Fix broken error messages after resolver or connect() failures. The APR error code was truncated because ab used an incorrect data type.

43d051c8401a1f3b4f7853cd897d3565ab814ea7 797563 24-Jul-2009 poirier

htdbm: Fix possible buffer overflow if dbm database has very long values. PR 30586 [Dan Poirier] PR 30586 Reported by: Ulf Harnhammar, Swedish IT Incident Centre

2f34374f6e04b9094a1d13a5ed823f331ba841a3 792409 09-Jul-2009 rpluem

* Return APR_EOF if request body is shorter than the length announced by the client. PR: 33098 Submitted by: Stefan Fritsch <sf sfritsch.de>

7a25b029b69f169bd22718165dff3b271114f92e 791337 06-Jul-2009 niq

Correctly set suexec_enabled when httpd is run by non-root PR 42175

8bed7ee6d97933b958e97e222f37154d83e384e5 790587 02-Jul-2009 jorton

Security fix for CVE-2009-1890: * modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Specify the base passed to apr_strtoff, and validate the Content-Length in the same way the HTTP_IN filter does. If the number of bytes streamed exceeds the expected body length, bail out of the loop. Thanks to: Toadie <toadie643 gmail.com> for reporting and diagnosis of this issue. Submitted by: niq, jorton

3e6a46d2fecf446daf0e280a49fa5565f5f635ea 787683 23-Jun-2009 jorton

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_dn_rec): Map the _UID variable to NID_userId, where defined by OpenSSL. PR: 45107 Submitted by: Michael Ströder <michael stroeder.com>, Peter Sylvester <peter.sylvester edelweb.fr>

0df8f79d2324b131c36955d7e474a735a762f9ee 785661 17-Jun-2009 niq

mod_proxy_http: fix case sensitivity checking transfer encoding PR 47383 [Ryuzo Yamamoto]

30e3e760b737f13ce800fa02c5930ade7659ba66 785575 17-Jun-2009 niq

mod_alias: Ensure Redirect issues a valid URL PR 44020 Patch by HÃ¥kon Stordahl

e991c6fc032c59eb6cb751d9d382e933a53a2866 785425 16-Jun-2009 niq

Add DefaultHandler directive to mod_dir. PR 47184

9a00e2d46c44c111d6952e553a2f1a61b7594eb3 783740 11-Jun-2009 rpluem

* Close the listening Unix socket of the mod_cgid daemon in the CGI scripts. PR: 47335 Submitted by: Kornél Pál <kornelpal gmail.com> Reviewed by: rpluem

33d9be77cc6f5fc8734e9c1f526b82d359955152 783734 11-Jun-2009 rpluem

* Remove locking for writing to the rewritelog. There seems to be no reason why locking is required here. See also: http://marc.info/?l=apache-httpd-dev&m=124282193217344&w=2 PR: 46942 Submitted by: Dan Poirier <poirier pobox.com> Reviewed by: rpluem

172e83c0f024fe6396dd1f3ca3492fd83c304db5 780648 01-Jun-2009 jim

Fix error with arg counting

da128c59ec571c4dff70f41ecba9c8a9974c6cd6 778942 27-May-2009 niq

mod_alias: Enforce sanity in args to Redirect PR 44729

45932a847f237b4d8f0667b138bd3f8a15fb53ff 778531 26-May-2009 niq

Fix IPv6 literal addresses passed to a proxied backend. PR 47177 Patch by Carlos Garcia Braschi

186e9d990f453d16826ab87a87df7b87e6e05921 777042 21-May-2009 rpluem

* Add CacheIgnoreURLSessionIdentifiers directive to ignore defined session identifiers encoded in the URL when caching.

6861702c2d883e5c0744d5f7528d2060671ad24d 776325 19-May-2009 takashi

Fix the error string returned by RewriteRule. RewriteRule returned "RewriteCond: bad flag delimiters" when the 3rd argument of RewriteRule was not started with "[" or not ended with "]". PR: 45082 Submitted by: Vitaly Polonetsky <m_vitaly topixoft.com>

58e112e14fcfd2eaf32b34a9490c7794f896e8bc 774888 14-May-2009 rjung

Revert second part of r774755.

917a794f7b32c11ae63b4d23c3b233e52eab0adf 774755 14-May-2009 rjung

Allow relative pathnames for piped loggers in ErrorLog.

f1f779c42f76118102fdecbe8777b47a1fc693a7 772356 06-May-2009 rjung

Fix usage message on the Windows platform. - do not include graceful commands and duplicate start|restart|stop - add ServerRoot to the parameters encapsulated by "-n"

292cb7b720095e7bb434d79ae53b02d332aeb99a 767994 23-Apr-2009 covener

Pass the $@ array and not the flattened version of it in non-SysV mode: $ bash -x bin/apachectl -t -c "foo bar" before: +bin/httpd -t -c foo bar after: +bin/httpd -t -c 'foo bar'

d33ddda47790d3295f4218f87e3a296cf51a9bec 767089 21-Apr-2009 mjc

Use CVE-2009-1191 for this issue. We would only share a CVE name where the flaw was due to a shared code base, and this isn't the case for the mod_jk CVE-2008-5519 issue.

137e484e5f984ceff1102e1212dda8ac0413231a 766938 21-Apr-2009 niq

mod_dbd: add DBDInitSQL command. PR 46827 Patch by Marko Kevac.

14b8d9d160225260527b8f9d497a1f11256ae8a1 765725 16-Apr-2009 trawick

mod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock). Dynamically allocate the AF_UNIX sockaddr based on the required filename size. For some platforms (e.g., Solaris, OS X, FreeBSD), this allows longer socket filenames to be used. When the name is too long, the failure reporting is more consistent and a socket with truncated pathname is not left stranded. The user still needs to use ScriptSock to specify a shorter name. An extra unlink() failure message may be generated when attempting to clean up the socket after a daemon initialization error; the message is surpressed for ENOTENT, but not for ENAMETOOLONG. PR: 47037

d0cd62f11bcd8fa9bf758c5125f55cea5d9038df 764239 11-Apr-2009 rpluem

* Check more strictly that the backend follows the AJP protocol. Submitted by: mturk

c7d46b58052fe666c74a47bd26b6cb1e351492ad 763885 10-Apr-2009 rpluem

* Add CVE number

4e08c8c1a91e2887b41d8cacd3aa532355d0237d 763394 08-Apr-2009 rpluem

* Avoid delivering content from a previous request which failed to send a request body by closing the connection to the backend in this case instead of reusing it. CVE: CVE-2008-5519 PR: 46949 Reviewed by: jim, wrowe

51d55be8bbc6652c13bc80d920f4331f7152dcee 761329 02-Apr-2009 rjung

The remote port information was forgotten from the builtin data of the AJP 13 protocol. Since the servlet spec allows to retrieve it via getRemotePort(), we provide the port to the Tomcat connector as an additional request attribute. Modern/future Tomcat versions know how to retrieve the remote port from the attribute AJP_REMOTE_PORT. See: https://issues.apache.org/bugzilla/show_bug.cgi?id=41263 http://svn.eu.apache.org/viewvc?view=rev&revision=756926 http://svn.eu.apache.org/viewvc?view=rev&revision=757223

27c7a7cad9e83eeebad0a4d5a321144394adc3f9 761246 02-Apr-2009 trawick

document the key API considerations related to the changes for loadable MPMs, and give unbundled modules an MMN to check for

8f2700898323915da289644dc1f3ee11a5e5b4ea 760866 01-Apr-2009 rpluem

* Add SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN directives to enable stricter checking of remote server certificates. (docs/manual/mod/mod_ssl.xml) Documentation of SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN. (modules/proxy/mod_proxy_http.c) Set the hostname of the request URL as note on the connection. (modules/ssl/ssl_private.h) Add proxy_ssl_check_peer_expire and proxy_ssl_check_peer_cn fields to the SSLSrvConfigRec. (modules/ssl/ssl_engine_config.c) Directives stuff for SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN. (modules/ssl/ssl_engine_io.c) Check whether the remote servers certificate is expired / if there is a mismatch between the requested hostanme and the remote server certificates CN field. Be able to parse ASN1 times. (modules/ssl/mod_ssl.c) Directives stuff for SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN.

b178963bae64a9a5fb7b48dcdec4420158aa66a9 760379 31-Mar-2009 niq

http://marc.info/?l=apache-httpd-dev&m=123845333914309&w=2

9df14848a9c26de425517cc4e1f2b8953891d050 760167 30-Mar-2009 niq

HTTPD script support When a script returns a no-body response code, pretend it was a HEAD request so as to drop any body the script might erroneously generate.

b20f76a400e77d3631f3507ff22d68ae6bd25323 759946 30-Mar-2009 trawick

edit CHANGES for r759924

e7983ce746b0df56a1b74b42da6d82f5ecb99349 759832 30-Mar-2009 covener

*) ab: Fix a 100% CPU loop on platforms where a failed non-blocking connect returns EINPROGRESS and a subsequent poll() returns only POLLERR. Observed on HP-UX.

a45125b6474e878ba177025a0584b71cee9c8f32 759681 29-Mar-2009 trawick

fix mispelled module name (helps look for applicable fixes)

bbcfb8ab8e22f90fdf346e9993bd58ba2203b182 759046 27-Mar-2009 trawick

start an entry to list the axed platforms

d1745d6933c22c807cf2388332426defd1b19f03 758626 26-Mar-2009 covener

Add mod_proxy_ftp directives ProxyFtpListOnWildcard and ProxyFtpEscapeWildcards to allow filenames with globbing characters to be retrieved instead of presented in a directory listing. Submitted by: Dan Poirier <poirier pobox.com> Reviewed by: covener

222834d5a33b915037094af014905f3683cae78b 758173 25-Mar-2009 trawick

Provide ap_set_retained_data()/ap_get_retained_data() for preservation of module state across unload/load. The existing idiom used by modules to associate userdata with pglobal doesn't work in the earliest phases of module execution. (This does expose pglobal as an implementation detail, but it would be great to unexpose it if at all possible (but modules already have access to pglobal at almost all stages of execution anyway).)

2db5d76ac4c75aadecf38e20569bccbfd2360ba7 757741 24-Mar-2009 rpluem

* Fix a memory leak by freeing the memory consumed by the bucket. PR: 44948 Submitted by: Dan Poirier <poirier pobox.com> Reviewed by: rpluem

bf52162f2d05c1fb1a107c7ef108de73f739b3ed 757429 23-Mar-2009 pquerna

Roll on to 2.3.2.

1c03114a0f0315ed19a05f654021da9f66005897 756687 20-Mar-2009 rjung

Add change to changelog.

89691c9bd17f5f53fa0aa8d3fe2e1faee5a5d984 752812 12-Mar-2009 rpluem

* Escape pathes of filenames in 406 responses to avoid HTML injections and HTTP response splitting. PR: 46837 Submitted by: Geoff Keating <geoffk apple.com> Reviewed by: rpluem

6707208ba4e9a5841ca1ab830830fd286ea5b7c5 750108 04-Mar-2009 trawick

Use APR_POLLSET_NOCOPY for better performance with some pollset implementations.

51a475d92e7d68ee6d7b57aa7fd6e73b2712ce31 749467 03-Mar-2009 sctemme

Note PR for OpenSSL type-safe STACK fix in CHANGES

3e9c0665b06e44cf776528c6954ed3ca34a77c7f 749466 03-Mar-2009 sctemme

Clean up more compiler emits. Add CHANGES entry, credit Kasper for the OpenSSL STACK fix

019f2b58acb34e31ea3a062bdb5e6c863cd82d66 749441 02-Mar-2009 trawick

fix CHANGES entry for r749438 the ab issue was with EALREADY, not EINPROGRESS

873c287c391b0bbc4719b68bb84946515811e1ba 749438 02-Mar-2009 trawick

ab: Fix maintenance of the pollset to resolve EINPROGRESS errors with kqueue (BSD/OS X) and excessive CPU with event ports (Solaris). The apr_pollset API requires that a socket be removed from the pollset whenever there is a change to the requested events. The socket must also be removed when it is closed. This wasn't completely implemented. PR: 44584

832853bb93c1831daf24e4727c5ca0e1b1786e83 746541 21-Feb-2009 lars

fix mod_disk_cache to support EnableSendfile.

d2696ac6757b3d8bdaa27634a141ac8c8a045e08 743814 12-Feb-2009 fielding

Adjust content metadata on deflate/inflate response before bailing out on a 304 response so that the metadata does not differ from 200 response.

f72f47fcdb9e697b4e894c3e7c54ddaa115c6be3 741951 07-Feb-2009 covener

backported CHANGES entries are meaningful while we're rolling 2.3.x alphas.

1782dcd420de504978945e6b812523eeae6d56a2 740149 03-Feb-2009 lars

mod_deflate: Fix creation of invalid Etag headers. We now make sure that the Etag value is properly quoted when adding the gzip marker. PR 39727.

abc69b39766c0de3eaf99e9016ea3f35e23c116d 739690 01-Feb-2009 rpluem

* Reindent.

59dc8d935dbf862712683bbc9e267bd08ced0b14 739677 01-Feb-2009 fielding

20x22 icons for ODF, SVG, and XML documents. Submitted by: Peter Harlow (CLA on file) PR: 37185

cf8d02ea0c91653917b044529f3133c5a1bb9200 739382 30-Jan-2009 fielding

Disabled DefaultType directive and removed ap_default_type() from core. We now exclude Content-Type from responses for which a media type has not been configured via mime.types, AddType, ForceType, or some other mechanism. MMN major bump to NZ time. PR: 13986

17ac330ebaa71b24cb77580411a231ee45996e03 737973 27-Jan-2009 pquerna

Add IPv6 variable to mod_rewrite. Submitted by: Ryan Phillips <ryan-apache trolocsis.com>

2ac474e42b9281e247e7082e30c50c5bef1f2cc3 735365 18-Jan-2009 rjung

Remove some more mod_mem_cache relics from trunk and add removal to CHANGES. The module has been removed in r711470.

1f12b06ead7fbf5e65b4c6b93ea47ac4a0369b49 735056 16-Jan-2009 rjung

Undo changelog change. Addon to r734973.

b19bf7177a975ac1e85582b748c9ecb06a1ec53f 734896 16-Jan-2009 rederpj

Remove backported entry.

57cc72353cf3d1fbb11721e81072a06d93bbfc3b 733699 12-Jan-2009 rpluem

* This one was backported

9f38f3ec3e8087985d108a24ae796962fef83644 733557 12-Jan-2009 takashi

Enhance KeepAliveTimeout to support a value in milliseconds. PR: 46275

d4ee4552489641d35d1195bbbd6021351c4b79aa 733531 11-Jan-2009 rjung

Allow size units B, K, M, G and combination of time and size based rotation for rotatelogs.

9e152751ed380f87c5ecae4fb0221c956e5fbd24 733520 11-Jan-2009 rjung

rotatelogs: Add flag for verbose (debug) output.

b59cb5b48320654d41cd63ebcd3e8ae6576b637a 733493 11-Jan-2009 rjung

Allow to trigger rotatelogs log file rotation from using HUP and INT signals to the rotatelogs process. This is helpful, when log activity is low, but you want rotatelogs to close the open log files. SIGHUP triggers checking the rules given during startup, SIGINT forces rotate independently form those rules. When the signal triggers a rotation, the open file is closed immediately. The new file is opened when new log data arrives, or in case "-f" was given it is opened immediately. Based on my patch in BZ 44427. Note on Windows: The new functionality is undefined when SIGHUP or SIGINT are not available. Does the use case make sense on Windows? If so, which signals should we use?

abb99af8aa7da2cb4c324133a4e10bd7a50f875e 733465 11-Jan-2009 rpluem

* Correctly merge SSLRenegBufferSize directive. PR: 46508 Submitted by: <tlhackque yahoo.com> Reviewed by: rpluem

79970893509d47ad83efdb1715113c3b2025aad2 733218 10-Jan-2009 covener

simplifications per niq's review comments

382d14411b582d97075a836190d74c778977505f 733134 09-Jan-2009 covener

EBCDIC fix for ap_send_interim_response()

bfd8539f3983853abd2fd19de3aed408309791cd 732912 09-Jan-2009 rederpj

mod_authnz_ldap: Reduce number of initialization debug messages and make information more clear. PR 46342 [Dan Poirier]

965b5645f6f2eb837898467f6992509dcf214352 732832 08-Jan-2009 covener

Translate locally generated "100-Continue" message to ASCII on EBCDIC systems.

06e6657fd0f376a16db696876f9bff5927cc3cb0 732451 07-Jan-2009 trawick

prefork: Fix child process hang during graceful restart/stop in configurations with multiple listening sockets. PR: 42829 Submitted by: Joe Orton, with some tweaking and testing from me

d0aad1cd29a348a32edf8783600ac8a09ba4329c 732414 07-Jan-2009 trawick

As jorton discovered, recent Linux kernels have a new tunable setting for epoll that will trip up many prefork users. Write a log message instead of crashing. PR: 46467 As rpluem notes, some Apache doc is in order.

0e9dae659943679108357054e9aa7657cdc52dc4 731377 04-Jan-2009 minfrin

mod_session_crypto: Ensure that SessionCryptoDriver can only be set in the global scope.

d03aa31ada476d8eb97feaec2b1099809e7f3d57 731358 04-Jan-2009 niq

Fix mod_ext_filter to detect failure to start the external program, and add configuration option to abort or continue. PR 41120

a7757dd38bb2a1afc93e241b7ea67b3de85ecc8b 731088 03-Jan-2009 minfrin

mod_session_crypto: Rewrite the session_crypto module against the apr_crypto API.

72616b8c71552364179298938efc55e0611aaec3 731000 03-Jan-2009 minfrin

mod_auth_form: Fix a pool lifetime issue, don't remove the subrequest until the main request is cleaned up.

df46ff21c57d00f6addccaaf9b1484f2b56b8577 730927 03-Jan-2009 pquerna

Bump to 2.3.2.

46bc411d64953033b7f8af8a0493095a5cf21c0d 730597 01-Jan-2009 jim

Transition mod_slotmem to ap_slotmem... just monkeying with the locations, etc. now... adding getter/setter will be over the weekend and post-2.3.1 but I figured at least do this beforehand... I love trunk :)

a5cce34e21a5b472f3806b4526043887bcb7e9ea 730424 31-Dec-2008 jim

Document this change...

8c3667cd1d0db08647793137c0d1aa7f6526bebf 730296 31-Dec-2008 niq

Add support for escaping all non-ascii chars to ap_escape_html, and use it to fix PR#25202: encoding="entity" doesn't work as advertised in mod_include. For backport, this'll need an ABI-preserving version that'll be a minor MMN bump. But if we do that in /trunk/, it'll never change.

6824182b3b8e045db97a228d3127bdfcbdfeb0bc 730274 31-Dec-2008 niq

Fix mod_rewrite "B" flag breakage by reverting r589343 PR#45529

0c26d213d85bc40fc05963c63bf670b42b352d25 729586 27-Dec-2008 niq

CGI: return 504 (Gateway timeout) rather than 500 when a script times out before returning status line/headers. PR 42190

92357fb76d3ad043e29ba2ba2041a7bdb8d13390 729579 27-Dec-2008 niq

PR#39332: fix for segfault problem with mod_cgid on Solaris Patch by Masaoki Kobayashi

9f07b6dc343a4e3eba5f4c47050a77441723ce89 729538 26-Dec-2008 nd

add mod_proxy_scgi, as announced a long time ago

f7cec4a86292b160401472286a17497ae0d4df18 729316 24-Dec-2008 covener

look for 'no-cache' in subprocess_env to prevent the saving of an otherwise cacheable response.

1464434c2c104e0ba224644c42552330f5158537 728015 19-Dec-2008 covener

*) mod_rewrite: Introduce DiscardPathInfo|DPI flag to stop the troublesome way that per-directory rewrites append the previous notion of PATH_INFO to each substitution before evaluating subsequent rules. PR38642 [Eric Covener]

7d25171b558cdbeecdacc153ba153bf5f3302420 727774 18-Dec-2008 rederpj

Removing entry now that it is backported.

ef37e63a708256b31c7d81823cf46d17e1fb6809 727770 18-Dec-2008 rederpj

Remove entry now that it is backported.

91409b3f3c9bb944a5611c1893cddb2ed5796704 727768 18-Dec-2008 rederpj

Remove entry now that it is backported.

e2d491e68b6352216e451ca6688ccea78b4018de 727634 18-Dec-2008 rpluem

* This one is now backported.

338325d302dc6f74ed24124729dff592531a7ca7 727602 18-Dec-2008 rederpj

Removing entry that was backported.

bd9d13cd44467315e4941848d7e593bad3a376b9 727477 17-Dec-2008 rederpj

Set Listen protocol to "https" if port is set to 443 and no proto is specified (as documented but not implemented). PR 46066 [Dan Poirier <poirier pobox.com>]

2659802f083b95856f571b49e4ec087838b53039 727452 17-Dec-2008 rederpj

Output -M and -S dumps (modules and vhosts) to stdout instead of stderr.

513b324e774c559b579896df131fd7c8471ed529 727053 16-Dec-2008 rederpj

*) mod_ldap: Avoid a segfault when result->rc is checked in uldap_connection_init when result is NULL. This could happen if LDAP initialization failed. PR 45994. [Dan Poirier <poirier pobox.com>]

da91b571a6df28a162edde18b785ecf73c60ad84 726796 15-Dec-2008 rpluem

* Correctly save Content-Encoding of cachable entity. PR: 46401 Submitted by: Dan Poirier <poirier pobox.com> Reviewed by: rpluem

8d574b3ac4185e4f71c8b9aae76e7122a78201c4 726636 15-Dec-2008 rpluem

* Do not add an empty argument if we do not have any args for the script. Fixes a regression from r682475. PR: 46380

7f4ac5a4cd99a9cae866b5908e358bd932736307 726120 12-Dec-2008 chrisd

From r726118: remove unused sb_type member from process_score structure and do major MMN bump.

509111f5f58a9effd4c832f6a0cbd6ad9d549188 726109 12-Dec-2008 jorton

mod_ssl: Make the size of the per-dir-reneg request-body buffer configurable, by popular demand: * modules/ssl/ssl_private.h: Define DEFAULT_RENEG_BUFFER_SIZE. (SSLDirConfigRec): Add nRenegBufferSize field. * modules/ssl/ssl_engine_config.c (ssl_cmd_SSLRenegBufferSize): New function. (ssl_config_perdir_create, ssl_config_perdir_merge): Handle nRenegBufferSize. * modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Take max buffer size as an argument rather than compile-time constant. * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Pass nRenegBufferSize to ssl_io_buffer_fill. * modules/ssl/mod_ssl.c (ssl_config_cmds): Add SSLRenegBufferSize. PR: 39243

235b900b78cf6849f8344e377a91ded37d9cc9de 725940 12-Dec-2008 pquerna

Add a new mod_proxy_fdpass module to pass a client connection off to a separate daemon.

66b8ec445dced7a2036bcd3b87b6fc3f08a1ab24 724717 09-Dec-2008 jorton

Improve mod_ssl's environment variable extraction to correctly handle DNs with duplicate tags: * modules/ssl/ssl_engine_vars.c: Augment the ssl_var_lookup_ssl_cert_dn_rec table with a flag to indicate whether RDNs of the given NID should be extracted to the environment. (extract_dn, modssl_var_extract_dns): New functions. * modules/ssl/ssl_private.h (modssl_var_extract_dns): Add prototype. * modules/ssl/ssl_engine_kernel.c: Remove SSL_*_DN_ from the list of variables to insert into the environment. (ssl_hook_Fixup): Use modssl_var_extract_dns to insert the SSL_*_DN_ variables efficiently and accurately, handling certs with duplicate RDN tags correctly. PR: 45875

0e2a2eae9b72ac099aa25d7419e55af13b004be9 724162 07-Dec-2008 minfrin

Remove the obsolete serial attribute from the RPM spec file. Compile against the external pcre. Add missing binaries fcgistarter, and mod_socache* and mod_session*.

557b032cb4aa7f7dd009066b660022910b2e78b6 724093 07-Dec-2008 pquerna

When an expires or cache-control header are sent, the RFC does allow us to cache normally non-cacheable response statuses. Submitted by: Alex Polvi <alex polvi.net>

6f33babce8f8bc723f0b2c755aef049cd509504f 723682 05-Dec-2008 pquerna

Add a note that the ratelimit module was added

0a12339f39799193ac6866fce812a1deb8f4a1ab 723585 05-Dec-2008 pquerna

Remove X-Pad work around. Submitted by: Takashi Sato <takashi lans-tv.com>

3fb118bc4e1a634f71c1fa509819ceac36c79dcb 723578 05-Dec-2008 pquerna

Note the dtrace stuff in CHANGES.

847db8b2f0188cd9c840acbe4fea77a32748b2ed 723079 03-Dec-2008 pquerna

More trivial typos.

b1c73ad7380544ff6eb6066772b994a0c36c871e 723069 03-Dec-2008 jim

trivial typo

fb59af4ce3fcdd314b848359faeddf1e51bb24c5 723068 03-Dec-2008 jim

Note mod_proxy_balancer changes...

a91a59d0b0ceed7cd5621fe8757eda5ff6a043a8 722399 02-Dec-2008 pquerna

API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix.

19e5deda3a29d71ac1cc4bfecce39f96ea3ab55d 722081 01-Dec-2008 covener

To be safe, consume the entire brigade after processing an error bucket in the HTTP output filter. Submitted by: Rudeiger Pluem Reviewed by: niq, covener

3ec1e3a35106ec4c8bcf8fae6a20cb623aed0b62 721987 01-Dec-2008 pquerna

Add a new module to read in the heartbeat file and do load balancing for mod_proxy based upon it.

97f7daaffd9b6c1031302d7e551d5279fa0d0d72 721952 01-Dec-2008 pquerna

Add two new modules to handle load balancing across multiple apache servers within the same datacenter. mod_heartbeat generates multicast status messages with the current number of clients connected, but the formated can easily be extended to include other things. mod_heartmonitor collects these messages into a static file, which then can be used for other modules to make load balancing decisions on. This module was originally written at Joost by Sander Striker, Justin Erenkrantz, and myself. We have been given permission by our employer to contribute this module.

527fc83e2bf315b2026a9ac6b1e6ce83143609bb 721679 29-Nov-2008 covener

allow ap_invoke_handler() to pass-through AP_FILTER_ERROR as if it were a reserved status code (OK/DECLINED/SUSPENDED). Prevents ap_die() from seeing a 500 error when the http header filter has already taken care of the proper error response

d1c1b82647a997922859ec76b82e62a956078dbc 721678 29-Nov-2008 covener

correct syntax of DirectoryIndex feature, CHANGES only

0ba03d15cac02798a51c3c77e4d61bda15dd22ee 721034 27-Nov-2008 jim

Backported

de5d941ff4a91cdaada4f9b0f13caaf43023329e 720172 24-Nov-2008 rpluem

* These are now backported.

99c8705f69fae71940ad9b091bd2f588a7b9f484 718132 16-Nov-2008 minfrin

mod_buffer: Honour the flush bucket and flush the buffer in the input filter. Make sure that metadata buckets are written to the buffer, not to the final brigade.

9376e7dc573bb2721491c79b92f9c06fdfacebe6 718125 16-Nov-2008 minfrin

mod_buffer: Optimise the buffering of heap buckets when the heap buckets stay exactly APR_BUCKET_BUFF_SIZE long.

edaefb8bf78debc86ef7de441c7983d8b05517e1 717867 15-Nov-2008 minfrin

mod_buffer: Optional support for buffering of the input and output filter stacks. Can collapse many small buckets into fewer larger buckets, and prevents excessively small chunks being sent over the wire.

67c7b29e829564ab1a3be6992e0a30352dbf99cc 714274 15-Nov-2008 rpluem

* This one is now backported.

b5cbd7bc65a5c0eda246b0cd32e7d9ed124d66c4 714049 14-Nov-2008 niq

Add mod_privileges to CHANGES

2b2d733b3fde4b9cca1c39c1216d730fdda75082 713152 11-Nov-2008 jim

These are in 2.2.11-dev

7ab1c4ce4a1a8512e739f44b6eb032149f6fb4ff 712837 10-Nov-2008 rpluem

* Adjust changes entry to what is really done to fix it.

6b80fe999cdcca485460411dd1cd16137541b924 712515 09-Nov-2008 tdonovan

Always build odbc on Windows - backported from trunk to 2.2.x trunk: r704771 & r704883 2.2.x: r712514

673c63af68d4a28966b2b6b9d86ce3a4870854f8 711993 06-Nov-2008 rpluem

* Correctly set SSL_LIBS during openssl detection if pkgconfig is not available. PR: 46018

9cece7486be2854ce39cc45a68ec1d61130e2924 709914 02-Nov-2008 rpluem

* r708902 fixes PR39774 and thus is worth a CHANGES entry.

6ad55f63504cf5fe5205ed9495664519afeadcd9 709839 02-Nov-2008 chrisd

Remove mod_authn_default and mod_authz_default. Note: I've attempted to work through the Windows and Netware build files, but if those with such systems could repair any damage, that would be appreciated.

809ec9d7cc8bc12d7dc6fafba24f3acad3e49d81 709838 02-Nov-2008 chrisd

Fix handling of authz configurations, make default authz logic replicate 2.2.x authz logic and support existing configurations (including .htaccess files), and replace <Satisfy*>, Reject, and AuthzMergeRules directives with Match, <Match*>, and AuthzMerge directives.

e0b3b0308e9dc8e8aa9c1ebb8cc75d96bb0e8baf 709666 01-Nov-2008 rpluem

* Use distinct char pointers for sending and receiving buffers to avoid destroying the pointer to the sending buffer in the ajp message if data is received from the backend before all data is sent to the backend. PR: 45911

f436f5cf34615c3c7d49dd229560ba658033f9ea 709563 31-Oct-2008 chrisd

Note crash fix in mod_authn_core.c from r709553.

ce6098001014d149e90e56ab0e89c1b4aab30136 709553 31-Oct-2008 chrisd

Add AuthType of None to support disabling authentication. Prevent crash when provider alias created to provider which is not yet registered. Migrate remaining functionality of mod_authn_default to mod_authn_core.

7245e9b991db85d9d9a587fe5f4051f642ebdc3c 709551 31-Oct-2008 chrisd

Allow <Limit> and <LimitExcept> directives to nest, and constrain their use to conform with that of other access control and authorization directives.

38b062650152074931a68e933461762c5e233cfc 708935 29-Oct-2008 niq

Introduce modules/system, and mod_unixd.c mod_unixd.c is only os/unix/unixd.c, turned into a module. (or more accurately, an ugly hack). Work in progress, and the old unixd will have to go once the module build stuff is in place. This re-introduces some of the unixd stuff (set user, group and chroot) to mpm_simple, and should work equally well with existing MPMs. It also paves the way for alternative privilege management schemes, which can be implemented in alternative modules: this´ll be necessary to run mpm_simple on non-unix-family platforms, and of interest for alternative Unix implementations. By relegating everything to a child_init hook, we can mix-and-match, though weĺl need to add a regime that prevents just going right ahead with nothing and running as root. Round tuits permitting, we should be able to simplify unixd.h too, and look towards eliminating it.

d39e79dbbcd717460174f5c9e9e6608fe587cec3 707023 22-Oct-2008 rpluem

* This one is backported.

9257af3c6aaeaf201fccb3e3c87cf8c41783fdb7 707022 22-Oct-2008 rpluem

* Move ap_timeout_parameter_parse from mod_proxy.c to server/util.c and thus make it part of the public API.

d7c317fe8cb2a18dbb70a26eb991dd229c31b424 706921 22-Oct-2008 rpluem

* Improve the way to detect whether buckets in the filter chain need to be flushed by using the main requests bytes_count field instead of the subrequest field. * Do not reset conn->need_flush. This prevents SegFaults from not flushing buckets in the filter chain. PR: 45792

63de18ba5e922ffaab500317d7d1d0ad6b27b7e2 706001 19-Oct-2008 covener

*) mod_dir: Support "DirectoryIndex None" Suggested By André Warnier <aw ice-sa.com> [Eric Covener]

ab97c38189aa97c24af38350d521a39822260af2 705074 16-Oct-2008 sctemme

This was backported

90f18725dbb9bdfba94da22aa60f94dfb759a8fe 705005 15-Oct-2008 rpluem

* Add the possibility to set the worker parameters connectiontimeout and ping in milliseconds and the parameter acquire in seconds. Add the new currently static function ap_timeout_parameter_parse that should become a general utility function once its API is hammered out.

91ef999a69527d2a64983681c92aaef9270697b4 704917 15-Oct-2008 rpluem

* Send Content-Type application/ocsp-request for POST requests to OSCP responders. PR: 46014 Submitted by: Dr Stephen Henson <steve openssl.org> Reviewed by: rpluem

cf95511601acd18c75339ef5d90a298e070617cc 704845 15-Oct-2008 minfrin

Minor bump when exporting mod_rewrite.h

a04a085d201d1620c077ba6ecaa7022b417b1cd5 704771 15-Oct-2008 tdonovan

Always build the odbc dbd driver on winodws, to be consistent with the apr-util default

f951660d99e5719a0bbde9d49a2e4236ada3c645 704753 15-Oct-2008 rpluem

* Revert r703998. The call to apr_socket_timeout_set before apr_socket_connect already sets the socket to non-blocking mode because the timeout of the socket is -1 after creation. A further call to apr_socket_timeout_set (after the connect call does not do this, because the old and the new timeout are >=0). The further code expects the socket to be in non-blocking mode, otherwise we have regressions with ssl. This can be notified by running t/ssl/proxy on 2.2.x which runs much much slower with the patch applied. This does not happen on trunk because the socket is set back to non blocking by the core output filter (async write completion).

a6e9c013b590d44d37972b7aacbc258c1ca19a75 703998 13-Oct-2008 rpluem

* Make the connection timeout to backends work by temporarily setting the socket to non blocking mode. Submitted by: Matt Stevenson <mavricknzwork yahoo.com> Reviewed by: rpluem

b44a707ac289d826620a65769db8074c96cb6a7e 702867 08-Oct-2008 rpluem

* Recheck again if idle workers are still available when we are signaled that they are. This is needed since it can happen that we are signaled by a worker thread that went idle but received a context switch before it could tell us. If it does signal us later once it is on CPU again there might be no idle worker left. See https://issues.apache.org/bugzilla/show_bug.cgi?id=45605#c4 PR: 45605 Submitted by: Denis Ustimenko <denusk gmail.com> Reviewed by: rpluem

7d46b5fbb776913b3ccdaf674d26c9262bceb8f6 702506 07-Oct-2008 jim

backported 2.2.10 - r702502

0c888b8088644f3a39dcf1998e0304c289532057 697093 19-Sep-2008 jim

Allow for the smax param to be 0, so that all connections are available to be dropped, should they be idle long enough. PR 43371

7387782fd1b7ef373ec628386ec70aa9ffd288f0 696761 18-Sep-2008 jim

r696758

bffa28e219ea053efd779f9b25259e4936110cdd 696614 18-Sep-2008 mturk

Always send body (zero size at least) whenever C-L is present in the request

3336e3453a35b76144330c1e1ec61d6a12fa19e3 696417 17-Sep-2008 jim

In 2.2

b813f5119729242604e0eeaca272836b7886ee8f 696368 17-Sep-2008 covener

backported

1525d586dc71febef65e9abc1916fda7f381e1c1 695255 14-Sep-2008 covener

backported in r695234

933621ebb2a219ee817f194a81d45dc411d412bb 693577 09-Sep-2008 rpluem

* Use send_bucket_downstream to send data down the chain instead of creating a brigade each time. PR: 45687 Submitted by: Dan Poirier <poirier pobox.com> Reviewed by: rpluem

e82c197ca8872669af89367746826fe6b9955bb3 693328 09-Sep-2008 niq

mod_authnz_ldap: avoid returning NULL env vars PR 39045

baef4b5261d84ad9bacb2f4e745b33f35534c25a 693141 08-Sep-2008 niq

mod_mime: don't adjust case in filename components we don't use PR 43250, patch by Basant Kumar Kukreja

a5e068c4aa3d0084a41e178c7c0c1b1ae2f28125 693121 08-Sep-2008 jim

typo

5c05c1f29be5bc37b22794737ee63a5f567053b5 693120 08-Sep-2008 jim

Add in useful feature. %k which logs the keepalives value. PR: 45762 Dan Poirier <poirier@pobox.com>

742ec45ed2ac00ab03080e898332352220cc1f13 693108 08-Sep-2008 niq

Relax checks on HTTP Response status line from a backend. PR#44995 - Rainer Jung

f82568a780e35e8786958c49a1259434e2088b9c 691418 03-Sep-2008 niq

Commit mod_sed: enable filtering of HTTP Requests and Responses through sed

56b7c92bac48127bda06d80bf94952258f7e0bd3 690506 30-Aug-2008 minfrin

mod_auth_form: Make sure that basic authentication is correctly faked directly after login.

41abbbf0cbaef202fe1ba2dd671ea48990d6e012 690501 30-Aug-2008 minfrin

mod_session_cookie, mod_session_dbd: Make sure cookies are set both within the output headers and error output headers, so that the session is maintained across redirects.

6aa239b3d12f531ad9e305b1a81ad5fd671a3493 690493 30-Aug-2008 minfrin

mod_auth_form: Make sure the logged in user is populated correctly after a form login. Fixes a missing REMOTE_USER variable directly following a login.

d05e6175473332a8433e4ac85edda0d5a33c94b5 690400 29-Aug-2008 minfrin

mod_session_cookie: Make sure that cookie attributes are correctly included in the blank cookie when cookies are removed. This fixes an inability to log out when using mod_auth_form.

fffe2d3830e52ed28703d042c5049b5e8fa047e2 689261 27-Aug-2008 niq

Add option to insert something in autoindex head.

1eddce0da057f6fa5c5e9dde32e9dc6596616b12 687550 21-Aug-2008 sctemme

Implement dynamic mutex callbacks for the benefit of OpenSSL.

0e06162988e81c3e59bbfb4b758968beb391f96c 686404 16-Aug-2008 jim

In 2.2.x

924985057e0642bb04ddccc3db2da25ede015d01 686397 16-Aug-2008 jim

Backported to 2.2.x as of 686396

1389a72b4a469da804bc289f3fc5342b78d7df0b 685155 12-Aug-2008 trawick

note fixer of dav fs fix

d3b838902cf725b0563b2b5579b351f025e9bf2f 684351 09-Aug-2008 rpluem

* Introduce environment variable proxy-initial-not-pooled to avoid reusing pooled connections if the client connection is an initial connection. This avoids the "proxy: error reading status line from remote server" error caused by the race condition that the backend server closed the connection after the connection check on our side and before our data reached the backend. Yes, this downgrades performance, especially with HTTP/1.0 clients. Hence it is configurable and off by default. PR: 37770

f921cd430a2ea23fcaedfdfc7439163f63c8472a 684341 09-Aug-2008 rpluem

* Add the possibility to set a separate connection timeout for backend workers. PR: 45445 Submitted by: rahul <rahul sun.com> Reviewed by: rpluem

ba5fef01faa2808e468764c697013d6e5cf8f48b 683626 07-Aug-2008 trawick

mod_dav_fs: Retrieve minimal system information about directory entries when walking a DAV fs, resolving a performance degradation on Windows. PR: 45464

938c28100f305142078ec2642b248de663f06a60 682389 04-Aug-2008 covener

*) mod_cgid: Pass along empty command line arguments from an ISINDEX query that has consecutive '+' characters in the QUERY_STRING, matching the behavior of mod_cgi.

1e6d9c87eb0a4d11ed013099d8ee602a8a5d3e8f 678949 23-Jul-2008 covener

propogate a NULL get_realm_hash() implementation from AuthnProviderAlias back to mod_auth_digest. PR 45196

75031befec2825183c13931fc3266b56ed575c3d 678947 23-Jul-2008 covener

revert r672639 which lacked a necessary major bump, add a major MMN bump to account for the short-lived API addition/removal.

13d29a334cfa69f2995b70a48aeacacc1ac7125f 678160 19-Jul-2008 rpluem

* Prevent a segfault when a CGI script sets a cookie with a null value. Submitted by: David Shane Holden <dpejesh apache.org> Reviewed by: rpluem

6951fc02abfd7642e45333902c14855836717fad 674000 04-Jul-2008 rpluem

* Prevent Header edit from processing only the first header it should edit and deleting the remaining ones by iterating over all headers with the same name. PR: 45333

9f8f1913ecffb74c74e1136a1dfa5ec6ea7452fb 672639 29-Jun-2008 covener

mod_auth_digest: Detect during startup when AuthDigestProvider is configured to use an incompatible provider via AuthnProviderAlias. PR 45196

aced0f6381ba4b9ec6ca8b9f9253f5aeb1a0b1ac 670061 20-Jun-2008 tdonovan

After r649840, mod_proxy_http will no longer append a query string from r->args if "no-canon". Moved the NOESCAPE test down after PATH_INFO, and preserve the query string in r->filename if NOESCAPE (which implies "no-canon") Previously this was only done for CONNECT requests, where (r->uri == r->unparsed_uri) see mod_proxy:proxy_detect

2b86b9890c1e76df0f4a1519c76ee45eeded4854 666291 10-Jun-2008 jim

in 2.2.9

a1e5e66791ff79c16c2526d1f3ef262f6bdff36e 666154 10-Jun-2008 jim

Patch for CVE-2008-2364...

4026ebad195b4576650ef2be1f645a321ad15409 664706 09-Jun-2008 jim

r664705

32b0f71b11ab1962084982d9594153321de56166 664535 08-Jun-2008 trawick

core: Fix address-in-use startup failure on some platforms caused by attempting to set up an IPv4 listener which overlaps with an existing IPv6 listener. The failure occurred on the second pass of the open-logs hook in a configuration such as the following: Listen 8080 Listen 0.0.0.0:8081 Listen [::]:8081 During the first pass, the two port 8081 listen recs were adjacent and existing logic prevented binding to 0.0.0.0:8081. On the second pass, they were not adjacent and we then tried to bind to 0.0.0.0:8081, leading to failure on some platforms (seen on SLES 9 and Ubuntu 7.10, not seen on many other Unix-ish platforms). Leave a note about other unhandled configurations.

a4e494b6fc23f2fad887c97c3b11f565ae34c566 663515 05-Jun-2008 jim

backport r663514

e92cf2d0fb8f8efb33f049ef1ff99d1f7b6ec115 662579 02-Jun-2008 rpluem

* Another one that is now backported.

d9e31a14d532b5f41f7e245ec4fec0d82570213b 662576 02-Jun-2008 rpluem

* These are now backported

7a56c2ffe7c5df81f2c623da2e7343adaa669e8a 661666 30-May-2008 jorton

Prevent CSRF attacks against the balancer-manager (CVE-2007-6420) * modules/proxy/mod_proxy_balancer.c (balancer_init): New function. (balancer_handler): Place a nonce in the form output, and check that the submitted form data includes that nonce. (ap_proxy_balancer_register_hook): Register the new post_config hook.

f66adfbe73a6cbad477dd15b02e3eb7cb3779244 661506 30-May-2008 rpluem

* According to RFC 2616 8.2.3 we are not allowed to forward an Expect: 100-continue to an HTTP/1.0 server. Instead we MUST return a HTTP_EXPECTATION_FAILED.

52789a9c0e43f6126d1d5d18c93a8ab48dc06ee9 660757 28-May-2008 fielding

backported in r660756

a51677a04fed21affebc84f6065a77ac33aa8ed0 660729 27-May-2008 covener

backported to 2.2.x in r660728

5fa2e12144d20952e67cc6d78ba05806ad010532 660697 27-May-2008 fielding

part of ab sync

98829f154633ddefe1879d5e2096b35328ebd350 660589 27-May-2008 jim

Backported as of r660587

c5c6aa5506f38313ccf34015704542f4dd88b472 660573 27-May-2008 rpluem

* These are now backported.

80b84e5e8000730a98b2f7a6a6eb3c6ab21c2d22 660485 27-May-2008 trawick

mention fix in r659560

db455cbc662c98dbbf53175393c50086ff63370c 659160 22-May-2008 chrisd

Determine registered authn/z providers directly in ap_setup_auth_internal(), which allows optional functions that just wrapped ap_list_provider_names() to be removed from authn/z modules. This change requires modules/aaa/mod_auth.h to be included into server/request.c, which necessitates a minor change to configure.in for Unix platforms. I'm unable to tell whether a similar change is necessary for Windows and NetWare builds or not. Could developers with access to those platforms please test and make any needed configuration or build alterations? Thanks!

7cb45b833e465d46f6b61de983cc68112587d04b 658492 21-May-2008 chrisd

fix missing committer name

2e242dca7111f99d54dd144b7b8418d88d560032 658046 20-May-2008 chrisd

Convert common provider version strings ("0") to AUTHN/Z_PROVIDER_VERSION macros defined in mod_auth.h.

eaf6fff54e1bcc02893d1d8a64ba43eb6d89184b 657933 19-May-2008 rpluem

* Only send 100-continue if the status code so far indicates success. PR: 43711

19cc5a20cdff4c53578ac2f848ebfdec15dc15cf 657447 17-May-2008 rpluem

* These are now backported

eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1 657433 17-May-2008 rpluem

* Include <limits.h> earlier if available since INT_MAX is defined there on Windows and we need INT_MAX already for the definition of MAX_REQUESTS. PR: 45024

b5d91f803b61ef5b13666e423173eb72d96f8938 657354 17-May-2008 niq

configure: Don't reject libtool 2.x PR 44817

adc8e70afb6d4679582ba4661013212f1335d196 656002 13-May-2008 jim

r656000

87b4ff614d40a9da88ef53da0286123b0ee16b4f 655999 13-May-2008 jim

r655998

c7b8ebf28db0c79631ddcc97aaf7ea7d3e029d2f 655714 13-May-2008 fielding

gen_test_char: add double-quote to the list of T_HTTP_TOKEN_STOP. PR: 9727 Submitted by: Ville Skytt <ville.skytta iki.fi>

927df87b4c47e1cef32194ccdcbe44598e7495e9 655711 13-May-2008 fielding

When group is given as a numeric gid, validate it by looking up the actual group name such that the name can be used in log entries. PR: 7862 Submitted by: <y-koga apache.or.jp>, Leif W <warp-9.9 usa.net>

1104271514ab6eee6391f8a0e670d9cc98184d9b 655654 12-May-2008 fielding

Improve client performance by clearing connection pool instead of destroying it. PR 40054 Submitted by: Brad Roberts <braddr puremagic.com>

b24a6ceb8011a209f3c6d4523f04d27120cbd97a 655637 12-May-2008 fielding

Don't stop sending a request if EAGAIN is returned, which will only happen if both the write and subsequent wait are returning EAGAIN, and count posted bytes correctly when the initial write of a request is not complete. PR 10038, 38861, 39679 Submitted by: Patrick McManus <mcmanus datapower.com> (in 2003) Stefan Fleiter <stefan.fleiter web.de> (in 2006) and Davanum Srinivas (in 2006). Committed patch contains parts of all three, tweaked by Roy (2008).

76b44eed9550b61e4d1c5ac8f2906030edff2415 655542 12-May-2008 jim

backported r655540

cbe23d0a0ff097b3d544d714657452abc80e3c87 655214 11-May-2008 fielding

Overhaul ab.c stats collection and reporting to avoid integer truncation and time divisions within the test loop, retain native time resolution until output, remove unused data, avoid structure copies, consistently round milliseconds, and generally avoid losing accuracy of calculation due to type casts. Incidentally fixes output bug on gnuplot (seconds were being output as microseconds). It would make more sense to output gnuplot stats as microseconds after the start of test, but this change returns us to consistency with pre-apr versions of ab. PR: 44878, 44931.

66a8e1cc29cc4612cd938bc8fcabc0ef569e5769 655015 10-May-2008 rpluem

* Unify the spelling of my name in changelog entries. Long time ago I decided to transliterate the ü with ue.

b6b1df87b7ce62620d48526a7ab630897cdaad90 654998 10-May-2008 chrisd

When testing for slash-terminated configuration paths in ap_location_walk(), don't look past the start of an empty string such as that created by a <Location ""> directive.

4cf58054a85830c67dc23890ee613f62e1f7bdc8 654968 10-May-2008 minfrin

core, mod_proxy: If a kept_body is present, it becomes safe for subrequests to support message bodies. Make sure that safety checks within the core and within the proxy are not triggered when kept_body is present. This makes it possible to embed proxied POST requests within mod_include.

caaa32f2d2e3b28063c745c2632d3979da7f8326 654958 10-May-2008 minfrin

mod_auth_form: Make sure the input filter stack is properly set up before reading the login form. Make sure the kept body filter is correctly inserted to ensure the body can be read a second time safely should the authn be successful. [Graham Leggett, Ruediger Pluem]

e02cb8f5090d904c054633ff33dfd1111e16e404 654952 09-May-2008 minfrin

mod_request: Insert the KEPT_BODY filter via the insert_filter hook instead of during fixups. Add a safety check to ensure the filters cannot be inserted more than once. [Graham Leggett, Ruediger Pluem]

3fdfde39a4e748697369c401b4dce0c323d2ba76 654812 09-May-2008 trawick

sync with 2.2.x

fc74bad82b735d1fda16719bb50505d92f1aa005 654802 09-May-2008 jim

backported to r654801

8a98a463d25b01028b51df16519b273f86042e05 654781 09-May-2008 trawick

sync with 2.2.x

a4e8b47b645c2d6870d05f9139998b3ed5ac09f5 654504 08-May-2008 trawick

fix OS name for searchability

0598a30dc7ae73de4116139272f473b69d1fe96d 654352 08-May-2008 covener

backported to 2.2.x in r654348

4cea18c3509c6adbd47b3ddafe4886ca83fa3e52 654332 08-May-2008 covener

*) mod_cgid: Explicitly set permissions of the socket (ScriptSock) shared by mod_cgid and request processing threads, for OS'es such as HPUX and AIX that do not use umask for AF_UNIX socket permissions. [Eric Covener, Jeff Trawick]

ed3bae41aaee86aab1a1ab371fe61b66ae24c264 654232 07-May-2008 trawick

mod_cgid: Don't try to restart the daemon if it fails to initialize the socket. It won't get any better without intervention, and it will fork() until some sort of intervention.

0d037c123ab86a5695e6fe24e3fc97793785e361 653773 06-May-2008 jim

Backported to 2.2.x in r653772

8a3e2ef19ddfb8addcccdc61da0d1442695a8280 652885 02-May-2008 rpluem

* Do not allow all options of ALL to be set when only a few of them are allowed. PR: 44262 Submitted by: Michał Grzędzicki <lazy iq.pl> Reviewed by: rpluem

213e520edc00641400771fc8f90b37a967a2d9eb 649460 18-Apr-2008 dirkx

Centralize the error-header collapsing done when sending out cached replies. Mark the change in CHANGES as it may have unforseen fall out and/or may need to be reverted or done more subtle.

a449830d5caa5b9900fe64cc383658b3641f9810 649162 17-Apr-2008 dirkx

Currently each of the caching module includes logic to implement the hop-by-hop rules of rfc 2616 along with the entity response rules. To make sure that they stay in sync; and to make it easier to add (http) caching modules - this change moves them all into one place (cache_util) and exposes a in-bound and out-bound version to operate on the headers. In short: we retire ap_cache_cacheable_hdrs_out() which was used for both in- and out-put headers; and replace it by a single ap_cache_cacheable_headers() which understands the hop-by-hop rules. And then wrap this into an in- and out-put specific ap_cache_cacheable_headers_in()/out() which we can teach things about entity responses and so on.. The latter which will also merge error and ensure content-type. This API change bumps up the minor MM by one.

cf874c878b790939492358a71f0f745a697eb9bd 649121 17-Apr-2008 jim

All backported to 2.2.9-dev now

06d3a46db9574ad55b65fed36b856fee72bd71a7 647395 12-Apr-2008 rpluem

* Allow Cookie option to set secure and HttpOnly flags PR: 44799 Submitted by: Christian Wenz <christian wenz.org> Reviewed by: rpluem

82632a19f2f9c346fee2b28a65920ba9737b3973 647263 11-Apr-2008 minfrin

Move the KeptBodySize directive, kept_body filters and the ap_parse_request_body function out of the http module and into a new module called mod_request, reducing the size of the core.

3c488b294fcae4f0c24e4a5ccfc4dc8eb41bb192 646845 10-Apr-2008 trawick

rotatelogs: Log the current file size and error code/description when failing to write to the log file. Sometimes users have a hard time believing that their little log file was really big enough to reach quota/filesystem/other limit back at the time of the error.

0481ff0599c9e3c0c7ad5c1930939dcdac908582 646453 09-Apr-2008 chrisd

Handle integer configuration directive parameters with a dedicated function, akin to dbd_param_flag(). Only needed when APR_HAS_THREADS.

835d676191444a46d695171e8760d55a66c60fec 646304 09-Apr-2008 minfrin

Change the directives within the mod_session* modules to be valid both inside and outside the location/directory sections, as suggested by wrowe.

723f9f463f1922eaef3d24d00cb289e10daa73ff 646285 09-Apr-2008 minfrin

mod_auth_form: Add a module capable of allowing end users to log in using an HTML form, storing the credentials within mod_session.

c2213b3a46a2666e2e7606ceec509cc4978f187f 646281 09-Apr-2008 minfrin

Add a function to the http filters that is able to parse an HTML form request with the type of application/x-www-form-urlencoded.

9911ea5d80db7e733af50b5d9696c24eb8771c69 645570 07-Apr-2008 jim

backported r645569

d4562e99f620170ce0bedddc16887b900b34913b 645244 06-Apr-2008 minfrin

mod_session_crypto: Initialise SSL in the post config hook.

fd279fe992f7171dc3f6d4d40d6db5bb74f2d96e 645160 05-Apr-2008 minfrin

mod_session_dbd: Add a session implementation capable of storing session information in a SQL database via the dbd interface. Useful for sites where session privacy is important.

fed63d1b62cc7e56aad77b70ee5b5cc7f5c6aade 644751 04-Apr-2008 minfrin

mod_session_crypto: Add a session encoding implementation capable of encrypting and decrypting sessions wherever they may be stored. Introduces a level of privacy when sessions are stored on the browser.

abe0d0e38b9705f21a13ac8748bce1e3ed35e488 644748 04-Apr-2008 minfrin

mod_session_cookie: Add a session implementation capable of storing session information within cookies on the browser. Useful for high volume sites where server bound sessions are too resource intensive.

fb8ee8b7a3a2503b95bf47685f9083e0b9834e6f 644746 04-Apr-2008 minfrin

mod_session: Add a generic session interface to unify the different attempts at saving persistent sessions across requests.

a72211e92bab814bfa28ee086ca9b2a1a6095c92 644525 03-Apr-2008 chrisd

Avoid calling access control hooks for internal requests with configurations which match those of the initial request. Revert to the original behaviour (call access control hooks for internal requests with URIs different from the initial request) if any access control hooks or providers are not registered as permitting this optimization. Introduce wrappers for access control hook and provider registration which can accept additional mode and flag data. The configuration walk optimizations were originally proposed a while ago (see http://marc.info/?l=apache-httpd-dev&m=116536713506234&w=2); they have been used since then in production systems and appear to be stable and effective. They permit certain combinations of modules and clients to function efficiently, especially when a deeply recursive series of internal requests, such as those generated by certain WebDAV requests, are all subject to the identical authentication and authorization directives. The major change from the original proposal is a cleaner mechanism for detecting modules which may expect the old behaviour. This has been tested successfully with Subversion's mod_authz_svn, which specifically requires the old behaviour when performing path-based authorization based against its own private access control configuration files.

5c5e7695fc1e44bebba6b339494a2df4e69b86fc 644391 03-Apr-2008 jim

close PR 44381

4228aba3de67f3d9cce68f7a915d5435faa43ada 644050 02-Apr-2008 rpluem

* Prevent a segfault if the destination URI of a copy / move operation is not under DAV control. Return 405 (Method not allowed) instead. PR: 44734

9582ad6e149d28b118d4e8571101ecb6f85e0191 642559 29-Mar-2008 niq

Update mod_include to use ap_expr API

78a20a6e7ad3a0229900ee54c7d11a65f647b663 642558 29-Mar-2008 niq

Introduce ap_expr expression parser API

d56bacbfefa5aa883ce5162a115747372fc38d13 640932 25-Mar-2008 chrisd

Return AUTHZ_GRANTED not AUTHZ_DENIED when redirecting after successful login/logout. Use redirection URL from first row returned by DB query, in the same manner as that used by mod_authn_dbd when querying for a single record.

e1a26e8050bf62459a7ef1c5064b714811767417 639465 20-Mar-2008 rpluem

* Initialize hash needed by ap_register_rewrite_mapfunc early enough. PR: 44641 Submitted by: Daniel Lescohier <daniel.lescohier cnet.com> Reviewed by: rpluem, niq, wrowe, jim

fcee7ee83b1e48f2655c79f176d1ea7627e19937 639417 20-Mar-2008 chrisd

*) mod_authn_dbd: Disambiguate and tidy database authentication error messages. PR 43210, committed in r639079.

7d0eaad7c7ed4033d691ef34870f160ec40b8a7a 637903 17-Mar-2008 jim

backported in 637902

26ad1ee9717859ca244e3fdf7dccf0f2b993d81f 637168 14-Mar-2008 covener

backported in r637167

53feccc94b923e12db1df6f7069676590097ba2f 636386 12-Mar-2008 rpluem

* Restore the original request headers if the cached resource was stale, as they may be needed by further output filters like the byterange filter to make the correct decisions. PR: 44579

b39ba1ea90cd1940dcd9e8d0f18c1ff02c187ac1 635953 11-Mar-2008 jim

PR 43562. fix regression in mod_speling behavior from 1.3/2.0 and, basically, incorrect behavior from what is expected as well as dependency on AcceptPathInfo.

d64dd2fd4516c2b1b664c5e59c0628d9aff26984 634821 07-Mar-2008 covener

* mod_ldap: Correctly return all requested attribute values when some attributes have a null value. PR: 44560 Submitted by: Anders Kaseorg <anders kaseorg.com> Reviewed by: covener

1f8418e8a5e3663b71800f6685bc5868dd9f1725 633887 05-Mar-2008 jim

in 2.2

4303ffa03a5f2306c981227aee10cfb29e069340 633886 05-Mar-2008 jim

backport r633885

1e911973bcb9df6701a4c16c037771ecf25ade13 632947 03-Mar-2008 niq

core: fix SymlinksIfOwnerMatch checking: (1) Fix Origin checking (PR 36783 - Robert L Mathews) (2) Check ownership if both FollowSymlinks and SymlinksIfOwnerMatch are set

2615e49e7e16488b3e2f1f16c5b24956e738c50d 632749 02-Mar-2008 rpluem

* If the cached entity contained Cache-Control: no-cache, treat it as stale causing revalidation. PR: 44511

b0c8eb40d588cf647a0bcbccfd51644a198faed9 632730 02-Mar-2008 nikke

mod_rewrite: Check all files used by DBM maps for freshness, mod_rewrite didn't pick up on updated sdbm maps due to this. PR41190 [Niklas Edmundsson] NOTE: Only tested on httpd-2.2.8.

a55905a382027bdcc3a29248db4176527d36aa9a 632355 29-Feb-2008 jim

Add in new option for rotatelogs: -f This forces rotatelogs to create the logfile as soon as started not as soon as it sees it's first line of input.

5fbd1e97905738791e7359ccbc9b02e913948d2e 631735 27-Feb-2008 rpluem

* Do not retry a direct connection if the request has a request body

ed3778139fd0498a825012b1c1f4718a4ab7a870 631364 26-Feb-2008 jim

As of r631363, all applied

51ef69890746f3cb512c7b867d43425af928a816 630348 22-Feb-2008 rpluem

* Second part of fix for PR 44402: - Fix the same race condition in event MPM. - Slightly optimize code in worker MPM by removing the need for an additional dereference operation. - Do some word smithing on the CHANGES entry. PR: 44402 Submitted by: Basant Kumar Kukreja <basant.kukreja sun.com> Reviewed by: rpluem

2abb2c210f1ddd7312ee86dd1d9e8486f4fff29c 630335 22-Feb-2008 niq

Worker MPM: fix race condition PR44402: reported and fixed by Basant Kumar Kukreja

61797afd155065894bb64e170c3a4540355e44df 629985 21-Feb-2008 jim

backported in r629983

5b34403770a5a65a807ab969af707902d93929e4 629915 21-Feb-2008 covener

rename mod_charset_lite CharsetOption ForceAllMimeTypes to TranslateAllMimeTypes (only about 18 hours old)

27895e581ee0faba0f1c41b0e5d0939d9d4ded72 629879 21-Feb-2008 jim

typo

dac9980d05f87d3ebdb3d2dde673a0f24dfcf248 629615 20-Feb-2008 covener

*) mod_charset_lite: Add ForceAllMimeTypes sub-option to CharsetOptions, allowing the administrator to skip the mimetype checking that precedes translation. PR 44458 [Eric Covener]

d4f5b36748788454402fddec295d92c06de07b1c 629456 20-Feb-2008 rpluem

* Set aside buckets that remain unprocessed in the filter context for the next filter pass. PR: 44447 Submitted by: Harald Niesche <harald brokenerror.de> Reviewed by: rpluem

3ce3a9dbc5c71b212fe6699919ede3792305bce7 628644 18-Feb-2008 niq

http_filters: Don't send 100-continue when 4xx is due PR 43711 Reported & tested by Ragini Bisraya Patch by Chetan Reddy Reviewed: niq

e74519466f1905e7a1b3d34396fbb82717153c90 627819 14-Feb-2008 jim

Assuming this sticks, explain why this was considered a Good Idea.

ca33b922ae8ad1b24a8235b656b0ac6f82915355 627764 14-Feb-2008 jim

Change default of mod_substitute to flattening... Via current discussion on dev@httpd

b842b65e0618c5535233b197f03dc917d184adb3 627728 14-Feb-2008 jim

Add in mod_jk's disablereuse analog for mod_proxy.

f4147030a513fc906d0ef2af1b634301c15eb4fd 627082 12-Feb-2008 rpluem

* This change is backported.

c002c44ee5c7e7258f4ba5c162461c24a0c179c2 620630 11-Feb-2008 dirkx

Addition of a test script which creates a Sample/test configuration for installations that wants to support SNI. Primarily done as a lot of web developers find the creation of certificates hard - and do not want to go to the expense of sourcing a handful from a well-known CA just for testing and experimenting. Also update the CHANGES log with the word 'SNI' as to make googling it easier.

e47d58d5d983426584c8d16416c50f5c58070746 620530 11-Feb-2008 dirkx

Turn the cache module into first class citizens (well the disk_cache and file cache that is). This makes the delta between 'all' and 'most' mod_cern_meta.c mod_log_forensic.c mod_mime_magic.c mod_unique_id.c mod_usertrack.c mod_version.c mod_mem_cache.c And keeps disabled in all and most the modules for: authnz_ldap bucketeer echo example_hooks case_filter case_filter_in example_ipc charset_lite cgid ldap optional_hook_export optional_hook_import optional_fn_import optional_fn_export As well as mod_ssl which is intentionally not part of MOST and All.

76f68128bb8fcea0f772d522c05dc7ec872040c2 620153 09-Feb-2008 dirkx

Add PR for header install

33aad3911b15cb5d523075f7df829274fe298a13 620135 09-Feb-2008 dirkx

Also install the so, rewrite and cache header files.

433dcb1fbaae82d36634f5120bff71a04296904d 620133 09-Feb-2008 dirkx

Sub-requests are created and used with two purposes; sometimes simply to 'see' what a request would do; as to fill out an SSI, validate access or similar - and is then discarded. And sometimes as the precursor to becoming the actual request; e.g. when mod_dir checks if an /index.html can be served for a '/'. In the latter case it is important to preserve the output filters 'for real'; whereas in the first case they have to be reset to purely the minimal proto filters (if at all). This patch instates the output filters in 3 cases where sub-requests are/may in fact be used as the real request later on. This is a relatively risky change (which should not be back-ported without further discussion) and may break caches in combination with internal redirects/vary/negotiation in subtle ways. See the thread starting at [1] and in particular the general concerns of rpluem at [2] with respect to sub requests and (fast_)internal redirects possibly needing a more thorough overhaul. 1: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/ajax/%3c335D1A4B-25E2-4FF1-8CDF-5010A7FBD293@webweaving.org%3e 2: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/%3c47ACE1D4.4060702@apache.org%3e

46a47c67296c52323632d5ae9d7c86bf87027a5f 617890 02-Feb-2008 rpluem

* Use a 64 bit unsigned int instead of a signed long to count the bytes transferred to avoid integer overflows. PR: 44346

edb2ad8387e30473e5be09714189441ef94d7f29 617822 02-Feb-2008 rpluem

* Do not retry a request in the case that we either failed to sent a part of the request body or if the request is not idempotent. PR: 44334

56d36eb430d390805c97ba4774d5b79352964c4a 616517 29-Jan-2008 rpluem

* Fix processing of chunked responses if Connection: Transfer-Encoding is set in the response of the proxied system. PR: 44311

56d3f6035b11f7d2074bcb8368dca5dfd12f9087 616335 29-Jan-2008 jim

Now let things like ProxyPassReverse /foo balancer://bar work "as expected" :) :)

64bf71725ee015894b1724bc0dd198e5e24424ec 615901 28-Jan-2008 rpluem

* Don't leak memory when reopening the logfile. PR: 40183 Submitted by: rpluem, Takashi Sato <serai lans-tv.com> Reviewed by: rpluem

d7fcc79b0bee660d71b0cccfe9bbc2765ee6420e 614607 23-Jan-2008 rederpj

Added rebind change info.

5e48e0ef81c0736649fd7d2884837b32ed678750 612954 17-Jan-2008 rpluem

* Do not try to read non existing response bodies of HEAD requests. PR: 34275 Submitted by: Takashi Sato <serai lans-tv.com> Reviewed by: rpluem

cb9999606fbbda475b7b40e164699731521e9eb1 611483 12-Jan-2008 niq

Support chroot on unix-family platforms PR 43596 (Dimitar Pashev)

e401969e137f69304ece30167d7401520c7d61a3 611475 12-Jan-2008 niq

Don't add bogus duplicate Content-Language header entries. PR 11035

1a8cd4825d1f4fc2ff84099d9e45d0f19fa34a1e 611466 12-Jan-2008 niq

mod_proxy_ftp: Fix base for directory listings. PR 27834

33159d1d1291b676697c154830134500e793e66b 611292 11-Jan-2008 covener

*) mod_proxy_http: Return HTTP status codes instead of apr_status_t values for errors encountered while forwarding the request body PR 44165 [Eric Covener] See also PR 31759 / r448711

8dafcef6cd2a5b17ef2e7cc799942ea724a87e87 611199 11-Jan-2008 covener

*) mod_logio: Provide optional function to allow modules to adjust the bytes_in count [Eric Covener] Practical example: alternate SSL implementation that lives beyond the filters (IOL)

cfef06e931e7c09128c0399b9005dd76a3ccdfd7 611134 11-Jan-2008 niq

mod_rewrite: Don't canonicalise URLs with [P,NE] PR 43319

f963d1b8294de4a9c7c497821271ea325f243604 609114 05-Jan-2008 rpluem

* These are now backported.

51968a91d1113fb1663e2ced4c817543c45f1b60 608063 02-Jan-2008 rpluem

* These are now backported.

fc1e32d46b9b9144583a60d51eded969130eb451 607930 01-Jan-2008 covener

backported in 607929.

6733d943c9e8d0f27dd077a04037e8c49eb090ff 607766 31-Dec-2007 covener

When using the MS SDK, re-establish LDAP backend connections on a return code of LDAP_UNAVAILABLE as if it were LDAP_SERVER_DOWN. With this SDK, LDAP_UNAVAIALBLE is returned when the socket had been closed between LDAP API calls. PR 39095

9f2bf8ffc5b94f213da70d7b1defbaf51a5973e1 607638 31-Dec-2007 wrowe

Introduce the ProxyFtpDirCharset directive, allowing the administrator to identify a default, or specific servers or paths which list their contents in other-than ISO-8859-1 charset (e.g. utf-8). Submitted by: Ruediger Pluem

ef1ab47476366272bf32be1439057f972bfe86ed 607466 29-Dec-2007 niq

mod_dav: Fix evaluation of If-Match * and If-None-Match * conditionals. PR 38034 Patch by Paritosh Shah Explanation by Werner Baumann

0db981f8fdfb62c5149efa079f0369b73d472d04 607437 29-Dec-2007 rpluem

* Adjust etag generation to produce identical results on 32-bit and 64-bit platforms and avoid a regression with conditional PUT's on lock and etag. Add a warning to the documentation of FileETAG that changes of the ETAG format can cause conditionals to fail on mod_dav_fs provided backends. PR: 44152 Submitted by: Michael Clark <michael metaparadigm.com> Reviewed by: rpluem

e081586504bda1e58ed384bbfbdbde0d9c8ddaee 607403 29-Dec-2007 rpluem

* Added missing CVE number

38a19f65bd390b5575f2732311e1e452cbbe1c1b 607402 29-Dec-2007 rpluem

* Added missing CVE number

9f979f5c8061f6f6f560d1824e0e378ff5b91931 607282 28-Dec-2007 rpluem

* Ensure refresh parameter is numeric to prevent a possible XSS attack caused by redirecting to other URLs. Reported by SecurityReason. Submitted by: Mark Cox, Joe Orton Reviewed by: security@httpd.apache.org

a237a68a256b719957183d87a550e3d81eea1659 607276 28-Dec-2007 rpluem

* Fix CHANGES wording for r606693.

ac1df18dac383d0596ba2a6c7dc4ca9c8722a1da 607275 28-Dec-2007 rpluem

* Correctly escape the worker route and the worker redirect string in the HTML output of the balancer manager. Reported by SecurityReason.

c4bc51d91a4e728cdd779291f24886c60e7a492b 607273 28-Dec-2007 rpluem

* Prevent crash in balancer manager if invalid balancer name is passed as parameter.

d7caab9de97ace25ea2bb444317379e96464ef97 607219 28-Dec-2007 niq

PR 39727: Fixup ETag handling in mod deflate (updated following extensive discussion on-list). This is not a full-and-final fix, because we don't ourselves do anything useful with these ETags. But at least we're no longer screwing up clients.

a1790fb35c4b352dab721370985c623a9f8f5062 606693 24-Dec-2007 rpluem

* Set character set for HTML outputs generated by mod_ldap, mod_proxy_balancer, mod_proxy_ftp, mod_info, mod_dav without a character set to ISO-8859-1. Submitted by: jorton

40beb03c240a9c60805388592f1005d9bf9d2362 606190 21-Dec-2007 fuankg

Added server name indication (RFC 4366) support (PR 34607). Submitted by: Kaspar Brand <asfbugz velox.ch>

62fb32ca54bd87e3e225fabc1a856f63935d9aad 604321 14-Dec-2007 rpluem

* This change was backported.

94ef1571eaa72b7af18210ac2cc06fa7fa27419c 604000 13-Dec-2007 rpluem

* Those are backported. Pointed out by: Takashi Sato <serai lans-tv.com>

5a9249c3ec14c03c3d656533b18b0cf03b83aa97 603738 12-Dec-2007 rpluem

* These have been backported.

5e45f400ad7a2616c2cd554fd7d356f940968fe9 603346 11-Dec-2007 trawick

http_protocol: Escape request method in 405 error reporting. This has no security impact since the browser cannot be tricked into sending arbitrary method strings. (words from jorton)

65cb7f00eca6689c8a89dc809359991ade1285bc 603238 11-Dec-2007 wrowe

Introduce --kill argument to ApacheMonitor for use by the installer. This will permit the installation tool to remove all running instances before attempting to remove the .exe. Note that since the introduction of CriticalSections, our compatibility with NT 4 was destroyed, and at this point that is no loss (there are no more security updates to NT 4 ergo it's not an OS we want connected to the internet, anyways). The WTS api calls require 2000 or later, but I'm not wrapping them since nobody notices the same issue with CriticalSections.

475311484e1d0f01d41e0f48bfecf1f4bca2ff07 603237 11-Dec-2007 rpluem

* Use a separate subpool to manage the data for the socket and the connection member of the proxy_conn_rec struct as we destroy this data more frequently than other data in the proxy_conn_rec struct like hostname and addr (at least in the case where we have keepalive connections that timed out and were closed by the backend). This fixes a memory leak with short lived and broken connections. PR: 44026

e2bb6b0c7c3677acdf102b743a2218aa37725c81 603227 11-Dec-2007 rpluem

* Do not set filter context brigade to NULL (and thus need to recreate it each time) but empty it (via APR_BRIGADE_PREPEND) and reuse it. Submitted by: Stefan Fritsch <sf sfritsch.de> Reviewed by: rpluem

4cb2a91bff46cc80d156f5654c922b0243f928cf 602795 10-Dec-2007 mturk

Use 64K as maximum allowable AJP packet size

b9138a18a2e9312afaa87cb323e5b845a64ef0a2 602735 09-Dec-2007 rpluem

* Do not split the brigade if the flush bucket is the last bucket in the brigade. PR: 23567 Submitted by: Stefan Fritsch <sf sfritsch.de> Reviewed by: rpluem

0af3ae06f92951e81d4cda56f33697f05911d5ed 602682 09-Dec-2007 rpluem

* These one have been backported.

ef79eba84348e4f8c99402de06afa2237a856049 602542 08-Dec-2007 rpluem

* Enable the proxy to keep connections persistent in the HTTPS case. Basicly the persistence is created by keeping the conn_rec structure created for our backend connection (whether http or https) in the connection pool. This required to adjust scoreboard.c in a way that its functions can properly deal with a NULL scoreboard handle by ignoring the call or returning an error code.

37e30e1fed962375bfcc18fb3a04938a12ed5c01 602509 08-Dec-2007 rpluem

* All these changes have been backported.

d0db5addb1858b640bebc27d738ba556f3a04362 600645 03-Dec-2007 wrowe

http_protocol: Escape request method in 413 error reporting. Determined to be not generally exploitable, but a flaw in any case. PR: 44014 Submitted by: Victor Stinner <victor.stinner inl.fr>

0d529159d06aec095a1e0612e2d629c98dc75512 600154 01-Dec-2007 rpluem

- when using "-l" reduce two consecutive calls to apr_time_now() to one. This will not change the logic if no "-l" gets used, and it will spare one call to apr_time_now() in case "-l" gets used and more important it gives the code better atomicity, because in fact between the two calls there is a slight change of jumping oder the DST boundary - for historic reasons the same code block is used two times with a slightly different way of transforming apr_time_t to int (once division by APR_USEC_PER_SEC, once call to apr_time_sec()), so let's unify it. - finally move the block into a function, because it gets used already two times. PR: 44004 Submitted by: Rainer Jung <rainer.jung kippdata.de> Reviewed by: rpluem

c52e490481bd0156dcfd894b7f818572eefc7943 599393 29-Nov-2007 niq

Since we don't support chained filters, and can't expect to while the filter_init problem remains, we should make it clear to users at startup time.

39c7699ec0799d394d3f67145d4a12ed82f587b8 599385 29-Nov-2007 jorton

mod_ssl: Add support for OCSP validation of client certificates: * modules/ssl/ssl_engine_config.c (modssl_ctx_init, modssl_ctx_cfg_merge): Initialize and merge OCSP config options. (ssl_cmd_SSLOCSPOverrideResponder, ssl_cmd_SSLOCSPDefaultResponder, ssl_cmd_SSLOCSPEnable): Add functions. * modules/ssl/mod_ssl.c (ssl_config_cmds): Add config options. * modules/ssl/ssl_private.h: Add prototypes, config options to modssl_ctx_t. * modules/ssl/ssl_util_ocsp.c: New file, utility interface for dispatching OCSP requests. * modules/ssl/ssl_engine_ocsp.c: New file, interface for performing OCSP validation. * modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify): Perform OCSP validation if configured, and the cert is so-far verified to be trusted. Fail if OCSP validation is configured an the optional-no-ca check tripped. * modules/ssl/config.m4: Check for OCSP support, build new files. * modules/ssl/mod_ssl.dsp: Build new files. * modules/ssl/ssl_toolkit_compat.h: Include headers for OCSP interfaces. PR: 41123 Submitted by: Marc Stern <marc.stern approach.be>, Joe Orton Reviewed by: Steve Henson <steve openssl.org>

0abda771544fc85894befadc7800b726164c58af 598299 26-Nov-2007 niq

mod_filter: don't segfault on (unsupported) chained FilterProviders. PR 43956

940bf3b5a5f66817af47f089103fd26a258a6e1b 598274 26-Nov-2007 jim

backported - 598272

69ea227d92eb79b0828350e75e99f37a6045e371 596796 20-Nov-2007 trawick

Allow local timestamps to be used when rotating based on file size. IOW, accept and respect either -l or UTC offset when rotating based on file size.

58228d0d8ec938433dcaaf703b21f1620b88eccf 596713 20-Nov-2007 jim

Now in 2.2.7

39de6f4e19f399e14fa61d9f73b83d2c16638326 596698 20-Nov-2007 trawick

improve command-line parsing example invocations now flagged as invalid: specifying UTC offset with size-based rotation specifying -l with size-based rotation specifying both -l and UTC offset range checking of integer parameters not attempted; basic data type issues may need to be addressed first such as the use of unsigned int for max file size

3511969853863eeb6e80018afe63831e5bf81447 596448 19-Nov-2007 rpluem

* Convert request time to seconds before before storing it in unique_id_rec struct. PR: 37064 Submitted by: Kobayashi <kobayashi firstserver.co.jp> Reviewed by: rpluem

2d3598e71417e0348cf1fa113f79b2b96c9f0d51 595676 16-Nov-2007 covener

backported in 595675

ab39e6d69a08324dbdea68e38de843a4a9ce7247 595672 16-Nov-2007 niq

Deal with unrecognised Transfer-Encoding headers. PR#43882 (Björn Höhrmann)

7896663fcc4124024b73fb1cbecdcf1bb5d08ba7 595666 16-Nov-2007 covener

backported to 2.2.x in r595664

8fb1a47a28e6b507152b2e255bf9dd61cae3680b 595475 15-Nov-2007 jim

backported

f261041e9d845c3e0ed9be7fefae2df2be61bfe4 594839 14-Nov-2007 trawick

core: Avoid some unexpected connection closes by telling the client that the connection is not persistent if the MPM process handling the request is already exiting when the response header is built.

c6d33447e28403a90ad817dba4df75fae785be28 594425 13-Nov-2007 pquerna

Add mod_serf, a reverse proxy module, which uses serf[1] as its http client library. To enable, pass something like this to configure: --enable-serf --with-serf=/usr/local/serf/0.1.2 To try it out, put something like this in your httpd.conf: <Location /> SerfPass http://httpd.apache.org/ </Location> LocationMatch and all related directives can also be used, magical eh? [1] - http://code.google.com/p/serf/

272a4b5b6fd7b244c3eebadad76a196d5f145bc5 593816 10-Nov-2007 rpluem

* Generate valid XHTML output by adding the xhtml namespace. PR: 43649 Submitted by: Jose Kahan <jose w3.org> Reviewed by: rpluem

05d5effa2fee19b146499a1c5497d9e9f74d93b2 593177 08-Nov-2007 trawick

remove trunk CHANGES entry for item backported to 2.2.x mod_charset_lite: Don't crash when the request has no associated filename.

439ccf2a084e1da566548931c585cbcc3a9e7f4c 592951 08-Nov-2007 minfrin

core: Add the option to keep aside a request body up to a certain size that would otherwise be discarded, to be consumed by filters such as mod_include. When enabled for a directory, POST requests to shtml files can be passed through to embedded scripts as POST requests, rather being downgraded to GET requests.

2fd61184d1bcdc2a9290af710a5ec8b8f5d4346b 592694 07-Nov-2007 trawick

mod_charset_lite: Don't crash when the request has no associated filename. (r->filename unset)

4ede070ca63bd4c48045e35a7192582769770290 592446 06-Nov-2007 jorton

mod_ssl: Fix forever-broken TLS upgrade support; perform the upgrade in the post_read_request hook rather than in a filter, and fix the filter insertion issue: * modules/ssl/ssl_engine_kernel.c (upgrade_connection): New function, mostly moved from ssl_io_filter_Upgrade. (ssl_hook_ReadReq): Call upgrade_connection to upgrade to TLS if required. * modules/ssl/ssl_engine_io.c (ssl_io_filter_Upgrade): Remove function. (ssl_io_input_add_filter, ssl_io_filter_init): Take a request_rec pointer and pass to ap_add_*_filter to ensure the filter chain is modified correctly; remove it from the filter afterwards. (ssl_io_filter_register): Drop UPGRADE_FILTER registration. * modules/ssl/mod_ssl.c (ssl_init_ssl_connection): Take a request_rec pointer, pass to ssl_io_filter_init. (ssl_hook_pre_connection): Pass NULL request_rec pointer to above. (ssl_hook_Insert_Filter): Remove function. (ssl_register_hooks): Drop insert_filter hook. * modules/ssl/ssl_private.h: Update prototypes. PR: 41231

795c9499a77c25695bcb9710ed67bbe51492e181 591760 04-Nov-2007 rpluem

* Use the same declaration for ap_time_process_request as in the header file. PR: 43789 Submitted by: Tom Donovan <Tom.Donovan acm.org> Reviewed by: rpluem

c4f16f709c79bb7e2ddffb532bc7708eab9a9691 591499 02-Nov-2007 covener

spurious 401s with message "DN has not been defined" when cache expiration happens in another thread PR 43786

ebe5305f8b22507374358f32b74d12fb50c05a25 591488 02-Nov-2007 covener

fix pool misuse around mod_ldap's connection cache, previously pconf could be used during request processing (the apr_ldap_foo only need a pool for temporary data anyway)

936a4025e45887d9f366bf54360c51937b6bcace 590641 31-Oct-2007 jim

Add in SeeRequestTail directive, to handle the shortcoming of only storing 63 bytes of the request, when the requests are longer than that and only vary towards the end; eg: GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/apples.jpg GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/pears.jpg GET /disk1/storage/apache/htdocs/images/image-store1/food/fruits/seeded/plums.jpg

5eec3dfebd821b0f9886756cfcd4a03c42de7596 589619 29-Oct-2007 jim

As of r589618, these have been backported

87fbb0715573d128b2644763c08484bfa096a622 589177 27-Oct-2007 niq

Fix possible crash at startup in case of nonexistent DocumentRoot. PR#39722

28fe44817329b1183f64e878c258962f90423a8d 588791 27-Oct-2007 niq

mod_proxy: add "nocanon" keyword to ProxyPass, to suppress URI-canonicalisation in a reverse proxy. PR 41798

7a079e0cd696baca90ac43e325f64582e2945c68 587771 24-Oct-2007 wrowe

Actually re-fix Christian's recommendation, someone previously caught this.

a72ba68ecbbc61e4b513e50d6000245c33f753dc 587770 24-Oct-2007 wrowe

MMN major bump required; this API is altogether inconsistent, transparent types should be opaque, opaque types should be transparent. Solve one aspect, follow the _by_indexes() example for ap_get_scoreboard_worker family of functions, and the primary one will now accept the abstracted conn_rec value of sbh to find that connections slot.

19fb68ef619b8aa3576a6e12fe64957e968d7423 583947 11-Oct-2007 covener

revert r581660 , fixed instead in APR trunk/r583421 1.2.x/r583860

3a089de7e4df98687ecd5b4e1b30767178fef0e4 583156 09-Oct-2007 jim

In 2.2.7-dev now

62c53a0dab4c85bfc6a5ab9abfb1b269d9f7458d 583002 09-Oct-2007 niq

mod_proxy_http: Don't unescape/escape forward proxied URLs. Just check them. PR 42592 also add fix to PR42572 to CHANGES (from r563487/r563489)

251734150e68598c3a4ba53d203311c1017245d4 582953 08-Oct-2007 rpluem

* This one was already backported

4eeaf4619bcf6687355635cba7e7e9f4e3107c37 582808 08-Oct-2007 jim

backported in r582807

b255022c487d4782e3acdbbc8210c4fd4f7f2315 582802 08-Oct-2007 jim

Remove backported changed which have been forgotten to be removed...

b18bb4605f6e3480f09811232a955de52749e477 582795 08-Oct-2007 jim

Note PR 43519 is closed...

c6f2d0c33368d0ff719e176c3bef9c2ea5177d43 582631 07-Oct-2007 niq

mod_proxy_http: Correctly forward unexpected interim (HTTP 1xx) responses. PR 16518

234a17e6b8840a52ec3a340659a4984fc06d469c 581660 03-Oct-2007 covener

mod_ext_filter: Prevent a hang on Windows when the filter input data is pipelined PR 29901

f09bf2676d29e43c211b663f5c9423815d83395f 581198 02-Oct-2007 niq

mod_deflate: Don't leave a strong ETag in place while transforming the entity. PR 39727 Comment: Another user just subscribed to this bug. We need a fix more than we need an inconclusive discussion!

3d81c6f18deabacd15101eda69f7d16bf466d22d 581117 02-Oct-2007 niq

Default to NOT setting Max-Forwards in violation of RFC2616 Leave old behaviour as a configuration option (ProxyMaxForwards) PR 16137

26b3536faba2adf259e19db7af8d9b63adaa5503 580782 30-Sep-2007 niq

Proxy: remove Warning headers with wrong date PR 16138

0b2361dac549453500c8df060975ac788a02d2eb 580598 29-Sep-2007 niq

mod_deflate: initialise inflate-out filter correctly when the first brigade contains no data buckets. PR 43512

ecc3d196bbd7f558ea48d4a731f7f4f0f883d17d 580466 28-Sep-2007 niq

Fix keepalive to proxy backend PR 43472

c43cc3be552d386b6063f05478d21ed4bd61b4c7 580457 28-Sep-2007 niq

Fix processing of Connection headers in proxy PR 43509

24a97ba8b0a6bfd5ccdb1894e0d5241e46e080d6 580060 27-Sep-2007 niq

Fix adding out Via header in proxy response PR 19439

7e5af356ff51d737433c39c0ea0b04e3bf29b241 580044 27-Sep-2007 niq

Strip hop-by-hop headers in proxy response

c8011c2575f8dba0333e61b3a4fcea8741e616a9 580000 27-Sep-2007 jim

backported to 2.2.7

a403dbf53e544291022bcc166ac8823d60fb1ee5 579991 27-Sep-2007 niq

Add "DefaultType None" option PR 13986 and PR 16139

b814595300b7e42fe1752c249cfe35a9865e48d6 579707 26-Sep-2007 jim

Ignore any ajp13 flush messages which we may mistakenly rec' before we send the response headers. See Tomcat PR 43478.

11a0edf478ca9c59d80bf73491d89cf019259fee 579664 26-Sep-2007 niq

Reinstate location walk for subrequests PR 41960 (Jose Kahan)

06446302a0a3e40cd8807bb25467c8f776cf2fba 579425 26-Sep-2007 trawick

mod_log_config: Add format options for %p so that the actual local or remote port can be logged. PR: 43415 Submitted by: Adam Hasselbalch Hansen <ahh@one.com> Extensively commented on and/or modified by Ruediger Pluem and Jeff Trawick

f427f572e575740010fd835155b8aed60d458e36 578620 24-Sep-2007 niq

PR 40037: try to avoid risk of misleading the lusers when they can't initialise scoreboard after a crash.

07836e4e80ebf27dabdbb544e82b4e04294bb476 576912 18-Sep-2007 jim

In 2.2.7 now.

8d56ba4a805b7be411132e804dcbcf412b169aa0 574951 12-Sep-2007 jim

These are now in 2.2.7-dev

b65a184929c97d0b0e4d3bad42648e0e9ce1b8fe 574684 11-Sep-2007 rpluem

* Add the novary flag to RewriteCond in order to prevent the appending of HTTP headers used in a rewrite condition to the Vary header of the response.

27f76637b56ce5103be7a66970c7159d573a365f 574240 10-Sep-2007 niq

Don't send spurious "100 Continue" response lines. PR 38014 [Basant Kumar Kukreja]

8739639a54b2c89fdc4dd15a8453c7707a08b82c 574100 10-Sep-2007 niq

mod_proxy_ftp: Don't segfault on bad line in FTP listing PR 40733 [Ulf Harnhammar]

01d82bc3ace026e822ea51e680977c6d3e6f7629 574024 09-Sep-2007 jim

Make AJP HEAD aware

1efd3be6ec6b22c0b40c3f864baa2a8a138f6e0d 574021 09-Sep-2007 niq

Propagate Proxy-Authorization header correctly PR 25947 RFC2616 tells us: (1) If we haven't authenticated, we must pass the header on. (2) If we have authenticated, we MAY pass it on. I've made the latter case configurable by ENV(Proxy-Chain-Auth). Also, Proxy-Authenticate is a response header, and doesn't belong in a check of request headers.

d71a8a38d2ac7e58951605f0807cc89fed7992ef 573939 09-Sep-2007 niq

Escape error-notes correctly PR 40952

a9032b04dea20854789dcd723f59e951055eafcc 573911 08-Sep-2007 niq

Check all IP addresses listed in ProxyBlock PR 36987

c76ccee1c47ce272630c95f3de16164bccaf09a8 573903 08-Sep-2007 niq

mod_proxy: Don't lose bytes when a response line arrives in small chunks. PR 40894

5ff68527ed4cfc34ba93eb201b79fc3363ee66e4 573831 08-Sep-2007 niq

Add option to escape backreferences in RewriteRule. PR 34602 and PR 39746 Patch by Guenther Gsenger

43ff1c77a6fe27186d2c03b68bf5f63d33c4c521 572633 04-Sep-2007 jim

All part of 2.2.6 now.

328c04f25b509a383fe7f8b38389e22456dcd67d 572426 03-Sep-2007 rpluem

* These have been backported to 2.2.x.

71518f6965caf333f8c993e4c8c0641927ea1927 572000 02-Sep-2007 niq

Fix proxy-sendchunk(s|ed) problem PR 43183

768e39db691b12ef3290789e29e9764c20b5e01f 571937 02-Sep-2007 rpluem

* These have been backported.

afa1d453cfe6011c18adb7c0e89e3b7a7405ff3f 571934 02-Sep-2007 rpluem

* This one was backported.

9c97e6302f7624855e1909b35d448a5a2d5a4378 571872 01-Sep-2007 minfrin

mod_include: Add an "if" directive syntax to test whether an URL is accessible, and if so, conditionally display content. This allows a webmaster to hide a link to a private page when the user has no access to that page.

ecc1538af1c08282fc2773d2eb3f1a54251862f9 571798 01-Sep-2007 minfrin

mod_authnz_ldap, mod_authn_dbd: Tidy up the code to expose authn parameters to the environment. Improve portability to EBCDIC machines by using apr_toupper()

4f230299fdf41b201e0511e082470e9a33807b7c 571780 01-Sep-2007 jim

These were backported

c656afaf406c6b8e7f647605febff5c5bb4ab08d 571444 31-Aug-2007 jim

These have been backported to 2.2.x, so remove from the trunk/2.3.0 CHANGES file

1a5f954324f2584984fc9cee7a7a8ebe8ef39aea 571441 31-Aug-2007 jim

Finish cleanup of CHANGES files, to reduce the sync required when backporting, etc...

29d102623cf16280dc3f1f9a7901a9dcb588013d 571414 31-Aug-2007 niq

Fix potential proxy segfault PR 40756. Patch adapted from 2.0 patch by Trevin Beattie

e5d6ce6a451d52167bf2f12401aa756460cbeb69 571338 31-Aug-2007 niq

mod_proxy: Add Proxypass status option to ignore errors PR 43167. Patch by Francisco Gimeno

6be4432d7ac8316c54365bd27545b8fe7b5ecf39 571002 30-Aug-2007 niq

proxy_http: don't wait for response body in a HEAD PR 41644 [Stuart Children]

9621772c8ecc8049280c020b60db647731938126 570558 28-Aug-2007 jim

Make Bill happy ;)

7320986558344ba0e4d6087476dc44261ff96a41 570532 28-Aug-2007 jim

IndexOptions ContentType=text/html Charset=UTF-8 magic.

4d237bbe075b1d2c19428cd954d721d65b31f67c 570308 28-Aug-2007 wrowe

Credit where credit is due (I swore I did this already).

9202888f40657d158338d63d4b93fe0be1821b3e 570218 27-Aug-2007 fielding

note mime.types update

49f39a4568dab427b2c4ae070d0f831d1ac9ebf8 569660 25-Aug-2007 jim

Should have added this in march. Oops... Also need docs too... Have to do that this weekend if I find the cycles, otherwise next week.

d23bf04157b2769eebb47aeddbc3fda3d8144e0f 569538 24-Aug-2007 wrowe

Note log.c refactoring.

fa0b0aa1c79ac39f6c3f27de2ffe8eaa14fa306a 568789 23-Aug-2007 wrowe

We'll generally resync later-if-ever, but make note.

9c4aba037521e63b2d92cf6c99aee8e94663e12b 568762 23-Aug-2007 wrowe

Eliminate an XXX; apr-based file logging isn't available to report failures of apr_app_initialize() nor the very first apr_create_pool.

4454877ac4229442a1cb20ec2b5b8c92657659a6 568460 22-Aug-2007 wrowe

Note changes.

9f5ea8b7a24bbd455b8ee71ea737b4880e55f070 567503 20-Aug-2007 covener

clarify impact of http://svn.apache.org/viewvc?view=rev&rev=567091 in CHANGES entry based on email discussion

9ab5933c174cb21de69e8305f80544cbe7ed2a7c 567091 17-Aug-2007 covener

AFAICT, LDAP_CACHE_LOCK was a no-op when virtualhosts were used

9fcea5d26cbaf4df156b83df3aeecd2896a412fd 565671 14-Aug-2007 niq

mod_negotiation: preserve Query String in resolving a type map PR 33112. Report with patch by Jørgen Thomsen. Attention called to it by Per Jessen.

74499a117b3b2cd9666715a14f90c0e5d1a4ee8a 564559 10-Aug-2007 jim

No longer try to sync CHANGES with older versions. Instead provide SVN pointer.

bf511f47b2f272119c064c682e87f74809fed0fb 563839 08-Aug-2007 jim

sync 2.2.5 changes... bah. See post on dev@httpd regarding this waste of time :)

c05a38095129d25a4ad10aa51584c774458fb089 563317 07-Aug-2007 niq

Check all sources of Content-Encoding in inflate_out filter PR 42993 Reasoning: http://marc.info/?l=apache-httpd-dev&m=118643107831358&w=2

c4a423b3ef5cf5bc7209b452ed0823b5a895ffd6 562510 03-Aug-2007 jim

*) mod_proxy: Improve network performance by setting APR_TCP_NODELAY (disable Nagle algorithm) on sockets if implemented. PR 42871 [Christian BOITEL <christian_boitel yahoo.fr>, Jim Jagielski]

5fc20796e4b0474cf8b2383945687783de1d3632 562503 03-Aug-2007 jim

PR 42847.

96352b5caba97685f248e83585a58558ab61746c 562502 03-Aug-2007 jim

Sync with 2.2.5-dev

277e6113b9243f84ba6bec5464914ab2172b9d4a 562499 03-Aug-2007 jim

Format changes

084d3bd7b9e5456e77664b61c0d6f3448edf3726 562236 02-Aug-2007 niq

Note mime.types updates

7c57a839114dc39ba3b8cb9f08cc7a056338bfcb 561616 01-Aug-2007 niq

Fix buffer overflow in date handling PR 41144 (Davi Arnaut)

13dcd384fbb417166276fdf0ab1706c27d04e385 560689 29-Jul-2007 niq

Fix protocol handling in mod_deflate input filter PR 23287

3f5585f7f4a7d74f2f94ec729ea8c1879d419e35 560373 27-Jul-2007 rederpj

mod_ldap, mod_authnzldap: Add support for nested groups (i.e. the ability to authorize an authenticated user via a "require ldap-group X" directive where the user is not in group X, but is in a subgroup contained in X. PR 42891 [Paul J. Reder]

ed0d39878e79220baaa50c15b79b1fdf877cb919 559840 26-Jul-2007 niq

Note mod_filter fixes

f85bcbc579bb47de4d3f7d72ccaacc8ad4525238 556082 13-Jul-2007 gregames

rev 556028 / 554011 to mod_deflate are externally visible, so mention it in CHANGES

5d4512d8c3a70094ff3e941667007a42925f73e2 551843 29-Jun-2007 jorton

Add alternative fixes for CVE-2007-3304: * configure.in: Check for getpgid. * include/mpm_common.h (ap_mpm_safe_kill): New prototype. * server/mpm_common.c (reclaim_one_pid): Ensure pid validity before calling apr_proc_wait(). (ap_mpm_safe_kill): New function. * server/mpm/prefork/prefork.c, server/mpm/worker/worker.c, server/mpm/experimental/event/event.c: Use ap_mpm_safe_kill() on pids from the scoreboard, throughout. * include/ap_mmn.h: Minor bump.

d9b12166875edee8979f2bd4ad3927e4ed7fdc4b 551835 29-Jun-2007 jorton

Revert r547987 ("svn merge -c -547987 .")

a02fb91d4d029c3378f840659ba477ead289047b 549417 21-Jun-2007 mjc

This issue now has a CVE name

f2e009134c7e279f99dfca5bd421f721bf1f7840 549159 20-Jun-2007 jorton

Fix CVE-2006-5752: * modules/generators/mod_status.c (status_handler): Specify charset in content-type to prevent browsers doing charset "detection", which allows an XSS attack. Use logitem-escaping on the request string to make it charset-neutral. Reported by: Stefan Esser <sesser hardened-php.net>

9f4f51c3c7cad19cc4b40adf6780434553bd3c2b 549131 20-Jun-2007 jorton

Tweak text for PR 39245 fix; handling of 1xx interim responses is not affected by this change.

a37803b5c687c0bfb99e49bd4b030fb40812774d 547987 16-Jun-2007 jim

PID table impl: parent process keeps a local table store of Apache child process PIDs and uses that to check validity of what's in the scoreboard.

135402675e89e6df0e17735e48f428a1e1d8eb16 546328 12-Jun-2007 pquerna

Add a clogging_input_filters variable to the conn_rec, enabling the Event MPM to know when its running with an input filter that buffers its own data, like mod_ssl.

e4b96ba15dc8b2b27d251d53e29b86da32cd5066 545379 08-Jun-2007 pquerna

Add support for distributed caching of SSL Sessions inside memcached, using apr_memcache, which is present in APR-Util 1.3/trunk. This was originally written at ApacheCon US 2005 (San Diego), and was sent to the list: http://mail-archives.apache.org/mod_mbox/httpd-dev/200512.mbox/%3C439C6C07.9030904@force-elite.com%3E This version is slightly cleaned up, and of course, uses the now bundled apr_memcache, rather than an external dependency.

4233b18553d723a4e22d6126866f05e3d842f781 543515 01-Jun-2007 covener

SECURITY: CVE-2007-1862 (cve.mitre.org) mod_mem_cache: Copy headers into longer lived storage; header names and values could previously point to cleaned up storage PR: 41551 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: covener

c4313e35bed51fd5525e60333eb5d64021ab5057 539621 19-May-2007 jerenkrantz

mod_cache: Do not set Date or Expires when they are missing from the original response or are invalid.

5b4d25005978c3667f44fbd5dcbd4cc34e9c714d 539620 19-May-2007 jerenkrantz

mod_cache: Correctly handle HEAD requests on expired cache content. PR 41230. * modules/cache/mod_cache.c (cache_save_filter): Properly handle HEAD responses when we have a stale handle. (This patch was revised by Justin/Ruediger.) Submitted by: Niklas Edmundsson Reviewed by: Justin, Ruediger

236675b0526bbf82edb9a34e9b10be56cc10b9cd 539433 18-May-2007 jim

Document new directive

211b32adc6bb57a312e7e8d089d177501767775a 539431 18-May-2007 jim

Backported

86cea5a879d441110ad4f5a12261c1d6f9aa3523 539282 18-May-2007 jerenkrantz

Sync with 2.2.5 CHANGES

8d29663ccfe9b7908257c3f6dd67829bca27da01 539119 17-May-2007 rpluem

* Sync with 2.2.x CHANGES file

5deae13e827ad3a8d1972f457fd331e7fcbdbcb8 539063 17-May-2007 jerenkrantz

mod_cache: Let Cache-Control max-age set the expiration of the cached representation if Expires is not set. * modules/cache/mod_cache.c (cache_save_filter): If Cache-Control max-age is set and Expires isn't, let that value control our expiration.

24e8199695b555aafbd4e0035d8f03c9263c2eb2 538997 17-May-2007 jerenkrantz

mod_disk_cache: When renegotiating an already cached Vary'd response, do not let us later throw away the renegotiated content due to a name mismatch. We do not need to update the ->name field just before writing the headers as the computed ->name on open and create is sufficient. Updating ->name here is essentially a no-op - except in the case of Vary where the key has internally changed (to account for the Vary prefix), but the original name has not. However, writing the Vary'd-accounted key means that when we read the cache next that we will error out and disregard the just renegotiated response and fetch the content all over again - oops! (This is largely a case where I think we may have overthought ourselves; hence the explanation is here in the commit rather than in the file itself.) * modules/cache/mod_disk_cache.c (store_headers): The originally opened ->name is sufficient. * CHANGES: Combined with r538992, note that renegotiation for Vary's seem to work far better.

f1ca07dc17883c1a894300534a144ac15018a545 538869 17-May-2007 rpluem

* Sync with 2.2.x CHANGES file

d1197e9701d5464a365fbc6925466966cd95b86d 538807 17-May-2007 jerenkrantz

RFC 2616 13.2.1 calls out max-age as being a valid 'explicit expiration time', so per Sec. 13.9 permit queries with just max-age instead of only Expires. * modules/cache/mod_cache.c (cache_save_filter): Be closer to RFC 2616's intent for query arguments. * CHANGES: Update.

961e5ad9f2e71ceebb585d38a2b34c98dcf5fc50 535907 07-May-2007 rpluem

* Sync with 2.2.x CHANGES file

8b67b9d3ce40755d1b58971198a02b2749d8e13d 534536 02-May-2007 bnicholes

Update the status of the access control directives

cf271ff5f3e95ebd3fec31d7073713ab6ada8225 534074 01-May-2007 jim

Sync with recently backported patches

5d6c71a689673bb35e07784d8e35239845142118 527969 12-Apr-2007 trawick

HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone. Only processing of error responses (4xx, 5xx) will be altered. PR: 39245 This is based on a patch submitted by Bart van der Schans <schans hippo.nl> and tweaked slightly by me based on discussions on dev@ since April 2006. I think rpleum was the first to mention the 1xx issue.

2d979f1a392940641629f0bbfbdc4e7ac1f52ad3 526914 09-Apr-2007 trawick

sync with 2.2.x branch

8b4ee53fc52bc935cdd12876022c6a5a873ce4cc 526892 09-Apr-2007 trawick

htdbm: Enable crypt support on platforms with crypt() but not <crypt.h>, such as z/OS. We assume that the ancient code in htpasswd has it right -- all but Windows, TPF, and NetWare have crypt(). Submitted by: David Jones <oscaremma gmail.com> Reviewed by: wrowe, trawick

bd78ef3c09d61d89d6757ffd52b4f272de1a5b6a 525709 05-Apr-2007 sctemme

Move the thread locking upcall initialization before the hardware library init, so the hardware library can pick up the locking callbacks. Fixes PR 20951. Tested on Linux with trunk and an nCipher nShield card, and on Solaris 10/Sparc on 2.0.55 with an nCipher NetHSM.

7e852fc77c66ea1edb4e88808bb75ecd3603a2e5 520735 21-Mar-2007 wrowe

Hardly seems worth noting, but since it's an FAQ in the first place...

e5106092b7fae78cec4898042a78a10acccb4cac 520701 21-Mar-2007 wrowe

*) adds compile-time/run time SSL-C version support *) simplify a ton of overly-verbose legacy code *) split the compiled-against v.s. runtime library *) precache the results of the version string touchup

470d223738c1dfc4e07c7fae5d186e9dfadd9643 517238 12-Mar-2007 jorton

Generate etags consistently across 32-bit and 64-bit platforms: * modules/http/http_etag.c (etag_uint64_to_hex): Renamed from etag_ulong_to_hex; take an apr_uint64_t argument. (ap_make_etag): Adjust to use new function and macro names. Pass arguments directly to etag_uint64_to_hex without casting down to unsigned long. PR: 40064

81bd9331da3bd0f53255d52b1475480ff3a4b395 516175 08-Mar-2007 trawick

ab: Add -r option to continue after socket receive errors. Submitted by: Filip Hanik <devlist hanik.com> Reviewed by: trawick

6a2a19c3a70c6e8f6bdce8e1dcde95bc5a591235 509654 20-Feb-2007 jim

Note PR 11540 closed here and in httpd-2.2

cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9 509237 19-Feb-2007 trawick

mod_ldap: Fix the search limit parameter to ldap_search_ext_s() for SDKs that define LDAP_NO_LIMIT to something other than -1. Submitted by: David Jones <oscaremma gmail.com> Reviewed by: trawick

13ce20bba632871d7ceb413f39dc73c718ddec7d 508645 17-Feb-2007 chrisd

Added PR 41302 reference to mod_dbd patch r503931.

cb96b603a7f891e15a622fbec922628801a8efd4 506621 12-Feb-2007 rpluem

* Save the key we generate during our first run of cache_generate_key_default on each request in the request_config. During consecutive runs of cache_generate_key_default during processing the request we restore it from there as we might not be able to generate the same key again as the ingredients used to compose the key might have changed and we constantly must use a key that could be generated during the quick handler phase. PR: 41475

f3a5934ca0fb0f0f813bd9d9d06af8937e3f401f 504892 08-Feb-2007 jim

Change common but incorrect usage of 'depreciated' for 'deprecated'

fc3182e72cf0679cbf14a95213fbb9a98c3cf597 504183 06-Feb-2007 rpluem

* Add CacheIgnoreQueryString directive to cache requests with a query string even if no expiration time is specified. Futhermore the query string will not be used for key generation such that requests to the same URI path, but with different query strings are mapped to the same cache entity. Turning this setting to ON violates RFC 2616/13.9 and thus it is turned off by default. PR: 41484 Submitted by: Fredrik Widlund <fredrik.widlund qbrick.com> Reviewed by: rpluem

c7c8dd19c90c5ee7205ccdf443585d14da3daece 503931 06-Feb-2007 chrisd

Introduce configuration groups to allow inheritance by virtual hosts of database configurations from the main server. The post_config hook function determines the minimal set of distinct configurations necessary so that database connection pools are shared between virtual hosts whenever possible. The SQL statements which should be prepared for each database connection are now stored in a hash for each virtual host during the configuration phase, and these hashes are merged in the normal manner using apr_hash_overlay() with that of the main server. This allows for statements to be de-registered by DBDPrepareSQL, if desired. The post_config hook function then compares the statements registered for each virtual host when determining if a separate configuration group is required. The changes in r424798, r432560, r432562, and r466641, which still have problems with configuration inheritance, are therefore no longer necessary.

421e0a5d1c49de76406f61e9abef271af2336c31 503863 05-Feb-2007 rpluem

* Add missing Changelog entry for PR41056 / PR 19954. This was fixed in r480135. PR: 41056 / 19954 Submitted by: jfclere, jim Reviewed by: jim

d0cd4568592f103a454ac647f4961af293f88f4e 502797 03-Feb-2007 jim

bomb the BOM

e60d61b95bc7d293176ffb95e86a0375ea49ebe4 502365 01-Feb-2007 minfrin

This time from the top, with three part harmony AND feeling... Revert the read-while-caching and large-file-crash fixes for mod_disk_cache, ready to start again. Reverted: r450105 r450188 r462571 r462601 r462696 r467655 r467684 r468044 r468373 r468409 r470455

108ebbb87b2a46f4416ec507824471a483c39fe1 502323 01-Feb-2007 sctemme

apxs: Enhance -q flag to print all known variables and their values when invoked without variable name(s).

eed0a2641e6988b8190af0625d4a99b2d02bdde9 501132 29-Jan-2007 trawick

sync with 2.2.x branch

da0d09d5b49958dcef2f394477d7174dfd584534 500881 28-Jan-2007 trawick

Unix MPMs: Catch SIGFPE so that exception hooks and CoreDumpDirectory can work after that terminating signal. Submitted by: Eric Covener <covener gmail.com> Reviewed by: trawick

bed7fc979e00a75f76ed79245f003b52e91d40ab 496831 16-Jan-2007 chrisd

We now create memory sub-pools for each DB connection and close DB connections in a pool cleanup function. This simplifies the ap_dbd_acquire() and ap_dbd_cacquire() functions, and also stops us from leaking ap_dbd_t structures when using reslists. We ensure that prepared statements are destroyed before their DB connection is closed, in case any drivers would have problems cleaning up prepared statements after the DB connection is closed. The combination of reslists and memory pool cleanup functions was causing segfaults when child processes exited, as reported in PR 39985. To prevent this, we register dbd_destroy() as a cleanup that will execute prior to the internal cleanup function registered by apr_reslist_create(). When the reslist's memory pool is destroyed, dbd_destroy() informs dbd_destruct() not to do anything when subsequently called by the reslist's internal cleanup function. We avoid the use of s->process->pool (the global pool) since it isn't destroyed by exiting child processes in most multi-process MPMs.

6f715f23d1ef4d412dc89cf8e483bf1154686ced 495131 11-Jan-2007 wrowe

Solved.

7abe34dd5a20fc8fde09dca9116b88e6ddfd55dd 494781 10-Jan-2007 jorton

* configure.in: Substitute MOD_SO_ENABLED variable. * support/apxs.in: Use it to eliminate run-time check for whether httpd has mod_so built-in. Submitted by: David M. Lee <dmlee crossroads.com> PR: 40653

205c204b61b6ecf592cc0ea251ae2f02fc7e19f1 493280 06-Jan-2007 wrowe

Update CHANGES, add attributions for assistance

10d486b9267800c5e376c22f6c0d45dc2ae86f67 491922 02-Jan-2007 chrisd

Create pmain pool and run modules' child_init hooks when entering ap_mpm_run(), then destroy pmain when exiting ap_mpm_run(). The expected call to ap_run_child_init() appears to have been removed in r89640. However, that call should presumably still be made once per process, as in other single-process MPMs like the netware MPM.

3e155218733389e7b1ea3a9ffd0aea533fd929ce 491907 02-Jan-2007 chrisd

Destroy pmain pool when exiting ap_mpm_run() so that cleanups registered in modules' child_init hooks are performed (e.g., mod_log_config and mod_dbd).

e4edb2d4252459327f6edd834de6825873e60134 491884 02-Jan-2007 chrisd

Handle error conditions in dbd_construct() properly. Simplify ap_dbd_open() and use correct arguments to apr_dbd_error() when non-threaded. Register correct cleanup data in non-threaded ap_dbd_acquire() and ap_dbd_cacquire(). Clean up configuration data and merge function. Use ap_log_error() wherever possible.

414d856f21668e07bcdcb8d050481796d84bda66 490028 24-Dec-2006 trawick

sync with 2.2.x branch

e4eeafb5814b5add53efc27debb231db37d34676 488884 20-Dec-2006 jim

Sync with 2.2.4

29828f49377897a874aec410f90eda4977c144a7 488825 19-Dec-2006 rpluem

* Sync with 2.2.x CHANGES

b62c24d5cc5bec29cec95aae8e236016cd78fe3c 487901 16-Dec-2006 niq

PR#37680: fix socket block/nonblock on restart/graceful Patch submitted by Darius Davis (darius-abz free-range.com.au)

6c7aa683421c46525e71a166a5a5b637f902e6bb 486663 13-Dec-2006 jim

Sync with 2.2.4

cab76376671a3b885805a232b0fca9cd09763d6e 486657 13-Dec-2006 jim

Sync with 2.2.4 changes

57047462e24c25106ed3047dfa0f0673f0d6fc80 486615 13-Dec-2006 trawick

add previously-omitted CHANGES entry for a fix merged into 2.2.x

39faded00972708f78af1613f895061b95afec3f 486320 12-Dec-2006 rpluem

* Handle request bodies larger than 2 GB by converting the Content-Length header string of the request correctly to apr_off_t. PR: 40883

6584fe5dea4c3e48c28208482694e8b64e333790 484983 09-Dec-2006 jim

Sync with 2.2.4-dev. Add entry since it's a PR fix.

2d0d8213c4df303dabe883df8fa29ac8f2b42d63 484776 08-Dec-2006 rpluem

* Sync with 2.2.x and style fixes

dcb2819b8b9d4b86852fa3de8871d05ca4de67ca 484645 08-Dec-2006 jim

More 2.2.4-dev syncs

554d13791e00914b9a752b05c3976d50dd27124a 484643 08-Dec-2006 jim

And sync with recent 2.2.4-dev backports

d247789737dad3168ec8c0aea51fcb9b87d371aa 484617 08-Dec-2006 jim

Sync with 2.2.4-dev

8490276a0c949567788c47c37468eda0ca339d8e 483975 08-Dec-2006 trawick

sync with 2.2.x branch

569ddc923f6a9d4b9338c10ddf42d464f63232c9 483968 08-Dec-2006 trawick

sync with 2.2.x branch

b87fe8021e886342fdf61b56ee23be46641900d1 483959 08-Dec-2006 trawick

sync with 2.2.x/CHANGES

111c8f806b790a72ad0244aae35252470662e10d 483633 07-Dec-2006 rpluem

* Do not replace a Date header set by a proxied backend server. PR: 40232

399d43256a3339482bfa6cb76eb72ce5b363ae7a 481901 03-Dec-2006 rpluem

* Ensure that at least scheme://hostname[:port] matches between worker and URL when trying to find the worker that fits best to the given URL. PR: 40910

37b35c7feec8216b5119c0c083990cfe4e400769 481886 03-Dec-2006 rpluem

* Remove expired content from cache that cannot be revalidated. PR: 30370

dd6199828976e6c7850ca6abd7a1ceba99e9ed16 481509 02-Dec-2006 chrisd

Stash DBD connections in request_config of initial request only, or else sub-requests and internal redirections may cause entire DBD pool to be stashed in a single HTTP request.

5fb3861acae76b1e62571662d32a4312229bb926 476628 18-Nov-2006 rpluem

* CVE-2006-3747 was the main reason to release 2.2.3. So place the changelog entry where it belongs.

bc786d0dba3cefae135fb85ab303ddb2b229e43d 476625 18-Nov-2006 rpluem

* Use the query string stored in r->parsed_uri.query instead of r->args as r->args could have been changed (e.g. via mod_rewrite) after the quick handler hook. This causes resources to be stored under a key, where they cannot be fetched again in the quick handler. PR: 40805

735cd88c825038eeac04c63c70282afbf936b798 472116 07-Nov-2006 jim

Note 2 backported ports applied to 2.2.4-dev

ce6e6ce15f92e55178acd9b9a56745b3f33898c6 472105 07-Nov-2006 jim

Note 2 backports applied to 2.2.4-dev

3ff68b9ee78262779dbedf791576d35fdd229f7b 470076 01-Nov-2006 rpluem

* Assign rv in the if statement to return the correct error code and more important an error code at all, as currently APR_SUCCESS is returned in the error case. PR: 40865 Submitted by: Andrew Rucker Jones <arjones simultan.dyndns.org> Reviewed by: rpluem

de0fed4fa6741aea09dbe28f03aa4c20e822ed5d 469895 01-Nov-2006 rpluem

* Increase the minimum and default value for MCacheMinObjectSize from 0 to 1, as a MCacheMinObjectSize of 0 does not make sense and leads to a signal Floating point exception (8) (division by zero) in memcache_gdsf_algorithm. PR: 40576 Submitted by: Xuekun Hu <xuekun.hu gmail.com> Reviewed by: rpluem

38c37050250a232748df499cb74e2bec82cd791a 468373 27-Oct-2006 minfrin

mod_cache: Pass the output filter stack through the store_body() hook, giving each cache backend the ability to make a better decision as to how it will allocate the tasks of writing to the cache and writing to the network. Previously the write to the cache task needed to be complete before the same brigade was written to the network, and this caused timing and memory issues on large cached files. This fix replaces the previous fix for PR39380.

1775cecdf5c740b6f466804d9d389c25795d8b02 468044 26-Oct-2006 minfrin

Revert the splitting of buckets before they are handed to the cache providers, a better way has been found to do this.

755cc23fb49c4d0a8853f2cee28b6d846b9f4b56 467655 25-Oct-2006 minfrin

mod_cache: Fix an out of memory condition that occurs when the cache tries to save huge files (greater than RAM). Buckets bigger than a tuneable threshold are split into smaller buckets before being passed to mod_disk_cache, etc. PR 39380

ab43b4a17b2ac31ccb1cf280be8c42a8a314cecb 467338 24-Oct-2006 jorton

* server/log.c (ap_open_logs): When dup2'ing the error log to stderr, use the already-open stderr file object rather than opening a new one. Submitted by: Tom Donovan <Tom.Donovan acm.org> PR: 40476

67139e2d50d1e11558d87f7042f61cb04bb0d1d2 467326 24-Oct-2006 jim

Once SSLMutex allowed for the setting of both the locking method and the lockfile location, I never liked how AcceptMutex was linked to LockFile. This seemed unnecessary. Much better to have AcceptMutex do both as well. Plus, now that we will likely see other modules require a "standard" way of setting mutexes, why not have Apache provide that as an API of sorts. Anyway, LockFile is now depreciated and AcceptMutex is now SSLMutex-like. We also provide a short function that "parses" out a mutex parameter and strips out the mechanism and lockfile location. AcceptMutex and SSLMutex is this capability.

da09cb78fe2e87c16e5bbe3fdea15ec9684a1be0 467034 23-Oct-2006 trawick

Fix address-in-use startup failure caused by corruption of the list of listen sockets in some configurations with multiple generic Listen directives. The logic in error is that which prunes out generic IPv4 listening sockets when we already have a v4-mapped generic IPv6 listening socket for the same port.

a4ab95921be8ce5de50913cd6505d41b672eb375 466865 22-Oct-2006 minfrin

mod_authn_dbd: Export any additional columns queried in the SQL select into the environment with the name AUTHENTICATE_<COLUMN>. This brings mod_authn_dbd behaviour in line with mod_authnz_ldap.

e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8 466641 22-Oct-2006 minfrin

mod_dbd: Key the storage of prepared statements on the hex string value of server_rec, rather than the server name, as the server name may change (eg when the server name is set) at any time, causing weird behaviour in modules dependent on mod_dbd.

50c06405bc48121db2913925549407fd3e79bced 463900 14-Oct-2006 mturk

Added mod_proxy_fcgi win32 build.

acdf89d84940eb9ae13389097e625cb08c62d452 463509 13-Oct-2006 minfrin

This stuff has been backported.

2ce90d8d49fb2c464202a8a335e2cd4ea3cb5f33 463489 13-Oct-2006 minfrin

Backported.

cd6811891c9998e52e5e325f82f519dadbc82b39 463478 13-Oct-2006 minfrin

Backported.

e114df93a5d0da6e525a51eb1a29219d94d3eb3a 463468 13-Oct-2006 minfrin

Backported.

1497efa2a5ac0d441f73f23947ef7611a9e44515 463427 12-Oct-2006 minfrin

mod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If set, REMOTE_USER will be set to this attribute, rather than the username supplied by the user. Useful for example when you want users to log in using an email address, but need to supply a userid instead to the backend.

30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efc 463291 12-Oct-2006 jim

So I'm sitting in Rich's talk and think to myself, it's kind of stupid that DumpIO always logs at Debug, esp when you consider that it's likely you'll be doing so in conjunction with SSL... One Big Log is understating it! :) Add DumpIOLogLevel to allow one to change the level...

f613fc7bb7d9073d0e029aab629afd257927f3b7 462696 11-Oct-2006 minfrin

mod_disk_cache: Implement read-while-caching.

973a0e8715651f0a56148d315100169453c4d89e 462601 11-Oct-2006 minfrin

mod_disk_cache: NULL fd pointers when closing them, fix missing close/flush, remove some unneccessary code duplication instead of calling the right helper in replace_brigade_with_cache().

dec02391360e503cd3437d16bed765dc653b9de5 462580 10-Oct-2006 minfrin

sendfile_nonblocking() takes the _brigade_ as an argument, gets the first bucket from the brigade, finds it not to be a FILE bucket and barfs. The fix is to pass a bucket rather than a brigade.

722ed80e405b9d451cc89465ac2b0568f143a7a2 462571 10-Oct-2006 minfrin

mod_disk_cache: Do away with the write-to-file-then-move-in-place mentality.

1b27a3a26f18191db7ecb4d536cb121ba9520a8e 454683 10-Oct-2006 niq

Add SQL Query capability to RewriteMap

e6d97c844003fd0a04cbd26eb8f68c97fd62c587 452473 03-Oct-2006 rpluem

* Sync with 2.2.x CHANGES file

399cf0e5e061b49593817421b94305889fa6bc1f 452431 03-Oct-2006 jorton

When starting a new piped error logger for the main server, ensure that the new child's stderr is not a pipe to an old piped logger: * server/log.c (log_child): Add "dummy_stderr" parameter; if set, duplicate stdout as the stderr for the child. (open_error_log): Add "is_main" parameter; use dummy stderr for logger for main server only. (ap_open_logs, ap_open_piped_log): Adjust for new open_error_log()/ log_child() parameters. PR: 40651 Submitted by: jorton, rpluem

13c7ff50f27aefa2594d33089fcff6ceb9796fe7 452330 03-Oct-2006 niq

Support regexp-based manipulation of HTTP headers

b931e2cf90d43b0894c2e2927a2a42aca46f277e 452213 02-Oct-2006 rpluem

* Fix precedence problem. PR: 40658 Submitted by: Larry Cipriani <lvc lucent.com> Reviewed by: rpluem

71c75c2103351f9b46c9ed69cd9b48bc02b5dfe0 452212 02-Oct-2006 rpluem

* Fix precedence problem. PR: 40656 Submitted by: Larry Cipriani <lvc lucent.com> Reviewed by: rpluem

e30d7d52b4f4a0b17653bccb45709fa43cd1a69e 450453 27-Sep-2006 minfrin

mod_cache: Eliminate a bogus error in the log when a filter returns AP_FILTER_ERROR.

acf74b3c26daa2c06515d25ae2bee028b344a1f0 450105 26-Sep-2006 minfrin

mod_disk_cache: Make caching of large files possible on 32bit machines by determining whether the cached file should be copied on disk rather than loaded into RAM. PR39380

3d4a04d66fae699916fabb4e5313e9183d25d78e 450089 26-Sep-2006 minfrin

mod_mem_cache: Convert mod_mem_cache to use APR memory pool functions by creating a root pool for object persistence across requests. This also eliminates the need for custom serialization code.

14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55 450070 26-Sep-2006 minfrin

Memory leak fix: Unconditionally free the buffer.

47d8d3d8c3092026d268457e5d53607a26d28945 450063 26-Sep-2006 minfrin

mod_cache: From RFC3986 (section 6.2.3.) if a URI contains an authority component and an empty path, the empty path is to be equivalent to "/". It explicitly cites the following four URIs as equivalents: http://example.com http://example.com/ http://example.com:/ http://example.com:80/

23daa0524ddc988dc8abefed7dbd900595545ecb 450055 26-Sep-2006 minfrin

Don't cache requests with a expires date in the past; otherwise mod_cache will always try to cache the URL. This bug might lead to numerous rename() errors on win32 if the URL was previously cached.

1ba81b5553888a91574c360460b45e517169e9ad 450042 26-Sep-2006 minfrin

mod_disk_cache: Make sure that only positive integers are accepted for the CacheMaxFileSize and CacheMinFileSize parameters in the config file. PR39380 [Niklas Edmundsson <nikke acc.umu.se>]

ce26c909953968ede7c5097e508d37b2fa91ea3a 446929 16-Sep-2006 rpluem

* Set the new environment variable BALANCER_ROUTE_CHANGED if a worker with a route different from the one supplied by the client had been chosen or if the client supplied no routing information for a balancer with sticky sessions.

686ce4eade942e515b1725d0c9751da36b759a6c 446609 15-Sep-2006 trawick

note a backport; don't forget that trunk had an additional change

c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3 441947 10-Sep-2006 rpluem

* Print the correct error message for erroneous configured ProxyPass directives. PR: 40439 Submitted by: serai lans-tv.com Reviewed by: rpluem

9a60abfb324ea66f9d7089b856f315efeb7056b4 441796 09-Sep-2006 trawick

Allow htcacheclean, httxt2dbm, and fcgistarter to link apr/apr-util statically like the older support programs. Submitted by: Eric Covener <covener gmail.com> Reviewed by: Jeff Trawick

58c97901868722bc3b7833ac725a1d5658fa2920 440801 06-Sep-2006 jim

Update backports

1ce78cf71b5baaf2c1ab48e818cb1f2397df5010 440337 05-Sep-2006 trawick

Replace ap_get_server_version with ap_get_server_banner() and ap_get_server_description(). High-level summary: The full server version information is now included in the error log at startup as well as server status reports, irrespective of the setting of the ServerTokens directive. Third-party modules must now use ap_get_server_banner() or ap_get_server_description() in place of ap_get_server_version().

886f0852a0b7e9f0b6414b157ea9dc403d282e3e 440160 04-Sep-2006 rpluem

* Extract stickysession information correctly in the case that it is given as parameter like in the following example: www.someplace.com/somewhere/?jsessionid=gggfgdufdfoef.server&parameter=value So far we were only able to handle stickysession information encoded in the following form: www.someplace.com/somewhere/;jsessionid=gggfgdufdfoef.server?parameter=value PR: 40400

fafad9231a6b47368d4b690346f90698542caa50 440028 04-Sep-2006 trawick

Handle filter names which include capital letters. PR: 40323

2cef392e45f74260035e7449fc95d032baa88084 437749 28-Aug-2006 jim

These have been approved for backport and or in/will be in 2.2.4

b1bb7fe353e0f1759febb0c67e517195137275d3 437668 28-Aug-2006 rpluem

* Note the changes that were done in revisions 422731 422736 422739 423940 424759 424950 425109 426790 426791 426793 426795 (deflate output filter) and 416165 426799 (inflate output filter) PR: 39854

c3c8103039e36494987aff50451896459826a361 434483 24-Aug-2006 rpluem

* Close connection to backend if reading of request body fails. PR: 40310 Submitted by: Ian Abel <ianabel mxtelecom.com> Reviewed by: rpluem

4bd465052c4a0c8d41e573ee7a90c312d980355f 431460 15-Aug-2006 chrisd

Introduce a check_config phase between pre_config and open_logs, to allow modules to review interdependent configuration directive values and adjust them while messages can still be logged to the console. The open_logs phase is already used somewhat for this purpose by certain MPMs (winnt, prefork, worker, and event) but only by forcing their functions ahead of the core ap_open_logs() function, and since this phase runs after the ap_signal_server function during startup, it can not be used to generate messages on the console when restarting. Add the check_config phase to mod_info and mod_example. Handle relevant MPM directives during this phase and format messages for both the console and the error log, as appropriate. Bounds and sanity checks on the values of the MPM directives are handled in sequence in this phase instead of in the various directive handling functions, since those functions (e.g., set_max_clients()) may not be called at all if their directives do not appear in the configuration files, and even if they are called, there is no guarantee that this will occur in any particular order. Remove from the worker and event MPMs the code in the pre_config phase that alters the configuration node tree by re-ordering ThreadsPerChild ahead of MaxClients. This code is effective but insufficient; for example, if ServerLimit follows MaxClients, the test against server_limit in set_max_clients() is invalid. (In practice, this only results in incorrect or absent warnings on the console, because server_limit is set to its configured value when the main loop re-runs the configuration process.) Prevent ap_threads_per_child from exceeding thread_limit in the winnt, worker, and event MPMs. This situation could occur if ThreadsPerChild was not specified in the configuration files and ThreadLimit was set to a value smaller than DEFAULT_THREADS_PER_CHILD, because set_threads_per_child() would never be called and therefore its bounds check against thread_limit would not be performed. Remove from the winnt, prefork, worker, and event MPMs the changed_limit_at_restart flag. Set the first_server_limit and first_thread_limit values during the first execution of the check_config function, and use them to detect changes to ServerLimit and ThreadLimit across restarts and issue appropriately formatted warnings. Remove the comments about the error log being a "bit bucket"; this was true when the code was originally committed in r92530 but that was due to a bug fixed in r92769. Be consistent about setting all MPM configuration directive values in the pre_config phase. Rephrase and reformat the console and log file messages relating to MPM configuration directives to be consistent across all MPMs. Use briefer messages when logging to the error log than to the console. Update miscellaneous stale comments and messages (e.g., reference to daemons_min_free in worker and event MPMs, "prefork open_logs" in winnt MPM, and StartServers in netware MPM). The winnt, netware, beos, and mpmt_os2 MPMs should be tested by developers with access to those platforms, especially the winnt MPM, which has unique logic with respect to distinguishing between parent and child processes during the configuration phases. Update the English documentation for the worker MPM's ThreadsPerChild directive, which no longer needs to precede other MPM directives in the configuration files if it has a non-default value. The German (.de) and Japanese (.ja) translations should be updated by developers fluent in those languages.

a71dbbcb4f19f6b1d19a45defcd3ed1988d9db56 431342 14-Aug-2006 niq

Note bugfix

27b38d4191d5f638165e2a77ec6e6f567bd7784d 429883 09-Aug-2006 niq

That proxy change was functional, even if it was just one character:-)

a87e2a23083aa62229307482afbb3b802a0c2105 428029 02-Aug-2006 mturk

Fix return values from wait_for_many_objects. The return value is index to the signaled thread in the creted_threads array. We can not use WAIT_TIMEOUT as return value because its value is defined as 258, thus limiting the MaxThreads to that value that leads to the assertion errors.

f185ce14f5dd540ae54659f764989c017c619485 427172 31-Jul-2006 jim

Add in a very simple balancer "set" concept, which allows for members to be assigned to a particular cluster set such that members in lower-numbered sets are checked/used before those in higher ones. Also bundled in this are some HTML cleanups for the balancer manager UI. Sorry for the mixins :) Compiles/builds clean: passes test framework as well as more normal usage tests ;)

6d8d07c0167960873d449b217da08faab50c410d 426138 27-Jul-2006 mjc

SECURITY: CVE-2006-3747 (cve.mitre.org) mod_rewrite: Fix an off-by-one security problem in the ldap scheme handling. For some RewriteRules this could lead to a pointer being written out of bounds. Reported by Mark Dowd of McAfee. Ack: trawick, lars, jorton, wrowe, benl

260825f41ee3fb517a5c5ecd675f5f58de9ea0b7 425787 26-Jul-2006 rpluem

* Remove all filters that are before the cache_out filter. This ensures that we kick off the filter stack with our cache_out filter being the first in the chain. This make sense because we want to restore things in the same manner as we saved them. There may be filters before our cache_out filter, because 1. We call ap_set_content_type during cache_select. This causes Content-Type specific filters to be added. 2. We call the insert_filter hook. This causes filters e.g. like the ones set with SetOutputFilter to be added. PR: 40090

e2d680c8e2d17df28e0b9f5919e651af74e7378f 425742 26-Jul-2006 rpluem

* Sync with 2.2.x CHANGES

b5fca7531f2de1c6710b45ed4f4b6089fa5a06c0 425728 26-Jul-2006 rpluem

* Sync with 2.2.x CHANGES file

65acd2837c0c846f8d1f7d265bbc861f04e8a9c5 425663 26-Jul-2006 niq

Note backport

337d121aa0049cbd0ae664f5d1c431d862f1d49e 425634 26-Jul-2006 jim

remove BOM

188befd3a49e3a126bd801d7dc5a7f6e63ad4332 425454 25-Jul-2006 mturk

Added cping/cpong support for the AJP protocol.

4b4d33edc11ab08e8019d2c2557fea73b2fdbdb0 424877 24-Jul-2006 trawick

reflect backports of two MPM fixes

163168e21f940bc78513a15f482bab4a3bb34978 424803 23-Jul-2006 niq

Record bugfix

8fd638698262130d00458b2c95548f6f94875847 424084 21-Jul-2006 rpluem

* Remove the word SECURITY to address Joe's and Bill's concern that this would imply that FollowSymLinks and SymLinksIfOwnerMatch are security features.

534611d341a1a48b93c7a1fd5e333dbd261527d3 423886 20-Jul-2006 rpluem

* Check for symbolic links of the target file in the optimized case that we had already done this specific directory walk for this request. This can happen when we have an internal redirect, like the ones caused by mod_dir (/ -> index.html). See also http://mail-archives.apache.org/mod_mbox/httpd-dev/200607.mbox/%3c44B5521F.8050906@globalvanet.com%3e Reviewed by: wrowe

e99dfd55d29a7b4209b814efc7270d0b74ccee74 421686 13-Jul-2006 niq

Support environment variable interpolation in reverse proxy configuration

d1420fcb98890b212bb4632fb1097fe764f6b76a 421383 12-Jul-2006 jim

Guess I should document the mod_proxy_balancer changes

127aef4ce9f7b6b32a95c5ed9a93b796d18755e6 420307 09-Jul-2006 rpluem

* Add the filename of the configuration file to the warning message about the useless use of AllowOverride. PR: 39992 Submitted by: Darryl Miles <darryl darrylmiles.org> Reviewed by: rpluem

75dd7bfd71e6d1b7f2dd29efb41b0aed5c46a51c 417443 27-Jun-2006 rpluem

* Retry worker chosen by client supplied route / redirect worker if it is in error state before sending "Service Temporarily Unavailable". PR: 38962 Submitted by: Christian Boitel <cboitel lfdj.com> Reviewed by: rpluem

192f4f9ad53487b74228b2bc410947375d69f4df 417262 26-Jun-2006 wrowe

One more bug licked, as verified by Matt

62a2cea4c337100e330fd31c786c5323de2ff1a2 417238 26-Jun-2006 rpluem

* Add the following environment variables to expose the information * about the route, the sticky session and the worker used during a request to other modules: BALANCER_SESSION_STICKY BALANCER_SESSION_ROUTE BALANCER_NAME BALANCER_WORKER_NAME BALANCER_WORKER_ROUTE PR: 39806 Submitted by: Brian <brectanu gmail.com> Reviewed by: rpluem

c7f65019a793b500f0e61d1be5c08d041c543470 416294 22-Jun-2006 wrowe

Note that 416293 went a bit further.

88a69c2c895d959ba4120a8ccaddfe603d6ee2c0 416291 22-Jun-2006 wrowe

Stop appending a backslash if some trailing slash is present. For cross platform isapi we aught to find out what to add from apr, slash or backslash, but can't think of the trivial answer at this hour. PR: 15993

4f15e478033a94d4b2eb3c9cb55c4008806ecd18 416288 22-Jun-2006 wrowe

mod_isapi: Handle "HTTP/1.1 200 OK" style status lines correctly, the token parser worked while the resulting length was misinterpreted. We were also off by one in apr_cpystrn which demands room for the trailing null be counted. PR: 29098 Submitted by: Brock Bland <bbland serena.com>

7aa189407cc993c97b31167201319a9ab2e1715e 416278 22-Jun-2006 wrowe

We need to pay alot more attention here to ap_pass_brigade. PR 30022

7e5a8c14bf68438e4098f74999e154d157e33eb7 416272 22-Jun-2006 wrowe

mod_isapi: Ensure we walk through all the methods the developer may have employed to report their HTTP status result code. PR: 16637, 30033 Submitted by: Matt Lewandowsky <matt iamcode.net> Reviewed by: William Rowe

79d4b708d021714647aab8b138ae671ed24765ce 416266 22-Jun-2006 wrowe

Note new (old) feature

6666167d402bfbfe002ab2626b788f5822e831e6 414146 14-Jun-2006 niq

Documenting new mod_speling directive

88d0e50f16b21d4d0af0a48da7ad28fb5991834c 411469 03-Jun-2006 rpluem

* If possible, check if the size of an object to cache is within the configured boundaries before actually saving data. Submitted by: Niklas Edmundsson <nikke acc.umu.se> Reviewed by: rpluem

15264721069299ec26493e21d56bf8ff7faf6f0d 411466 03-Jun-2006 rpluem

* The first comment did not really hit what we do.

11e1b16b907afb7de0678e28fe4849d9029e2df8 411464 03-Jun-2006 rpluem

* info->expire and info->date are in microseconds. So convert the difference to seconds before comparing it to age which is in seconds. PR: 39713 Submitted by: Owen Taylor <otaylor redhat.com> Reviewed by: rpluem

d4d8fbf75076eccfed70c8f715f7ed4210ab5ccd 411315 03-Jun-2006 bnicholes

Fix authnz_ldap invalid auth detection

a9e9e4d9b1e6bb081282f75bf450b7d7d5a1f581 410942 01-Jun-2006 rpluem

* Sync with 2.2.x CHANGES

a085f5ab771cff650b27e7a761b7f19adf884686 410370 30-May-2006 rpluem

* Keep the Content-Type for successfully revalidated cached objects, by unsetting possible Content-Type headers in r->headers_out and r->err_headers_out as they may be different to what we have received from the cache. Actually they are not needed as r->content_type set by ap_set_content_type a few lines above will be used in the store_headers functions of the storage providers as a fallback and the HTTP_HEADER filter does overwrite the Content-Type header with r->content_type anyway. PR: 39647

25a81ea1bca1c89cda713c4d23660e487b1488a0 409942 28-May-2006 rpluem

* Remove temporary files if renaming fails, otherwise they may accumulate. Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem

de0d0b50c96fae59c28e09fed61b0d15cfa4147b 409715 26-May-2006 chrisd

On graceless shutdown or restart, send AP_SIG_GRACEFUL to all worker threads so that any that are polling on Keep-Alive connections will wake up and exit promptly. Otherwise, on Linux, they wait until poll()'s timeout interval completes, which is often too long for the parent process; the parent issues SIGKILL before the child's main thread manages to re-join all the worker threads. PR 38737. On Solaris, by contrast, the close_worker_sockets() function successfully alerts all worker threads that they should exit quickly. On Linux, this side-effect of one thread closing another's socket doesn't occur; see: http://bugme.osdl.org/show_bug.cgi?id=546 Also, expand on the placeholder in CHANGES regarding previous cleanups to scoreboard.c and scoreboard.h in r404848 and r404849.

48fa058fe468025347930610ac2473094fa0f4e4 409693 26-May-2006 chrisd

Make the worker and event MPMs not touch the scoreboard when handling a fork() failure. The previous behaviour appears to have been inherited from the prefork MPM, where is it appropriate. The prefork MPM sets thread_limit to 1 and therefore each child process has a single worker_score structure in the scoreboard's array, i.e., ap_scoreboard_image->servers[slot][0]. In make_child(), it sets this structure's status to SERVER_STARTING, and then does a fork(); if the fork() fails, it resets the status to SERVER_DEAD. The worker and event MPMs, by constrast, obviously use multiple worker_score structures per child process. They may also be in use by worker threads from a previous generation at any particular moment. Therefore make_child() and the parent process in general doesn't normally update them; make_child() doesn't set them all to SERVER_STARTING before doing fork(), for example. So, make_child() shouldn't set them to SERVER_DEAD if fork() fails (and even if it should, it certainly shouldn't be just updating the first one).

3545f87968bf3ac4e691030f816c4360bdf83eac 408154 21-May-2006 rpluem

* Fix const compiler warning introduced by r407357. Noticed by: Joe Orton

42ace93dfd997e0c9b4fbae8185288320e95eb72 407357 17-May-2006 rpluem

* Handle the cases "no proxy request" and "reverse proxy request" in the same manner, when setting scheme and port_str. This is needed because if a cached entry is looked up by mod_cache's quick handler r->proxyreq is still unset in the reverse proxy case as it only gets set in the translate name hook (either by ProxyPass or mod_rewrite) which is run after the quick handler hook. This is different to the forward proxy case where it gets set before the quick handler is run (in the post_read_request hook). If a cache entry is created by the CACHE_SAVE filter we always have r->proxyreq set correctly. Also set scheme to ap_http_scheme(r) instead of "http" to handle SSL correctly. PR: 39593

3ec4328f079d8867cc323155e59678ad9437914f 405625 10-May-2006 rooneg

Add support for fcgi:// proxies to mod_rewrite. Submitted by: Markus Schiegl <ms schiegl.com> * modules/mappers/mod_rewrite.c (is_absolute_uri): Recognize fcgi:// urls. * CHANGES: Note change.

3f8acb7a6efce613255b816db41336e3e4eb89a0 405478 09-May-2006 fielding

revert last entry -- not user visible and poorly worded

6a34fc3f679896410651242c508719f62da60553 405400 09-May-2006 thommay

remove test/zb.c

cd59ac5e8f739afbdcd523c649550f7dce1709ce 404851 07-May-2006 niq

Note scoreboard stuff in changes; leave the 'difficult' patches to see if they attract any more review.

60262a02cfeba50d60d990b56d0e0c1d1fafb672 399947 05-May-2006 sctemme

Add optional 'scheme://' prefix to ServerName directive. For 'https', mod_http returns "https" for the ap_hook_http_scheme and DEFAULT_HTTPS_PORT for ap_hook_default_port. This fixes Redirect responses to requests for directories without a trailing slash when httpd runs behind a proxy or offload device that processes SSL. It also enables support for Subversion in that configuration. This change is completely backwards compatible and passes the perl-framework. Minor mmn bump because I add a field to server_rec.

246f38960407d4eb8e04cb67604a325be2054230 399668 04-May-2006 trawick

mod_charset_lite: Bypass translation when the source and dest charsets are the same.

b8e238b2dc596d96c71ce7291cefbe49e9ded406 399388 03-May-2006 rpluem

* Add Content-Type to headers_out if not already set. This ensures that the Content-Type of the cached entity gets restored correctly. PR: 39266

3ddec0f3e161d5a5afab12c522d92c44e4d7d8fc 399099 03-May-2006 gregames

PR 39275. don't fork MaxClients worth of processes if child_init or fork() are slow.

0c5a6a11ce72ad41b14c755f4a2254e0c7b70245 396137 22-Apr-2006 rpluem

* Sync with 2.2.x CHANGES file

edf6757df85878dc8ce11fb3840ee4cde6de5b2f 396073 22-Apr-2006 rooneg

* CHANGES: Make spacing consistent with the rest of the file.

db78659055df54243bca678c35bd2ce7e31a9237 396064 22-Apr-2006 rooneg

* CHANGES: Note the addition of mod_proxy_fcgi.

cac9ad7277e615599b739a13336f917840007e8a 395079 19-Apr-2006 colm

Correctly handle internal redirects, by testing only for r-main == NULL. ap_is_initial_req() returns false for internal redirects.

b5a608c73ead0bfb252951f143d065e04f1f0ab5 394965 18-Apr-2006 mjc

Thiago Zaninotti reported to security@apache.org on 20060410 a possible cross-site scripting flaw because the Expect header error message isn't escaped. We couldn't find a way that this could be used by an attacker however, as they can't influence the Expect header a victim will send to a target site. Thiago agreed and we're therefore not treating this as a security flaw, but it is a bug that ought to get fixed. I'll add to STATUS for 1.3/2.0/2.2 shortly for acks.

aa50ea5f14daee6307cb6c24346be796e2047217 394446 16-Apr-2006 rpluem

* Also initialize local data structures for workers of a balancer. PR: 38227, 39267 Submitted by: James A. Robinson <jim.robinson stanford.edu> Reviewed by: rpluem

200fd0ce73d992a43b500ddfe94487a840bd56da 394092 14-Apr-2006 rpluem

* Sync with 2.2.x CHANGES

95aaebc2605a69993e61418bdfe88001c2b2a5a1 394088 14-Apr-2006 rpluem

* Avoid calling ap_proxy_http_cleanup twice as this releases a connection from the connection pool twice. This causes this connection to be present in the connection pool twice. Thus it may be used by different threads at the same time which causes many troubles (segfaults in this case). Furthermore implement a logic to prevent double releases to the connection pool if they are triggered by buggy code and log an error message in this case. - mod_proxy_http.c: remove double calls to ap_proxy_http_cleanup - proxy_util.c: Add logic to prevent double releases of a connection to the connection pool. PR: 38793

f8f4567683d2823be89e7e70c6cfc35971bbbd16 394070 14-Apr-2006 rpluem

* Initialize last_char as otherwise a random value will be compared against APR_ASCII_LF at the end of the loop if bb only contains an EOS bucket. PR: 39282 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem

40b10b9bf464adaaf1bb0fab6c8a81a2f0b7c1a8 393364 12-Apr-2006 trawick

The crypt() prototype is in <unistd.h> instead of <crypt.h> on HP-UX. We had no prototype for crypt() there. In 64-bit mode, a crash occurred because the pointer returned by crypt() was truncated before we passed the pointer to apr_cpystrn().

7ad80aa7ab21b5d2f96f7b07f4d89fd5a7ac4511 393087 11-Apr-2006 rpluem

* Rollback r393037 as this was vetoed by wrowe. Details see http://mail-archives.apache.org/mod_mbox/httpd-dev/200604.mbox/%3c443ABE65.1060603@rowe-clan.net%3e

9193ead21652d076df8b9132ffc0db8ead166bf1 393037 10-Apr-2006 rpluem

* Prevent r->parsed_uri.path from being NULL as this can cause segmentation faults e.g. in mod_cache. Set it to "/" in this case. PR: 39259 Submitted by: Davi Arnaut <davi haxent.com.br> Reviewed by: rpluem

8390c33bd34fcd89af38984bb8a5e567705fccc4 392944 10-Apr-2006 trawick

htdbm: Warn the user when adding a plaintext password on a platform where it wouldn't work with the server (i.e., anywhere that has crypt()).

391a534b1ff745e8543e7fa257cdee4fe7549048 392613 08-Apr-2006 rpluem

* Check for an existing socket independant of an existing connection record. This ensures that requests handled by the '*' worker are sent to the correct backend server. PR: 39253

3421353061bc845097d0c6f4d864122cf3933d47 390922 03-Apr-2006 trawick

Default handler: Don't return output filter apr_status_t values. PR: 31759 Helped by: Ruediger Pluem, Joe Orton

e75cb25d9d2c59175e78c5586aab7fa9d27797c0 390887 02-Apr-2006 fielding

remove charset turds left by last commit

c9ce3d3ead2ba4ea6f5bb176745172f3538aed60 390753 01-Apr-2006 rpluem

* Sync with CHANGES files of 2.2.x and 2.0.x

0deb1a75b17945f30e56e81b851a2a2ab08af50d 390616 01-Apr-2006 rpluem

* Sync with 2.2.x CHANGES file

0919d062982a9c9d2f4a8933ef54ccba2dd2b8f8 390507 31-Mar-2006 rpluem

* Sync with 2.2.x CHANGES file

8e72243380282ce619a2c6bce8f8359b8d95306f 390496 31-Mar-2006 jim

Note backports to be in 2.2.1

07ac837c886b356dc96e83cf82fb348eb56406d9 390210 30-Mar-2006 jim

Document the removal of the flushing bandaid to a runtime param. Since other protocols might benefit from this, remove the ajp_ prefixes, to make it more generic looking.

98179b7bdc84db9364cb774bf2fc9c511622c3ff 390192 30-Mar-2006 jim

Note merged backport

317b1987e48bbdbfe8b1dcccdcf5cd6c10a26436 390185 30-Mar-2006 jim

Backported to 2.2.1...

b9ebc87040e76abda075c91317cd0e1a7c9810e4 385583 13-Mar-2006 trawick

reflect a couple of items merged into 2.2.1-dev

a2fbbad70d5bd16f2d00a7d8fe6a197d7c9cdef9 383339 05-Mar-2006 rpluem

* Crosscheck the length of the body chunk with the length of the ajp message to prevent readings beyond the buffer boundaries which possibly could reveal sensitive memory contents to the client.

3b8bdcbc38290e3931b44d3fd8fe693cc4acdee2 381679 28-Feb-2006 brianp

Revert the refactoring of the request read code

5f9409e027d43581debe5d21ae2475ef4acec772 381469 27-Feb-2006 rpluem

* Document fixes for PR 38524.

95817edd05387a5276f51fcd5db79fc21b89b55b 380878 25-Feb-2006 rooneg

Fill in the scoreboard's tid field in the event MPM, just like we do in other MPMs. Submitted by: Chris Darroch <chrisd pearsoncmg.com> Issue: 38736 * server/mpm/experimental/event/event.c (worker_thread): Fill in the scoreboard's tid field. * CHANGES: Note change.

63689d77e084e36b8194fb6df5adfc0344965e01 380232 23-Feb-2006 trawick

mod_charset_lite: Remove Content-Length when output filter can invalidate it. Warn when input filter can invalidate it.

148c51524ef39a89416ea52d58afacb5d839a060 379562 21-Feb-2006 trawick

Ensure that the proper status line is written to the client, fixing incorrect status lines caused by filters which modify r->status without resetting r->status_line, such as the built-in byterange filter. Note: For the byterange example, the handler must set r->status_line even though this is a 200 response. Some proxy-type modules blindly set r->status_line as set by the origin server and thus trigger the problem with byteranges if the origin server didn't handle the byterange.

5714cdd83e23557d801437daa5e3ab8ba78ae595 378487 17-Feb-2006 jorton

* modules/ssl/ssl_engine_init.c (ssl_check_public_cert): Fix spurious hostname-mismatch warning for valid wildcard certs. PR: 37911 Submitted by: Nick Burch <nick torchbox.com>

d43d9b67e5fad1d183febeb2ccc09dfd52e9bd54 378085 15-Feb-2006 rpluem

- Nitpicking style police: Add space between PR and number of PR - Remove myself from credit list of fix for PR 38340, as this patch went in unaltered.

784e72b9673ae72f981ae5ee062330bc30ad9efc 378032 15-Feb-2006 jim

*) mod_proxy: Fix KeepAlives not being allowed and set to backend servers. PR38602. [Ruediger Pluem, Jim Jagielski] Also, document previous patch: *) Correctly initialize mod_proxy workers, which use a combination of local and shared datasets. Adjust logging to better trace usage. PR38403. [Jim Jagielski]

dace23289120f3af62555d6754d80e9e51d4249e 377291 13-Feb-2006 rooneg

Make the worker and event MPMs support GracefulShutdownTimeout just like the prefork MPM does. Submitted by: Chris Darroch <chrisd pearsoncmg.com> Ported to event MPM by: rooneg Issue number: 38621 * server/mpm/worker/worker.c (ap_mpm_run): Make the graceful shutdown log message refer to the right signal, and respect the graceful shutdown timeout if there is one. * server/mpm/experimental/event/event.c (ap_mpm_run): Ditto. * CHANGES: Note change.

dc681b5cee49eb24c3ae8d6f50c4c9c9c05faa52 374935 04-Feb-2006 rpluem

* sync with 2.2.x CHANGES

53412cc2f0c1676b1df5cc65f54e1784e0dc42ca 374929 04-Feb-2006 rpluem

* Do not overwrite the status of initialized workers and respect the configured status of uninitilized workers when creating a new child process.

2c3721611cc8d1ebd87b152e7d933a6dec23b3dc 374911 04-Feb-2006 wrowe

Sync

c5694b1d7dca4f561ebce416b5ffacf856f825aa 374821 04-Feb-2006 wrowe

Solaris build proposal; don't fail on missing .h files within a VPATH build, and don't test trees with -d (simply -f the expected files) in case a tree such as srclib/apr is actually a symlink rather than a true directory in ./buildconf.

1aa8ab8152a5b85f2e0e0cfa0cc4226416685123 373519 30-Jan-2006 trawick

mod_speling: Stop crashing with certain non-file requests. (r->filename unset)

a1a615ca49b162d71d88089210395c9a9cfeb539 371013 21-Jan-2006 rpluem

* Fix PR38340 by actual getting the word and thus advancing the message buffer pointer to the next data. Submitted by: Aleksey Pesternikov <apesternikov yahoo.com> Reviewed by: Ruediger Pluem

cae9cdfa547b546e8fe60cac1ef64aa72e4461a7 370172 18-Jan-2006 rpluem

* Fix PR38123 by adding the HTTP_IN filter also in the case of an invalid expect header.

69c36bbae91de0e99a682aaae9d6fa61fceb2771 369823 17-Jan-2006 bnicholes

Note the changes to Authz

1b0dce86d7fc8a5aa4c89b05255be26e508c615c 369811 17-Jan-2006 rpluem

* Add CacheMinExpire directive to set the minimum time in seconds to cache a document in the case that no valid expire time was supplied with the document. Submitted by: Brian Akins <brian.akins turner.com> Reviewed by: Ruediger Pluem

412da000890e343cb9cc01e9958f9b9f85cf2fb0 368887 13-Jan-2006 rpluem

* Sync with 2.2.x STATUS file

e3fe5a867725d1b6e511fc5202380f2572a2e7c3 367798 10-Jan-2006 rpluem

* Fix PR38017 by handling the selection of the hostname in the same way for non proxied and reverse proxied requests. We need to handle both cases in the same manner as for the reverse proxy case we have the following situation: If a cached entry is looked up by mod_cache's quick handler r->proxyreq is still unset in the reverse proxy case as it only gets set in the translate name hook (either by ProxyPass or mod_rewrite) which is run after the quick handler hook. This is different to the forward proxy case where it gets set before the quick handler is run (in the post_read_request hook). If a cache entry is created by the CACHE_SAVE filter we always have r->proxyreq set correctly. So we must ensure that in the reverse proxy case we use the same code path and using the canonical name seems to be the right thing to do in the reverse proxy case.

b608bdb688ec8fbe57c760766aaaeb1ff5c11f5f 360461 01-Jan-2006 brianp

Refactoring of ap_read_request() to store partial request state in the request rec. The point of this is to allow asynchronous MPMs do do nonblocking reads of requests. (Backported from the async-read-dev branch)

269457ff24416ce42a2b810fd0b8c6e62a04cbf3 357461 18-Dec-2005 rpluem

* If the mod_proxy backend connection broke in the middle of the response, then - Do not cache it. - Signal the client that something went wrong by closing the connection and not sending the last-chunk marker if the response was T-E chunked. server/core_filters.c : Close the connection to the client by setting c->keepalive to AP_CONN_CLOSE. modules/http/chunk_filter.c : Do not send last-chunk marker in the case the backend broke. modules/proxy/mod_proxy_http.c: Signal that the backend connection broke. modules/cache/mod_disk_cache.c: Respect r->no_cache for discarding the response Submitted by: Roy T. Fielding, Jim Jagielski, Ruediger Pluem Reviewed by: Roy T. Fielding, Jim Jagielski, Ruediger Pluem

cbb903af5066589fe0e73f3ecf06abdc71e38eff 357458 18-Dec-2005 rpluem

* Resync with 2.0.x and 2.2.x CHANGES file

edc7b5f259529e3310bcf4ba2818730365ef650e 357328 17-Dec-2005 rpluem

* Fix ap_http_chunk_filter to create correct chunks in the case that a flush bucket is pre- and postfixed by data buckets in the brigade. Submitted by: Ruediger Pluem Reviewed by: Justin Erenkrantz, Joe Orton, Jim Jagielski

4d8cb6462304414eae9acb78ca95d56ef1afa0ed 354630 07-Dec-2005 jerenkrantz

If a connection aborts while waiting for a chunked line, flag the connection as errored out and send errors upwards.

c1e9dd034870fa337890e93d3dba8de37ceed122 354628 07-Dec-2005 jerenkrantz

If we get an error reading the upstream response, we should bail. Reported by: Brian Akins

7cccd1549e556dab356d41cb710df72fbca7bbf7 354394 06-Dec-2005 jorton

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Omit further access control checks if SSL is not in use regardless of vhost settings. Submitted by: Rüdiger Plüm, Joe Orton PR: 37791

d9c7f36e09991871495800e59ba4273f30e80fdb 352010 03-Dec-2005 rpluem

* Fix PR37753. Off by one bug in get_path_param eats up too much of the string such that session identifier for sticky sessions is never found in URL. Submitted by: Kazuhiro Osawa <ko yappo.ne.jp> Reviewed by: Ruediger Pluem

c0bcd91f17456a06ce290005aab0d1e360482ea5 345731 20-Nov-2005 rpluem

* Sync with 2.2.x CHANGES

31a1560371999451c1da1a6db79aae0bf4bb1b0f 345686 19-Nov-2005 rpluem

* Minor performance tweak by reusing already calculated strlen in get_body. Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr> Reviewed by: Ruediger Pluem

edc5389f50ce4153e6192740f3c7a188c8cf8d67 345392 18-Nov-2005 niq

Note mod_authz_dbd in CHANGES

941fcca87a4607a388e88cff3fd0cdefc29bb81c 345054 16-Nov-2005 jerenkrantz

Remove support for 'On' and 'Off' for AuthBasicProvider and AuthDigestProvider as it doesn't actually work as advertised. Reviewed by: Joshua Slive (concept)

6c05afd314b4ddd545d63b4ff5de822cc30eec79 344491 16-Nov-2005 trawick

Fix typo in ProxyStatus syntax error message. Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr> Reviewed by: trawick

d05d20b9ae48c6768f40277a76ed198d30aed06a 344421 15-Nov-2005 jim

Backported the UCPP code to 2.2 branch

a38b5f73e7f0f3b8726fb47d27b145f37036ead0 344369 15-Nov-2005 jim

Add in the UseCanonicalPhysicalPort directive, which basically allows Apache to configurably ( :) ) use the physical port when constructing the canonical port. Also add the exact ordering to the docs, so people can easily see how it works. We now have compatibility with both 2.0 and 1.3.

f6316e220101e5d4d99d82aab75ca7d668870942 332658 11-Nov-2005 rpluem

* Sync with 2.2.x for backport r332657

c83edb2f6bafd5f7013cd6bad78753a1e0c5fbe6 331813 08-Nov-2005 jim

Note fixes that have been applied to the 2.1.10/2.2 BRANCH

7fab402fa233a9cb3214042cb8d1de7497dbafa0 331041 05-Nov-2005 rpluem

* Fix a null pointer dereference in dav_method_mkcol during the handling of errors from dav_auto_checkin. Submitted by: Ghassan Misherghi <ghassanm ucdavis.edu>

d3932a9446871148a56ac43595dceaecad0c0653 330246 02-Nov-2005 jorton

* build/config_vars.sh.in: Prepend DESTDIR to paths to installed apr/apu-config scripts. Submitted by: Torsten Foertsch <torsten.foertsch gmx.net>

50e4be9f1c8b446d8684ef7b407187ece43e89b2 330085 01-Nov-2005 jim

Move to a different impl which was my 1st concept and that which Ruediger likes. Instead of adjusting pointers to areas within the URL, simply copy it over and change it as needed. Easier logic and not that much slower for normal cases.

5c819b1ac32cb43bb2eacea37c4d8b5811b9e9c8 329849 31-Oct-2005 jim

Fix a problem where we are doing a case insensitive match between the worker and the URL. Instead, only the scheme and hostname are insensitive, the rest should be case sensitive.

b7ad88322f8ea46b7ddac349956eed358b6980f1 328468 25-Oct-2005 rpluem

* Sync with 2.2.x CHANGES

06eb85bfb9e99bcf9c38c07c2434850543354d94 328463 25-Oct-2005 rpluem

* Fix PR36906 by not lower caseing the whole worker name. Only lower case the schema when storing the worker url. Thus preventing case sensitive URI's in BalancerMembers to get broken.

13cd67e9c1dacbd6b9f040bda337c725cedd98f3 327945 24-Oct-2005 brianp

Async write completion for Event MPM (backported from async-dev branch to 2.3 trunk)

a623efbff95aab78da9e030524b0fa69b054f6d0 327925 24-Oct-2005 brianp

Redesign of request cleanup and logging to use End-Of-Request bucket (backport from async-dev branch to 2.3 trunk)

0b4b04d8621478ba59f0a6ba2950ddc02ab92b58 327909 24-Oct-2005 colm

A complete rewrite of support/logresolve.c: * Now uses APR * Supports IPv6 addresses * Slighty less hurtful on memory * archaic (but interesting) notes marked as historical * Will not perform very well without APR >= 1.3 due to lack of buffered file-io.

2f1bb5376c5c4022383bb729679ca751dd75a2ea 327872 24-Oct-2005 brianp

New version of ap_core_output_filter that does nonblocking writes (backport from async-dev branch to 2.3 trunk)

ad862ab5716726a2d72a292ba1dfb29566c86153 327870 24-Oct-2005 brianp

Add new connection states for handler and write completion (backport from async-dev branch to 2.3 trunk)

79d1d5666b3ceb59c959b09600aa2bce32324677 327794 23-Oct-2005 rpluem

* Backported r327179. Sync with 2.2.x CHANGES.

a6ea86151dd968120a12b48867d45947ef2bb9da 327590 21-Oct-2005 rpluem

* Fix PR37145 (data loss with httpd-2.0.55 reverse proxy method=post) by exchanging APR_BRIGADE_CONCAT with ap_save_brigade to ensure that transient buckets get setaside correctly between various iterations of ap_get_brigade calls. Reviewed by: Joe Orton, William Rowe, Jim Jagielski, Jeff Trawick

347c9301068524042be654db3b2b055a9ec20633 327185 21-Oct-2005 rpluem

* Fix PR37100 (SEGV in mod_proxy_ajp), by sending the data up the filter chain immediately instead of spooling it completely before passing it to the filter chain. It contains a bandaid to handle intentional flushes from Tomcat side. Further explanation in code and report. ajp.h: Add ajp_msg_reuse prototype mod_proxy_ajp.c: Adjust logic of ap_proxy_ajp_request ajp_msg.c: Add ajp_msg_reuse ajp_header.c: Adjusting logic of ajp_read_header

29d3b95754d5730dde08bbda9dc76785894f10f8 327179 21-Oct-2005 rpluem

* Fix PR31226 (AddOutputFilterByType deflate not active with mod_proxy), by allowing ap_add_output_filters_by_type to handle proxied requests. Basic tests by jorton and me show that this works, nobody can actually remember why this limitation was introduced at all (r94028) and the mailing list archives also gave no hint. Submitted by: Joe Orton

1266e0c1535091b37a0c6ea86183094e575cb8da 327008 20-Oct-2005 gregames

keep the proxied Content-Length header for a HEAD response. PR 18757

dfd7e0be46ab5ef5b84339b4645d60fdc44cb4a5 326880 20-Oct-2005 rpluem

* Update to reflect changes of r325960

be2abc811ae62b872703a7b43235598d641f8d8d 326454 19-Oct-2005 mjc

Today a one-time change happens to all CAN- names as they are renamed to CVE-. Make this change to our changelog.

5c2f87932a2b72c65a02aff9932343275ea9dd5b 326255 18-Oct-2005 fielding

Remove CGI block on OPTIONS method so that scripts can respond to OPTIONS directly rather than via server default. PR: 15242 Reviewed-by: Paul Querna, Andre Malo, William A. Rowe, Jr.

7461431ba407b0e1eac3d6a81440a4184e652e9f 321249 15-Oct-2005 niq

Note new module

a17ca1093e7dc28c1a54cfd9741f65653f5b2b19 312965 11-Oct-2005 jim

Removed this file now that both the doc-only distribution file 'bootJVM-doc-M.m.p.tar.gz' and source-plus-doc distribution file 'bootJVM-srcdoc-M.m.p.tar.gz' files are in the repository (at the root level of this project).

1daaf34b49f332c314fc4b180c115c85d6db0e82 312963 11-Oct-2005 jim

mod_proxy_balancer: BalancerManager and proxies correctly handle member workers with paths. PR36816. [Ruediger Pluem, Jim Jagielski]

fa735cac4e86858f11c0de4f7cea50fa63eab87e 312911 11-Oct-2005 colm

Merge r265033 from trunk. Author: trawick Reviewed by: colm

dbb3b82abaa9c0ad199a0a3d6a7a505136137c61 312906 11-Oct-2005 colm

merge r265737 from trunk. Author: trawick Reviewed by: colm

3d76cdd5855071bbfb95a27de7d77a8855d1e893 307441 09-Oct-2005 niq

Sync changes

bc886ee8559b4feb30d32dc8a50ba2c013c3cc02 307221 08-Oct-2005 trawick

use Greg's cleaner fix for CAN-2005-2970

bf0dec31a67271a4a67a6d3a3a9b3cdb41278390 307195 07-Oct-2005 rpluem

* Fix PR36883 (mod_proxy_ajp and tomcat issues). Submitted by: William Barker <william.barker wilshire.com> Reviewed by: Ruediger Pluem

7612604db51e61f6ec4a6593c188e6d0640646ab 307032 07-Oct-2005 wrowe

Sync CHANGES, note the NET_TIME patch

0a2c6381b34b977101327f412a4b1ddc8a361ae7 306902 06-Oct-2005 rpluem

* Sync with 2.2.x branch (r306900)

8828f8c859fabac8c0080440392bc279877f9802 306888 06-Oct-2005 rpluem

* Synic with 2.2.x branch (r306884)

0830215c2542165c027f092c18924f2885c98b49 306878 06-Oct-2005 trawick

mod_proxy_connect: Fix high CPU loop on systems like UnixWare which trigger POLL_ERR or POLL_HUP on a terminated connection. PR: 36951

8ee2b1c8ac0ded9fe8a019c9c65c40fad2b3cb32 295013 05-Oct-2005 rpluem

* Fix PR36507 (mod_proxy_balancer does not handle sticky sessions with tomcat correctly).

71f97e4dd8147cbe4c073afd6604089d03497bc5 293293 03-Oct-2005 rpluem

* Add entry for r293123. * Fix bracket style nit.

8f1c5a2aca731a7676bf74cdce67ec28557ec299 292950 01-Oct-2005 trawick

sync with 2.2 branch

83d1258656cbb48bbe95da94500f34b607faf05f 292809 30-Sep-2005 trawick

SECURITY: CAN-2005-2970 (cve.mitre.org) worker MPM: Fix a memory leak which can occur after an aborted connection in some limited circumstances.

9505e1a9012d92bfd2b6228e675156f44a27aa04 292540 29-Sep-2005 colm

Backport the Doxygen changes to the 2.2.x branch. No functional changes, however backporting these doxygen fixes makes it significantly easier to diff trunk and the 2.2.x branch, to sort out what's what. And we might as well release with nicer doxygen markup. Submitted by: Neale Ranns <neale ranns.org> Reviewed by: Ian Holsman

3aeb30211790fef38a8297f990b7ad3b2c46ece9 292432 29-Sep-2005 colm

Add a changes entry for the mod_dir/mod_cache stuff.

2e02c854b4531480fe3f7ab353154c99c5bd97e8 291474 25-Sep-2005 jorton

Synch with 2.2.x branch.

14f638f67d19a011a92ff070561f2867459d3a2a 291120 23-Sep-2005 jorton

* server/request.c (core_opts_merge): When AllowOverride is specified for the directory, ignore the inherited override_opts field. PR: 35330 Submitted by: kabe <kabe sra-tohoku.co.jp>

ff2e7b35704e8610383152ebc823b94515d9fc2e 290675 21-Sep-2005 niq

Document module moves

2c35c076f094c3d893de45307219149ce94bae4b 290519 20-Sep-2005 wrowe

Sync to 2.0.x changes

c07be90520f577cdffc0ee59a81e7f2be4ab24c6 290467 20-Sep-2005 martin

Backported to 2.2.x branch -- is 2.1.8 identical to 'the 2.2.x branch'?

14897205fb156cd670af12c4e369fb3997d8d285 290465 20-Sep-2005 martin

Fix Bug#: 25659 (Memory leak in ssl_util_algotypeof()) Reported by David Blake in 2003, including patch.

6a9a6a63bae82591ea75fc602d5260109b8fa02c 290442 20-Sep-2005 colm

As of the 2.2.x docs re-sync, this change is now in the 2.2.x branch.

70706a4d1ead0d72a443eac1cc446a0f1a4de069 290189 19-Sep-2005 colm

Backport graceful-stop to the 2.2.x branch.

9cfe09f7e922f7bdf61bfe10a47e8f25145cdf92 290179 19-Sep-2005 colm

Backport r239710, r239711, r239732, r239740 and r241815 to the 2.2.x branch; Fix PR 28167, which means we stop listening on ports when we do a graceful-restart.

a09378e32e823d5619f766394fcdde1cfa16c5da 290146 19-Sep-2005 jim

Backported to the 2.1.8/2.2.x tree

ce8e09ffeb8c696f7fc6c5dfa8814c52caaac59b 290133 19-Sep-2005 colm

Backport r239420 and r239421 to the 2.2.x branch; Enhance CacheEnable/CacheDisable to be of use to proxy servers.

5340bb8547e62ec8ede44b1b086b7da37ee64eef 290107 19-Sep-2005 colm

Backport r239407 to the 2.2.x branch; Improve mod_disk_cache hit/miss ratio by canonicalising the url key.

f6e71f622ffde40c654288851ff65b8505cf7596 289972 18-Sep-2005 colm

Backport r265506, r240044 and r240049 to the 2.2.x branch; Appends .PID to the ScriptSock filename.

f8ae06c7d0615d8b9441099794fe80a3f2915469 289965 18-Sep-2005 colm

Backport r264759 and r264788 to the 2.2.x branch. Fixes the get_suexec_identity hook for mod_cgid.

6eb3a057b5e4f046faba79104d7941552de755da 289961 18-Sep-2005 colm

Backport r239430 to the 2.2.x branch. Lets make sure WINCH is kept free.

cc934828f4a719743a3387516f6fa71dd2cc88ff 280384 12-Sep-2005 stas

Document the ReceiveBufferSize change done in r157583 Submitted by: Murray Nesbitt <murray@cpan.org>]

aa50e6503e0c7fbdc7d9bfab7d3a5fa640c2c8c1 280170 11-Sep-2005 wrowe

SYNC to 2.0.x/CHANGES; shift backported patches to the fixed-in-2.0.x section, and ensure that common sections of CHANGES are 100% identical.

0a44bb1ff02dc8d3623e919c6d59f151bdd92ea0 279940 10-Sep-2005 ianh

Fix config file for mod_dbd Submitted: Brian J. France <list firehawksystems.com>

503a01a4a003a5fe8b4d9a4ca93fe3874160ec38 279750 09-Sep-2005 jim

New provider function, ap_list_provider_names(), which lists all available registered providers for a specified group and version number. Visible change so add CHANGES entry.

52e3d2373288a4015d4152067c124e4dc9876f08 265737 01-Sep-2005 trawick

httpd.exe/apachectl -V: display the DYNAMIC_MODULE_LIMIT setting (1.3 has done that for a while)

6ecde05c829c9d0aa24b2b1c18b40c8739997571 265033 31-Aug-2005 trawick

mod_log_config: %{hextid}P will log the thread id in hex with APR versions 1.2.0 or higher.

fc0c8a8a0ea5363ffaa14946348f3f3e7bd6669e 264881 31-Aug-2005 colm

Make my PR references consistent with everyone elses.

17d53ea32c4968e47733f1c2c063ae07d280efd6 264866 30-Aug-2005 jerenkrantz

mod_cgid: Refuse to work on Solaris 10 due to OS bugs. PR: 34264

00760a67bcf894f4a011e84152ca7703b8640d98 264800 30-Aug-2005 jorton

Fix CVE CAN-2005-2700: * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Ensure that renegotiation is performed for a transition from "SSLVerifyClient optional" to "SSLVerifyClient require". The boolean "verify_old & SSL_VERIFY_PEER_STRICT" is true if the old context merely has optional verification configured, since the definition of SSL_VERIFY_PEER_STRICT is (SSL_VERIFY_FAIL_IF_NO_PEER_CERT | SSL_VERIFY_PEER).

493c2392c9b812d2f6d29c8fdfb155e5f53c92ab 264759 30-Aug-2005 colm

Fix PR36410; Change how the get_suexec_identity hook is handled by CGID. Instead of using mod_userdir and mod_suexec specific hacks, we now run the hook on the httpd side of the handler. If this is NULL, we pass on a magic empty_ugid constant, otherwise pass on the real ugid. On the cgid side of the equation, we add our own hook, with REALLY_FIRST, and then order the hooks. This ensures that cgid's doer runs before any other registered get_suexec_identity doers. We use cgid's request config to store the ugid. If ugid == empty_ugid, we DON'T call ap_os_create_privileged_process, because our doer would return the magic empty_ugid constant. Having the doer return NULL is no good, because then userdir and mod_suexec's doers would be called. Instead, we call plain old apr_proc_create().

5eb768c13c2d6cdcd34f5614d8246c5479917c0d 264623 29-Aug-2005 wrowe

Correct mod_cgid's argv[0] so that the full path can be delved by the invoked cgi application, to conform to the behavior of mod_cgi. PR: 34542 Reviewed by: Andre, OtherBill Submitted by: Pradeep Kumar S <pradeep.smani gmail.com>

2a869ee6594f1e3e9039af332cd73f939509483a 264105 29-Aug-2005 colm

Implement graceful stop in the event MPM. Implementation is identical to the worker MPM implementation.

9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 29-Aug-2005 ianh

Doxygen fixup / cleanup submited by: Neale Ranns neale ranns.org reviewed by: Ian Holsman

CHANGES docs/doxygen.conf include/ap_compat.h include/ap_config.h include/ap_config_layout.h.in include/ap_listen.h include/ap_mmn.h include/ap_mpm.h include/ap_provider.h include/ap_regex.h include/ap_regkey.h include/ap_release.h include/http_config.h include/http_connection.h include/http_core.h include/http_log.h include/http_main.h include/http_protocol.h include/http_request.h include/http_vhost.h include/httpd.h include/mpm_common.h include/scoreboard.h include/util_cfgtree.h include/util_charset.h include/util_ebcdic.h include/util_filter.h include/util_ldap.h include/util_md5.h include/util_script.h include/util_time.h include/util_xml.h modules/aaa/mod_auth.h modules/arch/win32/mod_isapi.h modules/cache/cache_cache.h modules/cache/cache_hash.h modules/cache/cache_pqueue.h modules/cache/mod_cache.h modules/dav/fs/repos.h modules/dav/lock/locks.h modules/dav/main/mod_dav.h modules/experimental/mod_dbd.h modules/experimental/mod_filter.c modules/filters/mod_include.h modules/generators/mod_cgi.h modules/generators/mod_status.h modules/generators/mod_suexec.h modules/http/mod_core.h modules/ldap/util_ldap_cache.h modules/loggers/mod_log_config.h modules/mappers/mod_rewrite.h modules/mappers/mod_so.h modules/proxy/ajp.h modules/proxy/ajp_header.h modules/proxy/mod_proxy.h modules/ssl/mod_ssl.h modules/ssl/ssl_expr.h modules/ssl/ssl_private.h modules/ssl/ssl_toolkit_compat.h modules/ssl/ssl_util_ssl.h os/beos/beosd.h os/beos/os.h os/bs2000/ebcdic.h os/bs2000/os.h os/netware/os.h os/netware/pre_nw.h os/os2/os.h os/tpf/ebcdic.h os/tpf/os.h os/unix/os.h os/unix/unixd.h os/win32/os.h server/core_filters.c server/main.c server/mpm/beos/beos.h server/mpm/beos/mpm.h server/mpm/beos/mpm_default.h server/mpm/experimental/event/fdqueue.h server/mpm/experimental/event/mpm.h server/mpm/experimental/event/mpm_default.h server/mpm/experimental/event/pod.h server/mpm/experimental/leader/mpm.h server/mpm/experimental/leader/mpm_default.h server/mpm/experimental/perchild/mpm.h server/mpm/experimental/perchild/mpm_default.h server/mpm/experimental/threadpool/mpm.h server/mpm/experimental/threadpool/mpm_default.h server/mpm/experimental/threadpool/pod.h server/mpm/mpmt_os2/mpm.h server/mpm/mpmt_os2/mpm_default.h server/mpm/netware/mpm.h server/mpm/netware/mpm_default.h server/mpm/prefork/mpm.h server/mpm/prefork/mpm_default.h server/mpm/winnt/Win9xConHook.h server/mpm/winnt/mpm.h server/mpm/winnt/mpm_default.h server/mpm/winnt/mpm_winnt.h server/mpm/worker/fdqueue.h server/mpm/worker/mpm.h server/mpm/worker/mpm_default.h server/mpm/worker/pod.h server/request.c server/vhost.c support/suexec.h support/win32/ApacheMonitor.h
372d7ae4deae06dcd35151a21d22e2a4ad8fed52 241820 28-Aug-2005 colm

Update CHANGES to reflect that worker now supports graceful-stop, that Bill wrote some of the graceful-stop code I stole from Ken, and to get rid of exraneous `'`'s.

3e31296f734b08ad1e536cf6a1198b8cdb6d0d22 240270 26-Aug-2005 colm

Implement a "graceful-stop" for the prefork MPM (might aswell do the hard one first). General approach is to send SIGUSR1 to all children (which will de-listen, and exit when finished), and to gather all children as they exit. We don't use a sleep(timeout) for the timeout implementation, because this would lead to a rut of defunct children until the timeout had expired. set_graceful_shutdown stolen from Ken Coar. See <3E84B1EC.3050007@Golux.Com> (28 Mar 2003).

2d5532b13110a8d85653da92e97795b09cc25cc2 240101 25-Aug-2005 trawick

spell check

1c223a87ddbe004229f784c72d64d1a6d8487bcc 240044 25-Aug-2005 colm

Append the .PID to the ScriptSock filename. This change ensures that multiple running instances of httpd will not clobber each others script sockets. Because a different socket will be created for each instance, this change also unlinks the script-socket on exit, to prevent pollution. unlink() happens from within the parent process, since the change in userid's means the cgid process likely won't have the correct permissions.

e6a970c1049c5053321d183ffc391de62b17afd7 239740 24-Aug-2005 colm

Implement "de-listening" in the worker MPM. Fixes PR28167. Comments in CHANGES file also cover r239710-1.

7b621044ee03c0c140c2ba6fdab7d2dfdb2b9f4a 239430 23-Aug-2005 colm

Remove support for the threaded-mpm's on Linux 2.0, and de-autoconf the graceful restart signal. Frees up SIGWINCH for implementing graceful stop. See <20050727114058.GA3390@stdlib.net> and subsequent thread on httpd-dev.

89ebbccde2b87b469b9d6fdb606eeb943c12a824 239421 23-Aug-2005 colm

Enhance CacheEnable/CacheDisable to control caching on a per-protocol, per-host and per-path basis. Makes Cache(En|Dis)able useful for forward proxy servers.

b38565306421ff53e9f7499bc728d6df5cec294d 234109 20-Aug-2005 pquerna

OID Support has been dropped from 2.2.x

6aa2272cc4af77e605ba2c4a4781f8567408b7e3 234104 20-Aug-2005 pquerna

Resync CHANGES with 2.2.x branch point.

dface6840439ab84a36749f40e7773ebfdc2066e 233493 19-Aug-2005 jorton

Backport patch from pcre 6.2 to fix integer overflows in quantifier parsing: * srclib/pcre/pcre.c (read_repeat_counts): Check for integer overflow. Obtained from: pcre 6.2 upstream

1febae173a82bc2a71c3c0ba4105cf674000791b 232282 12-Aug-2005 jim

simple, functional interface to add additional balancer lb selection methods without requiring code changes to mod_proxy/mod_proxy_balancer; these can be implemented via sub-modules now. Let the games begin...

2b409b0583ef844d6f85002160cbc6df95b9afa8 231488 11-Aug-2005 jerenkrantz

Fix incorrectly served 304 responses when expired cache entity is valid, but cache is unwritable and headers cannot be updated. Submitted by: Colm MacCarthaigh <colm stdlib.net> Reviewed by: Justin Erenkrantz

454d060a0d7b13606978c536f632be71e311959d 231487 11-Aug-2005 jerenkrantz

mod_cache: Implement remove URL via a filter. Remove entities from the cache when re-validation receives a 404 or other content-no-longer-present error. Suggested by: Paul Querna, Justin Erenkrantz Submitted by: Rudiger Plum <ruediger.pluem vodafone.com> Reviewed by: Justin Erenkrantz

1392b9997000dceb6aca39da0a1e6405ccb6f0a6 231486 11-Aug-2005 jerenkrantz

Implement mod_disk_cache's remove_url. (Minor tweaks and comment fixes by Justin.) Suggested by: Paul Querna, Justin Erenkrantz Submitted by: Rudiger Plum <ruediger.pluem vodafone.com> Reviewed by: Justin Erenkrantz

4b0a0ae3fd77f8fc8fd2a693be33ffe4d99cb94a 231352 11-Aug-2005 jerenkrantz

Note two changes (r231349 and r231351) that are paired together.

ee508128c414648982d1cca7801f63b01a0a4f8a 231044 09-Aug-2005 minfrin

Remove the base href tag from mod_proxy_ftp, as it breaks relative links for clients not using an Authorization header.

ec79b29695b183f794264bbb578c51e93d1f9b1e 220040 21-Jul-2005 martin

Document change to mod_ssl's SSLRequire directive, bump version to 2.3.0 as already done in the ap_release.h header

f07ae092933846055c4ca046c5a65de83d79c9c6 220036 21-Jul-2005 pquerna

Correctly restore the HTTP status from the cache handler. Submitted by: Hansjoerg Pehofer

9b88ec397b4155f3ff79bf7c08de5f15d21765b3 219945 20-Jul-2005 pquerna

Quick hack to store varied contents under the same path, making it easier for admins to manage the cache. Still requires modifications to htcacheclean to work.

a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4 219913 20-Jul-2005 pquerna

Now you can run mod_deflate before mod_cache, and cache it.

ede0584e7ec53cc1ea832c5c50281431d9ecc576 219908 20-Jul-2005 pquerna

re-indent.

2a90918318af50d5712ae7159e5625476332c184 219879 20-Jul-2005 pquerna

Check an alternative return value for when a file or directory does not exist. Previously this would return a forbidden on the documentation website for any URL ending in .html.

9174efb969475801d0dc88eee35aae40c748d450 219666 19-Jul-2005 nd

use utf-8 for our CHANGES. We have problems to add international names otherwise.

c6f1797a2e4ad686e468f4c77747a6773913a5e5 219435 18-Jul-2005 ianh

c/major bump/minor bump/

bda7a7d57377f45932c237d5aba00b189d85c2a9 219372 17-Jul-2005 ianh

This patch adds a new hook (request_status) that gets ran in proxy_handler just before the final return. This gives modules an opportunity to do something based on the proxy status. A couple of examples where this is useful: -You are using a caching module and would rather return stale content rather than an error to the client if the origin is down. -you proxy some subrequests (using SSI - mod_include) and do not want SSI errors when the backend is down. If you would normally return HTTP_BAD_GATEWAY, you may have a module that serves some other content. new hook -- so mmn bump.. i made it a major one, hope thats ok Patch From Brian Akins <Brian.Akins turner.com>

4ec8ec67d57d820b15807fa4a23ddd0c351fa9ef 219231 15-Jul-2005 wrowe

Backported a few already

4d3ee33c1047b89e2860fbf095c77ad245910983 218978 14-Jul-2005 wrowe

How can I fix thee? let me count the ways... * pass a chunked body always (no-body requests don't go chunked). * validate that the C-L counted body length doesn't change. * follow RFC 2616 for C-L / T-E in the request body C-L / T-E election logic. * do not forward HTTP/1.0 requests as HTTP/1.1, unless the admin configures force-proxy-request-1.1 * conn was illegible, use 2.0's p_conn.

b59ae7ab0c7b5c37f145e416d61add8fd433be04 209903 09-Jul-2005 wrowe

Added TraceEnable, and note Request Splitting/Response Splitting.

1ef90d1763e489969ec7a01c77bcb158ece5ae83 209854 08-Jul-2005 jorton

Don't talk about request smuggling in the response handling fix.

5e1ff0b87a9d4551b4509aad11e7e0f31fd50c90 209832 08-Jul-2005 pquerna

Fix the CHANGES to reflect when things were really fixed. Also remove the security tag from the proxy change, as suggested by Joe.

42167da203d969a1402cf7ce09c14586c04af1df 209827 08-Jul-2005 jim

Good suggestion from a private Email. name changes.

81ebf4d4f943d1ec988dd10105354e510c2da1d8 209821 08-Jul-2005 jim

Fix case where buggy OpenSSL internal cache continually grows. So don't bother to store it, but still force OpenSSL to provide a Session ID.

de1e9d36980dfc9a70ded58db0082cbf49a2023b 209723 08-Jul-2005 pquerna

The request smuggling issue did get assigned CAN-2005-2088.

27420b7ba57bf78f7a85b19fb0155053a3aff80d 209656 07-Jul-2005 wrowe

Add notation of Georg's patch to capture SSL_COMPRESS_METHOD.

e62b34b26eb8e82bf6f06ff99a08e304b48792ec 209539 07-Jul-2005 pquerna

Add the httxt2dbm utility to create DBM files for RewriteMap. This replaces the txt2dbm script in the manual, and allows the use of any available DBM format.

ceeb4b77f172b9d0125f1b4b323675d700b2c43b 208967 03-Jul-2005 minfrin

Fixed complaints about unpackaged files within the RPM build after changes to the config files.

9152b0c4366af633c4b7982af01bd9a821f410d5 202027 27-Jun-2005 pquerna

*) server/mpm_common.c: Send a simple HTTP 1.0 request to every listener socket, instead of just closing the socket. This fixes shutdown of the Worker MPM on FreeBSD, when Accept Filters are enabled. In the future, we need a method to send a simple request for all protocols. Currently this is very specific to HTTP and FreeBSD's Accept Filter.

87d944bf70927764edf8ef69e46d3b4b8fa09131 201579 24-Jun-2005 pquerna

Move on to 2.1.7-dev.

424c1a743525e9c5008e29b39a99363723409a1d 201455 23-Jun-2005 trawick

Fix htdbm password validation for records which included comments. Submitted by: Eric Covener <covener gmail.com> Reviewed by: trawick

41f2764385330bfa0eb5843aa04f4e768577e2b0 193205 23-Jun-2005 trawick

proxy HTTP: If a response contains both Transfer-Encoding and a Content-Length, remove the Content-Length and don't reuse the connection, stopping some HTTP Request smuggling attacks.

4375cabac8fc22b3717687ffdbce9bbdf095f255 192995 22-Jun-2005 trawick

mod_cgid: Fix buffer overflow processing ScriptSock directive. Submitted by: Steve Kemp <steve steve.org.uk> Reviewed/tweaked by: trawick

39dbd3f60b93f5e0fbf46d9ae237f6742e113442 191100 17-Jun-2005 pquerna

Onward to 2.1.6-dev!

79b66e55c7b1034d9fd49e1f6af6e646bbce1ab2 191005 16-Jun-2005 pquerna

If a request contains both a T-E and C-L, remove the C-L, stopping some HTTP Request Smuggling attacks exploited when using HTTPD as a forward or reverse proxy.

89211a3153be8b03353c3bfbca45fed67cb80f0b 190563 14-Jun-2005 pquerna

Merge the listen-protocol sandbox branch to trunk. I will be adding documentation for the new directives hopefully in the next day or so. * server/core.c: Added 'Protocol' to the core module config Added ap_{set,get}_server_protocol API. Added new directive: 'AcceptFilter'. Enable 'httpready' by default on systems that support it. Use dataready filters for others. * server/listen.c: Attempt to inherit protocols from Listener Records to Server configs. The 'Listen' directive can now optionally take a protocol arg Move bits that determined which accept filter is applied to core.c. Added bits to find the correct accept filter based on the core's configuration. * include/{ap_listen.h,http_core.h}: Add Protocol to respective structures. * include/http_core.h: Add the accf_map table to the core_server_config structure * include/ap_mmn.h: Minor MMN Bump for the new interfacces. * modules/ssl/ssl_engine_init.c: Use the new protocol framework to enable mod_ssl for 'https' websites.

a14ccf0f7e9b44c6848334823542a1799577f669 190530 14-Jun-2005 pquerna

Based on feedback from dev@httpd, store Vary headers inside the '.header' file. These Vary headers are used to build a new hash for a URL, based on the client's headers. This allows mod_disk_cache to store many variations of one URI, where previously it would only store a single variant. htcacheclean needs to be updated to understand the new file format. I plan on updating htcacheclean in the next couple days. PR: 35211

43c24b7301a9df7014ce54c0bc55ac4754cf5b0d 190043 11-Jun-2005 pquerna

- Use apr_file_mktemp() and rename the header data file to its final location, instead of opening it and then writing it out as we go. Should prevent race conditions on busy servers.

11e591527497759b7e6cd422b2e41d21974b5b4d 189572 08-Jun-2005 jorton

Synch with 2.0.x branch.

a2e37e48efb113e8e4f9d9ca9c8286aaac6c936c 180341 06-Jun-2005 pquerna

* mod_cache.c: When 'Vary: *' is sent, do not cache, since revalidation is always required. PR: 16125

007ba11dc68651df7f872f35947ae82a595d9e02 179877 03-Jun-2005 pquerna

'generate_name' is too generic to be in the public symbols. Rename it to ap_cache_generate_name. No functional changes.

56d45d4fd2778161545d8b9cd55ed8f42335e91a 179781 03-Jun-2005 jorton

* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL): Fix off-by-one. PR: 35081 Submitted by: Marc Stern <mstern csc.com>

25059ddf3044ffa8dd3432ab8e2f941023054407 179745 03-Jun-2005 trawick

write a CHANGES entry for PR 34512; looks like it resolves user-visible misprocessing in proxy ftp which could result in directory listing for regular file retrieval

44ca834b970b454b844efb96f219bdf49fee71e5 179622 02-Jun-2005 trawick

mod_mime_magic: Handle CRLF-format magic files so that it works with the default installation on Windows.

eb8430fd3bc941c0b3ba8bba3884b7fc464bf458 178990 29-May-2005 pquerna

- Use a hash for the configuration command lookup implementation. Now modules can properly directives without dependence on the LoadModule order.

1f9e65264b1ff249fa071e6aae32c0bb52f9c634 178262 24-May-2005 trawick

EBCDIC: Handle chunked input from client or, with proxy, origin server.

fde88bb682426885c679198ee130d2d5a29e8c0f 178222 24-May-2005 bnicholes

Note the addition of the mod_authn_alias module

60e385aa992e11a6cb0504e8d4fc35186e8d848b 178209 24-May-2005 pquerna

Fix trailing backslashes in configuration directives. PR: 34834 Submitted by: Timo Viipuri <viipuri dlc.fi> Reviewed by: Paul Querna

d681fa68b6b23f764304dc57cd533939612f75e2 171206 21-May-2005 trawick

sync

d66ac514cc15e99228d72c56c6c3daf25da8d360 170729 18-May-2005 niq

Committing mod_dbd as new.

e23b77006a8b079c0ad52e42ba2029e759455b8f 170612 17-May-2005 jorton

* support/ab.c: Rewrite SSL support so that it works reliably, and enable it by default when the --enable-ssl is passed to configure. Adds support for -Z and -f arguments to tweak SSL protocol options. Submitted by: Masaoki Kobayashi <masaoki techfirm.co.jp>

b597281295360dba8ac57b7606c5f5c1ef2b69b0 170354 16-May-2005 trawick

Support the suppress-error-charset setting, as with Apache 1.3.x. 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

82d2a5debc5a6ed2118ac5916d9ba36ad0b5d78b 170281 16-May-2005 trawick

Prevent hangs of child processes when writing to piped loggers at the time of graceful restart. PR: 26467 Reviewed by: Joe Orton

22c347c08cd77d5e2c32536b467b389fd33d631f 169789 12-May-2005 pquerna

Show the Quick Handlers in mod_info. Commit it to trunk, instead of the Listen-Protocol Branch that my -dev workspace was using.

b6e2b36d6972a0e243368eb567e91d511fb40b1b 169711 12-May-2005 bnicholes

Add the LDAPVerifyServerCert directive to the util_ldap doc

ad4a5834dfdf9488af4ac3238ea4d8b18dce49ac 169693 11-May-2005 pquerna

I can spell 'before', honest.

e5882a36d7756850cc829f5f2286120b877458b1 169692 11-May-2005 pquerna

Make sure mod_rewrite always runs before mod_proxy in the translate_name hook. This makes doing RewriteRules on a Reverse Proxy.. Slightly more predictable than the order of LoadModules. Reported By: David D. Miller <justdave bugzilla.org>

a4fcf5840b76bc1a2f1abaa2316798b0774ceec7 168340 05-May-2005 bnicholes

note change in mod_authnz_ldap

8b7594c66e764f5cd3506b6f2459497ab65a8b03 168202 05-May-2005 pquerna

Add AP_INIT_TAKE_ARGV. There can be some inconsistent results because of the 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.

21ef0eb0ade285466e6e5afd62bc59f5ad058c34 168182 04-May-2005 gregames

worker and event mpms: transient thread creation errors shouldn't take down the whole server.

8c46f9f81ae6357dc97560d6d85154f19cf251ae 164607 25-Apr-2005 jim

Oops... document ap_get_local_host() rewrite.

20f1b1a67eef5ab0f3295608c89964a7dca4fdd1 164538 25-Apr-2005 pquerna

Add ap_vhost_iterate_given_conn() as I had previously mentioned on the mailing list.

599c5abcc7fec60611956f56b732eca033c287d2 164536 25-Apr-2005 pquerna

Remove ap_method_list_do and ap_method_list_vdo as previously mentioned dev@httpd.

e76fdcdfb8994ad70776526f50fa013b3e9a6033 161813 19-Apr-2005 bnicholes

Build mod_ssl for the NetWare platform Submitted by: Guenter Knauf <fuankg@apache.org>

eb9b491d7b262dad572ec2f1f75eea592283f81a 161691 17-Apr-2005 pquerna

mod_deflate should be merging the Vary header, not Setting it, and ignoring what other modules put there. Spotted By: Rici Lake

67ee70ecd7a887131866f94765aae1a8cec57231 161509 15-Apr-2005 gregames

got rave reviews from my customer on using buffered i/o for RewriteMap files, so brag about it a little.

67ee515870e5e436e6246ae88d879d4750ebd9ab 160774 10-Apr-2005 striker

* CHANGES Update to reflect changes on 2.0.x due to backports.

7f06b23e079d319a24c7d57d22552aee36ff08eb 160713 09-Apr-2005 bnicholes

backport

6d00a5e2c08ddbff9614ecc17a1c085462811f89 160700 09-Apr-2005 slive

Add a CHANGES entry for the simple-conf branch changes.

4f6e78091b3f45a5782389ae25b62516a7a0c842 160626 09-Apr-2005 bnicholes

Rethinking the module status for NetWare

7d15331eeb5429d7148d13d6fd914a641bf1c000 160365 07-Apr-2005 pquerna

rename mod_imap to mod_imagemap. Broken by this commit: - Win32 Build -- I didn't want to muck with .dsp files. - Netware Build - Same Story as Win32. - Documentation Translations (could get away with direct changes to the module name, but I am not sure)

CHANGES docs/manual/handler.html.en docs/manual/handler.xml docs/manual/misc/rewriteguide.html.en docs/manual/misc/rewriteguide.xml docs/manual/mod/allmodules.xml docs/manual/mod/allmodules.xml.de docs/manual/mod/allmodules.xml.es docs/manual/mod/allmodules.xml.ja docs/manual/mod/allmodules.xml.ko docs/manual/mod/directives.html.en docs/manual/mod/index.html.en docs/manual/mod/mod_authz_host.xml.ja docs/manual/mod/mod_authz_host.xml.ko docs/manual/mod/mod_authz_host.xml.meta docs/manual/mod/mod_cache.xml.meta docs/manual/mod/mod_imagemap.html docs/manual/mod/mod_imagemap.html.en docs/manual/mod/mod_imagemap.xml docs/manual/mod/mod_imagemap.xml.ko docs/manual/mod/mod_imagemap.xml.meta docs/manual/mod/mod_imap.html.ko.euc-kr docs/manual/mod/mod_info.xml.meta docs/manual/mod/mod_log_config.xml.meta docs/manual/mod/mod_mime.html.en docs/manual/mod/mod_mime.xml docs/manual/mod/quickreference.html.en docs/manual/mpm.xml.meta docs/manual/platform/ebcdic.html.en docs/manual/platform/ebcdic.xml docs/manual/programs/configure.html.en docs/manual/programs/configure.xml docs/manual/sitemap.html.en docs/manual/sitemap.xml.meta modules/mappers/config9.m4 modules/mappers/mod_imagemap.c modules/mappers/mod_imagemap.dsp modules/mappers/mod_imagemap.exp
e9be3aacfd6c0a1208e6c91a133be92ed0f94fe1 159620 31-Mar-2005 bnicholes

Eliminate ldap module load ordering

0b08d15db7dbe16a7f48994cda1d57307c0bcf83 159471 30-Mar-2005 trawick

sync with 2.0.54-dev

e58e3d50c3c55d09697d20ad8d5c674b137a136e 159356 29-Mar-2005 trawick

sync with 2.0.54-dev

6e5f5644328bf50c3aa295d0ab20903369010829 158798 23-Mar-2005 gregames

don't propagate input headers describing a body to a subrequest. this can cause a back end server to hang in a read for a body which no longer exists.

e978097e0bf2ae161b6f9dde40eaf089bf046c89 158685 22-Mar-2005 ake

Fix Windows CompContext buff size miscalculation

e5c5bf5c81ee55b9a98bb0a9e26473dcc5775c0b 158455 21-Mar-2005 jorton

Synch with 2.0.x branch.

1d14622beee568462689b2bbc6a9e0e9b6a40583 157726 16-Mar-2005 striker

And carry on with 2.1.5-dev. * include/ap_release.h Bump AP_SERVER_PATCHLEVEL_NUMBER to 5. Set AP_SERVER_DEVBUILD_BOOLEAN. * CHANGES Add a 2.1.5 section.

275419d6395e6f072962fb701b89accaff1f3690 157583 15-Mar-2005 jerenkrantz

Add ReceiveBufferSize directive to control the TCP receive buffer. Submitted by: Eric Covener <covener gmail.com> Reviewed by: Justin Erenkrantz (with minor formatting tweaks)

e777da9fa7ff3138fead7860b53ef00e67a40e26 157478 14-Mar-2005 jerenkrantz

mod_proxy: Add proxy-sendextracrlf option to send an extra CRLF at the end of the request body to work with really old HTTP servers. * modules/proxy/mod_proxy_http.c (stream_reqbody_cl, spool_reqbody_cl): If proxy-sendextracrlf option is present, append a CRLF to the body stream that isn't counted against CL.

8bdea88407c848c1c2693655e2f8b23abde12307 156587 09-Mar-2005 bnicholes

Keep track of the number of attributes retrieved from LDAP so that all the values can be properly cached even if the value is NULL. [PR 33901]

5a9fa4d75086e942f6e850e1a2e96c4c27a845d0 156404 07-Mar-2005 jerenkrantz

Add two changes entries based on r156306 and r156330.

8e7fb6968047a527d1ccde25ad2aed20da5150dd 156401 07-Mar-2005 jerenkrantz

* modules/cache/cache_util.c (ap_cache_check_freshness): Use r->headers_in not the stored headers for the Cache-Control check. Pointed out by: Sander Striker

36c8049de63c446926139936c3d195330a0539ce 156274 05-Mar-2005 trawick

worker MPM/mod_status: Support per-worker tracking of pid and 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.

053e8270ecd2d2cb608625e78f06685e5375615f 155392 26-Feb-2005 pquerna

sync with 2.0.x branch.

0206c121a68a63559b2e843288e81bcf16093e46 155345 25-Feb-2005 jerenkrantz

* modules/dav/main/mod_dav.h: Wrap all public functions in DAV_DECLARE or DAV_DECLARE_NONSTD. * modules/dav/main/liveprop.c, modules/dav/main/props.c, modules/dav/main/util_lock.c, modules/dav/main/mod_dav.c, modules/dav/main/std_liveprop.c, modules/dav/main/util.c: Update function definitions. Submitted by: Branko ÄŒibej <brane xbc.nu> Reviewed by: Justin Erenkrantz

8ff094bdec6a2e1c355c1e6e95e9952d4fae7766 154973 23-Feb-2005 jerenkrantz

Onward ho to 2.1.4. * CHANGES: Bump. * include/ap_release.h: Bump.

65a7f60c610357218a5ec198437d0465c6fad214 154213 18-Feb-2005 wrowe

Belated CHANGES, must have conflicted last time I tried to commit.

470147d3f2750bfd47b5d8f1d90abab283eaad0d 154200 17-Feb-2005 pquerna

*) include/httpd.h: Add a brigade for temporary uses in the core input 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

628cf3411e8a6d09e27b3666312e43832dda93f3 153933 15-Feb-2005 jorton

* modules/ssl/mod_ssl.h: Add ssl_ext_lookup optional hook declaration. * modules/ssl/ssl_engine_vars.c (ssl_ext_lookup): New function. (ssl_var_register): Register optional function. * modules/ssl/ssl_private.h (ssl_ext_lookup): Add prototype. Submitted by: David Reid, Joe Orton

f0d89a5a23222e031db8113478645f28688fa748 153416 11-Feb-2005 jorton

Note changes.

65d743d7fbb53143636ee2dec8fe8d8a1a581a6b 153266 10-Feb-2005 jerenkrantz

Only recompile buildmark.c when we have to relink httpd. This allows us to be able to do a make on an up-to-date tree without forcing a recompile and relink. Yay!

afc08f35f5f387896bc625cdee21b88c7fe7699d 153107 09-Feb-2005 jerenkrantz

Now that the crisis has passed, update the CHANGES entry... =)

9df62ed109bd456de3e6a19b54e0ab31da3fe07c 153105 09-Feb-2005 trawick

Remove formatting characters from ap_log_error() calls. These were escaped as fallout from CAN-2003-0020. Submitted by: Eric Covener <ecovener gmail.com> Reviewed by: Jeff Trawick

a0fd132e01ab69f1c48e3d6a6791447cb6d65e51 151816 08-Feb-2005 jerenkrantz

* modules/cache/mod_cache.c: One more try at proper handling of revalidated responses. ...All together now, we hate uninitialized variables...

a6bb6f2fb734e488a9b6335fabea3431f9dcf253 151815 08-Feb-2005 jerenkrantz

* modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk structures.

3ca80e703a960eca0760c23636b7fe502a8f0342 151743 07-Feb-2005 bnicholes

Document the new optional parameter for AuthLDAPUrl

306b67433d26194a779e0755a3e670398bdfd9d3 151273 04-Feb-2005 jerenkrantz

Sync CHANGES with 2.0.x.

fb1491ee67d7ae38b12f68c8da2743dfacd5e2b5 151267 04-Feb-2005 jerenkrantz

Sync CHANGES with 2.0.x.

5300d4a4fabe3b594da950e4b9ab0f90e076546e 151255 04-Feb-2005 jerenkrantz

Fix --with-apr=/usr and/or --with-apr-util=/usr. PR: 29740 Submitted by: Max Bowsher <maxb ukf.net> Reviewed by: Justin Erenkrantz

b1306729566b49fb30aed5c46adaf07a637115af 151248 04-Feb-2005 jerenkrantz

mod_proxy: Fix ProxyRemoteMatch directive. PR: 33170 Submitted by: Rici Lake <rici ricilake.net> Reviewed by: Justin Erenkrantz

d5c1ba1aa5682c9a171114b76d5e21117e19ed6c 151168 03-Feb-2005 trawick

proxy HTTP: Rework the handling of request bodies to handle 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

418ee053321d0ee451bb482a9becdfcd3344201f 151153 03-Feb-2005 jim

Close PR 32459, 15207. API change for PROXY_DECLARE ap_proxy_canonenc()

8e61fed2dadbdfc73ad0ec346b95de52c26ff779 149550 02-Feb-2005 jim

Keep track of time taken to process requests again.

5c6cb72bfeee541644cea8177aefce1157571d3b 149492 02-Feb-2005 jerenkrantz

Add CacheStorePrivate, CacheStoreNoStore, and clarify CacheIgnoreCacheControl. * docs/manual/mod/mod_cache.xml: Update documentation for CacheIgnoreCacheControl and add documentation for two new directives. * modules/cache/mod_cache.c (cache_url_handler): Honor 'Cache-Control: no-cache' request header. (cache_save_filter): Only honor no-store or private when their respective directives are Off (which is the default). rest of file: add in standard configuration syntax stuff... * modules/cache/mod_cache.h: Minor formatting tweak and add new fields. Suggested by: Pier Fumagalli

3261272660074474d7572a08b3833e73c1050619 149269 31-Jan-2005 stoddard

Remove upper limit on the LimitRequestFieldSize directive

0894cd17fe3f614bf01dbf84f1414756bd5a34c3 126565 27-Jan-2005 bnicholes

Added a new LDAPConnectionTimeout directive to util_ldap so that the socket connection timeout value is configurable.

db8551deeb08fa799e7f27e8b748a9397f747bdc 126362 25-Jan-2005 jorton

* configure.in: Add --enable-pie flag; define PICFLAGS and PILDFLAGS. * build/rules.mk.in: Factor out BASE_CC and BASE_CXX from COMPILE. Substitute PICFLAGS into COMPILE and CXX_COMPILE, but not into {SH,LT}{,_CXX}_COMPILE. Substitute PILDFLAGS into LINK but not {SH,MOD}_LINK. Reviewed by: jerenkrantz

9e3209bc06ddf32f23e4b254faa45914bc323cc9 126304 24-Jan-2005 jim

Add in a weighted byte count of all traffic (in and out) as an alternative balancing method. We do not "adjust" the byte count wrt scheme or method, simply by factoring in the lbfactor value.

45ed846f4ed90f05c084f6a33d688e642be4e623 126042 22-Jan-2005 jerenkrantz

* modules/cache/mod_disk_cache.c: Cache r->err_headers_out headers. This allows CGI scripts to be properly cached. This issue was pointed out by Sander Striker.

13cb3ceccbefd170673ec7059a1f84c3aac9301d 125752 20-Jan-2005 jorton

Synch with 2.0 branch.

54d22ed1c429b903b029bbd62621f11a9e286137 125645 19-Jan-2005 minfrin

mod_ldap: Updated to use the new apr-util v1.1 apr_ldap_*_option() 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.

dc34168d7eb90524f361e076457f68c3f33efaa3 125612 19-Jan-2005 jorton

* modules/proxy/proxy_http.c (ap_proxy_http_process_response): Handle aborted connections correctly: abort if c->aborted is set. * modules/proxy/proxy_ftp.c (proxy_ftp_handler): Likewise. PR: 32443 Submitted by: Janne Hietamäki, Joe Orton

92e8e44864d94866eefcbfde0a53fa3d12855149 125573 19-Jan-2005 jerenkrantz

mod_cache: Remove unimplemented CacheForceCompletion directive. * modules/cache/mod_cache.h: Remove DEFAULT_CACHE_COMPLETION #define and complete-related vars. * modules/cache/mod_cache.c: Ditto. * modules/cache/mod_disk_cache.c: Clarify error message; remove unused complete var (unrelated to CacheForceCompletion removal). * docs/manual/mod/mod_cache.xml.ja, docs/manual/mod/mod_cache.xml.ko, docs/manual/mod/mod_cache.xml: Remove references to CacheForceCompletion.

06106b6b63b112a09de1b66fa29596035c0176ff 125495 18-Jan-2005 thommay

support/check_forensic: Fix temp file usage Submitted By: Javier Fernandez-Sanguino Pen~a Reviewed By: Thom May

e335319a08e12eb7daff9afa80e985dc53f652b8 125165 14-Jan-2005 jorton

* modules/ssl/mod_ssl.c: Declare new config directives SSLCADNRequestFile and SSLCADNRequestPath. * modules/ssl/ssl_private.h (modssl_pk_server_t): Add ca_name_path, ca_name_file fields. * modules/ssl/ssl_engine_init.c (ssl_init_ctx_verify): If either of SSLCADNRequestFile or SSLCADNRequestPath are configured, load the CA DN list sent in the CertificateRequest from those certificates. * modules/ssl/ssl_engine_config.c (modssl_ctx_init_server): Use pcalloc to zero-initialize the entire modssl_pk_server_t structure. (ssl_config_server_new): Merge the ca_name_* fields. (ssl_cmd_SSLCADNRequestPath, ssl_cmd_SSLCADNRequestFile): New functions. PR: 32848 Submitted by: Tim Taylor <tim.taylor dfas.mil>

c8794ec1e4c474ae101ce3835080f638136e7860 124600 08-Jan-2005 erikabele

--with-module can now take more than one module to be statically linked: --with-module=<modtype>:<modfile>,<modtype>:<modfile>,... If the <modtype>-subdirectory doesn't exist it will be created and populated with a standard Makefile.in.

1ed67ffc7376e930b17cefcaf3b8fbe8c9d02fe3 124544 07-Jan-2005 erikabele

Sync backports.

bb07ee33bce1a448bcc60ca43720b1ab1c413f87 124187 05-Jan-2005 minfrin

Fix some compiler warnings inside the LDAP modules

22dda44322067379eeba28d7ec7fc833cb04c0df 124104 04-Jan-2005 minfrin

Add a build script to create a solaris package.

7b6ba9c468f26bdb3492d5e8cb79628a3b04e8c8 123882 02-Jan-2005 wrowe

FINALLY Correct ap_http_method()! It is NOT a method, it's a SCHEME! 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.

77edcaaccc089335938f3844b752e1044f7eb278 123727 30-Dec-2004 trawick

mod_proxy: Fix a request corruption problem and a buffering problem which sometimes prevented proxy-sendchunks from working. strlen() couldn't be used since no space had been allocated for trailing NUL, so occasionally the T-E header field contained garbage and a 400 error would be returned by the origin server. The lack of a flush bucket after the final "0\r\n\r\n" was a showstopper for my simple tests (reverse proxy to Apache 1.3 + custom module which read the body).

59b1b6c3fd51c83c3bb9f02a8f08751335f9fb1d 122711 18-Dec-2004 minfrin

Fix the RPM spec file so that an RPM build now works. An RPM build now requires system installations of APR and APR-util.

616a448c1fca1648622707df5a1aae7316bb3d5d 122552 16-Dec-2004 jim

Per request, add a short description of the module in CHANGES

9f1a88897168c3f1e5009acb585daf01e38a0299 122551 16-Dec-2004 jim

simplify the BalancerMember load factor weighting. Instead of being percentages (and adjusting when the number don't add up), loadfactors/lbfactors are now normalized values, so values like: worker a b c lbfactor 1 1 2 work as expected (ie: a gets 25%, b gets 25% and c gets 50%). So we could also have the above as: worker a b c lbfactor 25 25 50 or even worker a b c lbfactor 15 15 30

b6832863054a2d09233ce92945e0faceb932a620 111858 14-Dec-2004 jwoolley

"transfered" is not a word. s/transfered/transferred/g;

36bfefb6940a90242290e5b5713a2d831275eef1 111838 14-Dec-2004 jim

Document mod_dumpio being added. Docs to come.

5a8bb5948d2a258145174320587706de3219d8a3 111596 11-Dec-2004 pquerna

* Add bits to use APR_TCP_DEFER_ACCEPT * Log Warnings when adding defer accept or an accept filter fails.

843a03fe0b138a4c1f64cb90a014e9417ac30691 111581 11-Dec-2004 fielding

Remove AddDefaultCharset from the default configuration because setting a site-wide default does more harm than good. PR: 23421

cf35a54aa4b61245bf315cc594f8809c1cf31729 111432 09-Dec-2004 geoff

undo changes made in 111386 due to veto

e164d669bc927502b0876b2fdeec37a43ce6e2cd 111387 09-Dec-2004 geoff

whoops, wrong PR number

ce448c22317efec535b850d1b485dc614c0f3835 111386 09-Dec-2004 geoff

add response code 226 constant (HTTP_IM_USED) and status line ("226 IM Used"). PR 31128.

0cba3a63e59bfa77f67955cb4e034264ed6c5523 111353 09-Dec-2004 jerenkrantz

Onward ho to 2.1.3...

b8eab43d6d4727f27f572efb45516c635bf084cc 111351 09-Dec-2004 jerenkrantz

It's time for 2.1.2.

e5abee85fe751fc27c5d4fc9a8ebe3b80f3d6603 111304 08-Dec-2004 trawick

mod_proxy: Respect errors reported by pre_connection hooks.

c169c5f94d61a860f3110c5d29a9fb306e762c11 109510 02-Dec-2004 trawick

worker MPM: Fix a problem which could cause httpd processes to 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.)

ca3a25d12c5fe0926aa97550be39f0d88d0decb1 106879 29-Nov-2004 pquerna

* server/core.c: Give an error instead of silently going on when a section is missing an argument. PR: 25460 Submitted By: Geoffrey Young

74def8815c725f8128a4e76ab1f5704df80b024a 106737 27-Nov-2004 jerenkrantz

At long last, promote mod_cache and friends out of experimental/. Also, take quick pass through docs files to remove experimental label for them. Reviewed by: Paul Querna, Bill Stoddard, Justin Erenkrantz

4d553781254e46f1dfc8d86b79667a74fb8a3eb5 106690 27-Nov-2004 brianp

Upgraded the copy of PCRE within srclib/pcre to version 5.0

CHANGES srclib/pcre/AUTHORS srclib/pcre/COPYING srclib/pcre/ChangeLog srclib/pcre/LICENCE srclib/pcre/Makefile.in srclib/pcre/NEWS srclib/pcre/NON-UNIX-USE srclib/pcre/README srclib/pcre/RunTest.in srclib/pcre/config.in srclib/pcre/configure.in srclib/pcre/dftables.c srclib/pcre/doc/Tech.Notes srclib/pcre/doc/html/index.html srclib/pcre/doc/html/pcre.html srclib/pcre/doc/html/pcre_compile.html srclib/pcre/doc/html/pcre_config.html srclib/pcre/doc/html/pcre_copy_named_substring.html srclib/pcre/doc/html/pcre_copy_substring.html srclib/pcre/doc/html/pcre_exec.html srclib/pcre/doc/html/pcre_free_substring.html srclib/pcre/doc/html/pcre_free_substring_list.html srclib/pcre/doc/html/pcre_fullinfo.html srclib/pcre/doc/html/pcre_get_named_substring.html srclib/pcre/doc/html/pcre_get_stringnumber.html srclib/pcre/doc/html/pcre_get_substring.html srclib/pcre/doc/html/pcre_get_substring_list.html srclib/pcre/doc/html/pcre_info.html srclib/pcre/doc/html/pcre_maketables.html srclib/pcre/doc/html/pcre_study.html srclib/pcre/doc/html/pcre_version.html srclib/pcre/doc/html/pcreapi.html srclib/pcre/doc/html/pcrebuild.html srclib/pcre/doc/html/pcrecallout.html srclib/pcre/doc/html/pcrecompat.html srclib/pcre/doc/html/pcregrep.html srclib/pcre/doc/html/pcrepartial.html srclib/pcre/doc/html/pcrepattern.html srclib/pcre/doc/html/pcreperform.html srclib/pcre/doc/html/pcreposix.html srclib/pcre/doc/html/pcreprecompile.html srclib/pcre/doc/html/pcresample.html srclib/pcre/doc/html/pcretest.html srclib/pcre/doc/pcre.3 srclib/pcre/doc/pcre.txt srclib/pcre/doc/pcre_compile.3 srclib/pcre/doc/pcre_config.3 srclib/pcre/doc/pcre_copy_named_substring.3 srclib/pcre/doc/pcre_copy_substring.3 srclib/pcre/doc/pcre_exec.3 srclib/pcre/doc/pcre_free_substring.3 srclib/pcre/doc/pcre_free_substring_list.3 srclib/pcre/doc/pcre_fullinfo.3 srclib/pcre/doc/pcre_get_named_substring.3 srclib/pcre/doc/pcre_get_stringnumber.3 srclib/pcre/doc/pcre_get_substring.3 srclib/pcre/doc/pcre_get_substring_list.3 srclib/pcre/doc/pcre_info.3 srclib/pcre/doc/pcre_maketables.3 srclib/pcre/doc/pcre_study.3 srclib/pcre/doc/pcre_version.3 srclib/pcre/doc/pcreapi.3 srclib/pcre/doc/pcrebuild.3 srclib/pcre/doc/pcrecallout.3 srclib/pcre/doc/pcrecompat.3 srclib/pcre/doc/pcregrep.1 srclib/pcre/doc/pcregrep.txt srclib/pcre/doc/pcrepartial.3 srclib/pcre/doc/pcrepattern.3 srclib/pcre/doc/pcreperform.3 srclib/pcre/doc/pcreposix.3 srclib/pcre/doc/pcreprecompile.3 srclib/pcre/doc/pcresample.3 srclib/pcre/doc/pcretest.1 srclib/pcre/doc/pcretest.txt srclib/pcre/doc/perltest.txt srclib/pcre/get.c srclib/pcre/internal.h srclib/pcre/libpcre.def srclib/pcre/libpcre.pc.in srclib/pcre/libpcreposix.def srclib/pcre/maketables.c srclib/pcre/makevp.bat srclib/pcre/pcre-config.in srclib/pcre/pcre.c srclib/pcre/pcre.def srclib/pcre/pcre.in srclib/pcre/pcredemo.c srclib/pcre/pcregrep.c srclib/pcre/pcreposix.c srclib/pcre/pcreposix.h srclib/pcre/pcretest.c srclib/pcre/perltest srclib/pcre/printint.c srclib/pcre/study.c srclib/pcre/testdata/testinput1 srclib/pcre/testdata/testinput2 srclib/pcre/testdata/testinput3 srclib/pcre/testdata/testinput4 srclib/pcre/testdata/testinput5 srclib/pcre/testdata/testinput6 srclib/pcre/testdata/testoutput1 srclib/pcre/testdata/testoutput2 srclib/pcre/testdata/testoutput3 srclib/pcre/testdata/testoutput4 srclib/pcre/testdata/testoutput5 srclib/pcre/testdata/testoutput6 srclib/pcre/ucp.c srclib/pcre/ucp.h srclib/pcre/ucpinternal.h srclib/pcre/ucptable.c srclib/pcre/ucptypetable.c
8f868f15482c7406db01216b6e4778ddabb26898 106408 24-Nov-2004 trawick

mod_cgid: Catch configuration problem where two web server instances share same ServerRoot but admin forgot to use ScriptSock. reviewed by: nd, stoddard

f902601ea431a9b56106e0f5f641dd5fd7efbc30 106195 22-Nov-2004 jorton

* modules/generators/mod_cgi.c (cgi_handler): Ensure all stderr from the script is logged if it generated a non-local redirect. PR: 20111

1e1e4f4f810b99732f06fc05141f42ca1965a9ed 105920 20-Nov-2004 pquerna

I forgot to add a CHANGES message for the Event MPM. See r105919.

5f80956ca9d98d5482f38eef0c465df0923d7781 105892 19-Nov-2004 jerenkrantz

Onward to 2.1.2-dev. * CHANGES: Bump... * include/ap_release.h: to 2.1.2-dev.

78fcc425fc9fc58202a1693fe40dd0ce75c031ff 105751 11-Nov-2004 jorton

* modules/proxy/proxy_http.c (ap_proxy_http_process_response): Use the standard non-blocking-read/flush/blocking-read logic to ensure that buffered content is flushed to the client if the next read will block. PR: 19954

db913c8820608d6d525290ad407678e476aed0b4 105746 10-Nov-2004 bnicholes

sync of changes with backports

d2ffb32434f79782ff7a364ffa31064698c5c645 105741 10-Nov-2004 jorton

Add -t -DDUMP_CERTS option to mod_ssl which dumps the filenames of all configured SSL certificates to stdout, useful for cron-ing through a "do I need to renew any of my certificates this week" tool: * modules/ssl/ssl_engine_config.c (ssl_hook_ConfigTest): New function. * modules/ssl/mod_ssl.c (ssl_register_hooks): ...register it as a test_config hook.

3a47088a3cd486d3639763ef940e298bb75726b1 105737 10-Nov-2004 jorton

Synch history with 2.0 branch.

87093daecb1e5ed178d1fa9773d2d7ffe8c96329 105736 10-Nov-2004 jorton

Synch with 2.0 branch.

01847067cfc639c14e1aa77d3b3e98f239447a12 105699 06-Nov-2004 jerenkrantz

mod_disk_cache: Remove a bunch of non-implemented garbage collection and cache size directives that are now available through htcacheclean.

9fe74ffcdea85800f04a7222f716f78ae60cce51 105698 06-Nov-2004 jerenkrantz

Add htcacheclean to function as cleanup utility (daemonizable) for mod_disk_cache. (Justin did a whole bunch of style tweaks, and some minor functionality tweaks to get it to function on Solaris.) Submitted by: Andreas Steinmetz Reviewed by: Justin Erenkrantz

dae3cb64cc6681b5f6b0fd12e7f8f6296ffaa19a 105694 05-Nov-2004 bnicholes

Added the directive "Requires ldap-filter" that allows the module to only authorize a user based on a complex LDAP search filter.

9a511d671b6e41f671c9a889c1a91f0a18251f32 105691 05-Nov-2004 stoddard

CHANGES entry for CAN-2004-0942 fix

81540a0eb1da2c687e22de3367d8ded55e17e330 105677 04-Nov-2004 pquerna

Just a simple switch of mod_usertrack to run earlier in the fixup hook. PR: 29755

0e80b44ae72e5f111581fabf153ad0d2532aa80e 105675 03-Nov-2004 bnicholes

Added the directive "Requires ldap-attribute" that allows the module to only authorize a user if the attribute value specified matches the value of the user object. PR 31913 Submitted by: Ryan Morgan <rmorgan pobox.com> Reviewd by: Brad Nicholes

ce66c67eba79a20118d8664b65b0c9eeec1bebda 105670 02-Nov-2004 bnicholes

Split LDAP authorization from authentication

6cfc2ed5a8e633c5a40fec65775868d53952d992 105652 01-Nov-2004 trawick

Change core connection handling so that a connection-oriented error disabling nagle* is logged with the client IP address and a debug log level. We filter out not-implemented errors from platforms which don't support TCP_NODELAY. *This is typically EINVAL, which means that the client already dropped the connection. Also, mention an earlier change to include the client IP address when logging connection-oriented errors.

e34223f72e630187c4d8ac7c22da5096c833eb20 105625 29-Oct-2004 trawick

add ap_log_cerror(); use it in a couple of places in core output filter so that the client IP address is recorded in the log

5159c40648868a58745aa11981f706948ff0f0d1 105583 25-Oct-2004 pquerna

This will put some messages in the error log when some people try a lame DoS by just opening a socket, and never sending any data. Ivan suggested such a change about a month ago, to match the 1.3 behavoir. Today I helped OSU's Admins figure out that someone was trying this 'attack' against their mirror server. The server status just showed hundreds of Apache Children stuck in Reading. This will at least hint to the admins where the problem is by telling them about it in the error log. Inspired by: Rici Lake, Ivan Ristic <ivanr webkreator.com>

aecb17a45c6d3ee4729ed5f68dc4270f211ee7a8 105572 24-Oct-2004 fielding

veto and revert win64 patch: 64bit changes must percolate from the bottom (APR/system) up -- we can't give the client a 64bit API and then cast it to 32bits internally without introducing security holes on other platforms.

a80dd6ffd7a1484e7f45e4665689bdd84fc97153 105569 23-Oct-2004 jerenkrantz

mod_cache: Add CacheIgnoreHeaders directive. (Justin made some minor tweaks to the patch.) PR: 30399 Submitted by: R�diger Pl�m <r.pluem@t-online.de> Reviewed by: Justin Erenkrantz

6ce789f46b020038831a8bc8def2bbd039471ecc 105565 23-Oct-2004 minfrin

Note a backport. PR: Obtained from: Submitted by: Reviewed by:

1aeb17f23e558c7fc587ef2f232025071d28ce2b 105562 23-Oct-2004 minfrin

Note a backport. PR: Obtained from: Submitted by: Reviewed by:

233a7697bd6064885197c568fe5a6aa4bafa1558 105560 23-Oct-2004 minfrin

Note a backport PR: Obtained from: Submitted by: Reviewed by:

666d616b7986a83bb0eac453694fbf4d6f05b98c 105545 22-Oct-2004 ake

WIN64: API changes to clean up Windows 64bit compile warnings

1437d5995fee252b31247e8a0a4e53b9d4ea5d4c 105510 18-Oct-2004 pquerna

use the correct struct for CacheDisable. (cache_disable instead of cache_enable) PR: 31128 Submitted by: Edward Rudd <eddie omegaware.com>

41774018aa66ddb54ce7fd8fe049ccf3b3f7262a 105453 14-Oct-2004 minfrin

mod_ldap: Fix format strings to use %APR_PID_T_FMT instead of %d. PR: Obtained from: Submitted by: Jeff Trawick Reviewed by:

2afded63386f82778457d31bf2d5fbea4f3e2ab0 105442 13-Oct-2004 minfrin

Today is washday :) PR: Obtained from: Submitted by: Reviewed by:

c178b761acd6bffa199c2fd28c4469492b989699 105399 10-Oct-2004 nd

remove the RewriteOption MaxRedirects; LimitInternalRecursion is sufficient for the administrator

6b0c38717e667a51fe24f205beeeb00a63c8a617 105396 08-Oct-2004 jorton

Fix CAN-2004-0885: * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Ensure that a correct cipher suite has been negotiated, else deny access. * modules/ssl/ssl_engine_init.c (ssl_init_ctx_protocol): With OpenSSL 0.9.7, prevent session resumption during a renegotiation to force the client to negotiate a new (and acceptable) cipher suite. Submitted by: Hartmut Keil <Hartmut.Keil adnovum.ch>, Joe Orton

320ffe87a55e6172f91e051a2151790755446690 105379 05-Oct-2004 minfrin

mod_auth_ldap: Handle the inconsistent way in which the MS LDAP library handles special characters. PR: 24437 Obtained from: Submitted by: Jess Holle Reviewed by:

af6d8b02b2fd4ea9a0f6bfb95940d6075030e9a7 105375 03-Oct-2004 minfrin

mod_ldap: fix a bogus error message to tell the user which file is causing a potential problem with the LDAP shared memory cache. PR: 31431 Obtained from: Submitted by: Graham Leggett Reviewed by:

2669b0829aa4efffd095ec93e41890d142fb74f0 105373 03-Oct-2004 minfrin

mod_ldap: prevent the possiblity of an infinite loop in the LDAP statistics display. PR: 29216 Obtained from: Submitted by: Graham Leggett Reviewed by:

a7dbf5510f6a541bcb64cddc56e98ebd267f9cd3 105368 02-Oct-2004 jerenkrantz

mod_disk_cache: don't store hop-by-hop headers on-disk.

95502b537c0cd0cef69b85cea6b5ce3785949d65 105344 29-Sep-2004 bnicholes

backport ldap issue

7cf0c5ffb045e5def5ac0da61bc88549a7792516 105322 28-Sep-2004 jerenkrantz

Try to correctly follow RFC 2616 13.3 on validating stale cache responses by teaching mod_cache's cache_select_url and cache_save_filter how to deal with this corner case. * modules/experimental/cache_storage.c (cache_select_url): If we have a stale entry, save the handle so that cache_save_filter can use it later, and make the request conditional. * modules/experimental/cache_util.c (ap_cache_request_is_conditional): Take in a table rather than request_rec. * modules/experimental/mod_cache.c (cache_out_filter): Fix bogus comment. (cache_save_filter): If we have already responded to the client, block all data; correctly merge in 'stale' handles that are not really stale; set r->status where appropriate; serve cached response if 'fresh' * modules/experimental/mod_cache.h (cache_info): Add a status field. (cache_request_rec): Add stale handle field and note we may block responses. (ap_cache_request_is_conditional): Update prototype. * modules/experimental/mod_disk_cache.c (store_headers): Use cache_info status instead of r->status. * modules/experimental/mod_mem_cache.c (recall_headers): Properly recall the status field. (store_headers): Store the status field via cache_info status.

4a06de65fa2b5c80d46cbe2bf2ec07b293f181a1 105317 28-Sep-2004 jerenkrantz

mod_disk_cache: Do not store aborted content. PR: 21492 Submitted by: R�diger Pl�m <r.pluem t-online.de> Reviewed by: Justin Erenkrantz

d24aaa457fa7cf3f5a9568a8f59602120ff5bae3 105315 28-Sep-2004 jerenkrantz

mod_disk_cache: Correctly store cached content type. PR: 30278 Submitted by: R�diger Pl�m <r.pluem t-online.de> Reviewed by: Justin Erenkrantz

90692b194d8545ef6d0659e2a5e555b07a826203 105290 24-Sep-2004 stoddard

this fix backported to 2.0

a57463e9530d71befcc34dc69b999fa88c38b14f 105284 24-Sep-2004 stoddard

port

68f29716d504ffafacc47f211563afa8bfddc75f 105273 23-Sep-2004 minfrin

Note a backport. PR: Obtained from: Submitted by: Reviewed by:

9db3718b307edf48ce75790998ada20c21c0c094 105261 23-Sep-2004 jerenkrantz

Fix race conditions in mod_disk_cache by properly using the tempfile rather than the data file. (We rename the tempfile when we're completed with the data file which is an atomic operation.) Part of the code assumed that it was using a temporary file; other parts wrote directly to the body file - which was incorrect. So, clean up the whole mess to be consistent and more correct.

9c5109a7051450f93d24e64eced0bdc6a29d8417 105236 22-Sep-2004 jerenkrantz

Fix Expires (freshness) handling in mod_cache. Previously, if the cached copy was stale, the response would go into an indeterminate state. Therefore, the freshness check must be done before we 'accept' the response and, if it fails (i.e. stale), we can't allow any side effects. This caused a number of changes to how mod_disk_cache reads its headers as ap_scan_script_header_err() purposely has side-effects and that's unacceptable. So, factor out only what we need. Also, remove the broken conditional filter code as you can't reliably alter the filter list once the response is started. (Regardless, cache_select_url() has the freshness checks now.) Assist to Sascha Schumann for reporting mod_cache was busted.

fda9724d890bc5d8d39e42b6baa6847623a319f8 105228 21-Sep-2004 geoff

SECURITY: CAN-2004-0811 officially part of 2.0.52

b5aeecf5035421d10ea2bb15d300f910b751ada6 105215 20-Sep-2004 jorton

* server/core.c (merge_core_dir_configs): Fix Satisfy merging since per-method Satisfy feature was added. PR: 31315 Submitted by: Rici Lake <rici ricilake.net>

f8fc4173f3b9715e5945b668ba511b77573dc1d1 105208 20-Sep-2004 minfrin

Fix the global mutex crash when the global mutex is never allocated due to disabled/empty caches. PR: Obtained from: Submitted by: Jess Holle <jessh ptc.com> Reviewed by:

de32a9bcfa7af5df51cbeb170c82220ec1aa4373 105206 20-Sep-2004 minfrin

Fix a segfault in the LDAP cache purge. PR: Obtained from: Submitted by: Jess Holle <jessh ptc.com> Reviewed by:

e712cdaeb07f4e9130b1f577e9b8db242357f6c4 105198 18-Sep-2004 trawick

mod_rewrite: Handle per-location rules when r->filename is unset. Previously this would segfault or simply not match as expected, depending on the platform.

a13cde9773cabe1c57cf5871afdfcca265b4fb2f 105197 18-Sep-2004 trawick

sync with APACHE_2_0_BRANCH

08b98efa42017369c679a7457c79d5220fb3431b 105195 18-Sep-2004 trawick

Unix MPMs: Shut down the server more quickly when child processes are slow to exit.

22fc5d45d68b6bb99dfe77ffbd4248ce4a1f71b1 105192 17-Sep-2004 stoddard

sync with 2.0 CHANGES file

1f729c89340144196af6120eb6be0d9704effd86 105190 17-Sep-2004 stoddard

Group effort. Thanks all!

9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875 104999 05-Sep-2004 pquerna

mod_info: Added ?hooks. Now outputs XHTML. Added more build info. updated mod_info docs.

50b887f89293bb12f156cb5b768ff3834c6c0ecd 104951 04-Sep-2004 trawick

sync

572f5b8a84bb399e51b02a562776f4aec119aa95 104942 03-Sep-2004 pquerna

Rewrote config tree walk using recursion the way God intended. Added ?config option. Added printout of config filename and line numbers. PR: 30919 Submitted by: Rici Lake <rici ricilake.net>

d57fe5abb266c2441d4aa437169c9df9e90d93cd 104937 02-Sep-2004 trawick

handling of encoded non-slashes was borked in the AllowEncodedSlashes path thanks to FirstBill for pointing that out!

dbbd7d4a411d7f781052101461c520468a39dd64 104933 02-Sep-2004 trawick

sync

b3f1e12598377cadeff089fc51e1156dbdb1ed00 104930 02-Sep-2004 mjc

CAN to CVE promotions from CVE version 20040901 PR: Obtained from: Submitted by: Reviewed by:

1b03ca18c41f51a25dcf1a623a8f558bd779e0a4 104926 01-Sep-2004 jerenkrantz

Fix a trio of bugs in how mod_proxy relays requests: - Fix type error in proxy-sendchunks case that caused an invalid T-E header. - Fix data corruption (seen with mod_ssl/mod_proxy combination) due to not properly setting aside the body_buckets. - Pass along a C-L: 0 if we still have a C-L of 0 after filtering and the original request to us had that as well.

3fc8708d86d584e80a933ed4eb0a6dbe9df58924 104925 01-Sep-2004 trawick

Fix the handling of URIs containing %2F when AllowEncodedSlashes is enabled. Previously, such urls would still be rejected with 404.

2f9e367f5dff48c3f432a462f0f2624bccba26d0 104884 28-Aug-2004 nd

Fix query string handling for proxied URLs. PR: 14518 Submitted by: michael teitler <michael.teitler cetelem.fr>, Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>

db443e0132f14dac789ab97ec23ce124360d74c2 104878 28-Aug-2004 nd

Fix darn typo. Submitted by: Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>

25e0bab0a1533a32dfc32d64664d8fe927656640 104870 27-Aug-2004 jwoolley

grammar police

162e147f0561548589a5e3595401438301c0d5bf 104868 27-Aug-2004 nd

e -> � :)

0596b673a5841c431b8f4c5de1f351cc3ae90fb9 104866 27-Aug-2004 nd

sync

2b436143f38de8b0239c1371594fe129030a08cb 104860 27-Aug-2004 stoddard

sync with 2.0

a4f89d40fa1b708cdffaf99f3f1e15beaf243367 104853 27-Aug-2004 jorton

Synch with 2.0 branch.

807d7e34c8631e4dcc9aab53d2e5867c325c4eff 104843 27-Aug-2004 nd

sync

8df1d6d36f53225e62a767e255db91df7182a242 104836 26-Aug-2004 jerenkrantz

Forward-port CHANGES entry for mod_*_cache from 2.0.

c949f779c0c5714ec0a1307ae6b8a2ff8ee5fcaa 104828 26-Aug-2004 stoddard

Give Brian and Justin credit for code backported into 2.0. Is this really the only CHANGES entry in 2.1 for cache?

c5cb4c9e7c8696907ddebab2a0037717c710b0f6 104816 26-Aug-2004 jorton

Synch with 2.0 branch.

60a66740fd7cf3974d7eb7791513d1d4a697f245 104809 26-Aug-2004 stoddard

another backport

d09682d04d135cab4463dbbd628c5185103960c7 104807 26-Aug-2004 stoddard

backport

b02bd8987c1478fa4622455d94266eb71d8108fd 104799 25-Aug-2004 stoddard

Win32: Fix stranded piped loggers on apache -k start,restart,config,install

98c70f5863f1e63b16a457beb9736712b7c995fc 104775 23-Aug-2004 jorton

Synch with 2.0 branch.

a423b2901680984502cca9694d32535d7061ee33 104761 20-Aug-2004 nd

sync

abb92a2029fbfe7e69e5185ce104b7939310a4cb 104756 20-Aug-2004 nd

sync

4ac7a7c09ac5732b09f8bf28873f7e9efcab34d5 104710 18-Aug-2004 bnicholes

Note the restructuring and change in status mod_auth_ldap

ce8490f3812311582d1deee96b012c377311b317 104708 18-Aug-2004 minfrin

Fix some compiler warnings in proxy PR: Obtained from: Submitted by: Geoffrey Young <geoff@modperlcookbook.org> Reviewed by:

9d52ebe6234fff3bee221e13f94e547f5b8d02a4 104703 18-Aug-2004 trawick

suexec: Pass the SERVER_SIGNATURE envvar through to CGIs. Submitted by: Zvi Har'El <rl math.technion.ac.il> Reviewed by: Jeff Trawick

0967fa2b2d694e2ac6d9c4001eb4aa71a1046b15 104701 18-Aug-2004 trawick

apachectl: Fix a problem finding envvars if sbindir != bindir. PR: 30723 Submitted by: Friedrich Haubensak <hsk imb-jena.de> Reviewed by: Jeff Trawick

38f6ebaca968b7b23c25c0b30d0be1c7aad7412b 104700 18-Aug-2004 jorton

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain): New function. (ssl_var_lookup_ssl_cert): Support _V_REMAIN suffix for SSL_{SERVER,CLIENT} as number of days until certificate expires. * modules/ssl_engine_kernel.c: Export SSL_CLIENT_V_REMAIN if +StdEnvVars is configured.

80ce75fd8bfc1066f75082336dfe8537c07f8ec1 104699 18-Aug-2004 jorton

* modules/mappers/mod_userdir.c (register_hooks): Move suexec_identity hook to APR_HOOK_FIRST to ensure it runs before the mod_suexec hook. PR: 18156 Submitted by: Joshua Slive

6bdb9c5d3d177a897b58777f28a0b94c798a5b2e 104695 17-Aug-2004 nd

sync

916a784737a5d797a722aaa5727c0f5eeb51a85b 104687 17-Aug-2004 jorton

* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix rollback handling for AP_MODE_SPECULATIVE. PR: 30134

cc7d8b55b16eee88be925a090473ca94b0a6e770 104685 17-Aug-2004 jorton

Implement -t -DDUMP_MODULES using generic test_config hook rather than hooking into mod_so from main.c: * include/http_config.h, server/config.c: Declare test_config hook. * server/main.c: Drop hooks into mod_so; run test_config hooks. * modules/mappers/mod_so.h: Drop ap_dump_loaded_modules optional function. * modules/mappers/mod_so.c (dump_loaded_modules): Renamed from ap_dump_loaded_modules; only run if -DDUMP_MODULES is defined. (register_hooks): Register test_config hook instead of optional function. Reviewed by: Justin Erenkrantz, Paul Querna

624dd0eb3cff4353cf6a7ec70592adae319787bd 104681 16-Aug-2004 nd

sync

f82a01b2f6687b358b750c3dbe91f4ca7f8f42dc 104652 14-Aug-2004 trawick

WinNT MPM: Fix a broken log message at termination. PR: 28063 Submitted by: Eider Oliveira <eider bol.com.br> Reviewed by: Jeff Trawick

f2b43354f9ac8496ab7003ae01211af739efba1a 104651 14-Aug-2004 trawick

tweak error handling when reading the pid file previously strtol() would look at unitialized storage, but now the string is terminated where the data read ends give user a hint about removing the file if we can't read/parse it properly (somehow I ended up with a truncated httpd.pid on my own system, leading to these tweaks)

2555a6b5da21d61804f47084d8fcc98eb4acbc42 104565 11-Aug-2004 wrowe

Enable backwards compatibility with 2.0-HEAD, define ajp module base, and note CHANGES so far to proxy Submitted by: mturk

1e9cd35f0e3e8029c8b8f70ef57413d6e7730480 104547 11-Aug-2004 jorton

* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix potential infinite loop in ssl_io_input_getline if connection is aborted without inctx->rc being set. PR: 29964

4f89256ac9e0f6ce27744dc6ca7eee6893262c62 104511 05-Aug-2004 jerenkrantz

mod_disk_cache: Implement binary format for on-disk header files. Justin greatly extended Brian's patch and redid the rest of the storage format. Submitted by: Brian Akins <bakins web.turner.com> Reviewed by: Justin Erenkrantz

a0cf51c951403c8dbc7b8caf88a77074dd8731bb 104494 05-Aug-2004 bnicholes

mod_auth_ldap backports

eb6e3a3e784021abc1e28247158db3a8b07186b9 104469 04-Aug-2004 minfrin

Fixes the build of proxy on Windows. Since the proxy_module is declared as extern using AP_MODULE_DECLARE_DATA that expands to dllexport, there is a LNK2001 error when building proxy_http. PR: Obtained from: Mladen Turk <mturk@apache.org> Submitted by: Reviewed by:

f5098e2eb6ed9dfd7052f25761bb5e97779b8460 104468 04-Aug-2004 minfrin

Remove LDAP toolkit specific code from util_ldap and mod_auth_ldap. PR: Obtained from: Submitted by: Reviewed by:

d86551ca954d666d5b15ad38e9daf45680516c25 104439 01-Aug-2004 jerenkrantz

Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against APR_SUCCESS.

c79b5caf7c5462ef707363c69cc63ea2606310ab 104436 31-Jul-2004 trawick

perchild MPM: Fix thread safety problem in the use of longjmp(). Submitted by: Tsuyoshi SASAMOTO <nazonazo super.win.ne.jp> Reviewed by: Jeff Trawick

fdfa27042409771401b31da24a4aed9c7ee02ba7 104430 30-Jul-2004 bnicholes

Backport done

1551c2366551d7a361bedbf7ae54f1abd74ef822 104404 29-Jul-2004 minfrin

Add load balancer support to the scoreboard in preparation for load balancing support in mod_proxy. PR: Obtained from: Submitted by: Mladen Turk <mturk@apache.org> Reviewed by:

833fe934fab4f802aef9e5621169d65a33b75c4d 104329 19-Jul-2004 jerenkrantz

Workaround RHEL 3 'cuteness' for OpenSSL by calling pkg-config openssl. For more info, see: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82369

f1826b4cf1fbeb049c569761cc95b04e3496efd6 104308 16-Jul-2004 bnicholes

NWSSLUpgradeable directive

103a93c625bcde1a6a7a5155b64dcda36f612180 104283 14-Jul-2004 pquerna

Added 'AllowOverride Options=Indexes,MultiViews' to give an admin better control over what options can be used in .htaccess files. PR: 29310 Submitted by: Tom Alsberg <alsbergt-apache cs.huji.ac.il>

15bf15191092c9bffdfb3a8c25f543c21381847f 104254 12-Jul-2004 geoff

note backport

38ec256e83361accbe95c1089d4cb2d92052acb3 104219 10-Jul-2004 pquerna

Sync with 2.0.51-dev

87a528a7622973988232079ba02763748c9c7071 104217 10-Jul-2004 pquerna

Small fix on ab's use of sprintf(). PR: 28204 Submitted by: Erik Weide <erik.weidel mplus-technologies.de>

1a986bbad9314beb8739401cac822e87bb04bbfe 104213 10-Jul-2004 pquerna

Add DUMP_MODULES

752ec04fdfa6e936047811b9e506cf829d7a69f7 104212 10-Jul-2004 pquerna

Add ShowForbidden to IndexOptions to list files that are not shown because the subrequest returned 401 or 403. PR: 10575

6291659652d4661e7fee44fc5d3b9ac0f3731ba6 104210 09-Jul-2004 bnicholes

Notes changes that were made to util_ldap

395b400cb7ae259c3e9809546fba8ea67ab7cdcb 104195 08-Jul-2004 nd

add PR numbers

41f1dec46fe56a30962601d0e8ce689ac6c86147 104188 06-Jul-2004 geoff

note backport

cf82d17373559b6163dbd6c844c1af82cab56883 104170 05-Jul-2004 niq

Implement "Early" mode in mod_headers, and document it.

2d84861186d70e5396751ba308bb90c8a7db47ac 104154 03-Jul-2004 nd

make trailing-slash-behaviour configurable

508fc9d45fb7ab0ef69294f6a8fd25cb96dbde72 104150 03-Jul-2004 trawick

sync with 2.0 branch

8c2f8720f8fe23c6085509198773a5a1dda268fb 104130 02-Jul-2004 minfrin

Note a backport PR: Obtained from: Submitted by: Reviewed by:

96480cce9d1a708653f072ccc256686ceea2a870 104119 02-Jul-2004 minfrin

Add the NOTICE file to the rpm spec file in compliance with the Apache v2.0 license. PR: Obtained from: Submitted by: Reviewed by:

c4e6f5320f87eff25838c21c107a24b688d539d0 104086 29-Jun-2004 niq

Retrospective entries for major update to mod_proxy and minor update to mod_deflate.

f1c413e3b75fa1b6aadbb7022ff82042ca10b2a8 104077 29-Jun-2004 minfrin

Note a backport PR: Obtained from: Submitted by: Reviewed by:

d00ce17e51cb219a98ed5ae4687be42d264e818d 104059 29-Jun-2004 trawick

CAN-2004-0493 - memory exhaustion denial of service Reviewed by: jerenkrantz

d406be0d6a4f9e61bbdfa6c8cde2e09338dd650a 104019 23-Jun-2004 trawick

start piped loggers via the shell, passing through the environment variables in the httpd process this requires a new APR feature (APR_SHELLCMD_ENV), just added to apr 1.0-dev

2378871d0d881cf8ea6e67f69e92ef1b673b2ae3 103991 20-Jun-2004 trawick

mod_log_config: Fix a bug which prevented request completion time from being logged for I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE processing. PR: 29696 Submitted by: Alois Treindl <alois astro.ch> Reviewed by: Jeff Trawick

33a5f73d946d6980b77e49513665ac2afeb7ad35 103976 17-Jun-2004 geoff

initialize server arrays prior to calling ap_setup_prelinked_modules so that static modules can push Defines values when registering hooks just like DSO modules can Submitted by: philippe chiasson Reviewed by: geoff

393d57ecf4027bddb2cc516e46899aa096a467d2 103973 16-Jun-2004 coar

make the check for GMT offset occur each time through the loop, in case a switch between standard and daylight savings time occurred. (correction to previous code courtesy of Uli Zappe.) PR: 24417 Submitted by: Uli Zappe <uli ritual.org>

92c2e82603d4f08cd8b87e68be5e3888ef32f917 103951 15-Jun-2004 nd

sync

174a8f105b1c11aa50a05993ea8ba2d117d3df6e 103920 11-Jun-2004 nd

Drop the ErrorHeader directive which turned out to be a misnomer. Instead there's a new optional flag for the Header directive ('always'), which keeps the former ErrorHeader functionality. The opposite flag to 'always' is 'onsuccess'. So the new directives are written as: Header set foo bar # which is the same as Header onsuccess set foo bar # and a subset of Header always set foo bar # which is what the ErrorHeader directive did. Reviewed by: Brad Nicholes

463ec285d00a089e8861dda975cc3fc77fbdbd67 103919 11-Jun-2004 nd

sync

c022ee876f3666435b58534680719193b9aece70 103911 11-Jun-2004 trawick

sync with stable branch

3ad0f071604de33c0b3733b649cd0445ba00f54d 103910 11-Jun-2004 ake

Don't deflate responses with zero length e.g. proxied 304's

1940eeecc1f7d1ce69b3e43b49378f5e2b307e8e 103903 11-Jun-2004 bnicholes

Sync with the 2.0 changes file

97c78987224dcd037076d393aad1867c26b2c8cf 103897 11-Jun-2004 trawick

<VirtualHost myhost> now applies to all IP addresses for myhost instead of just the first one reported by the resolver. This corrects a regression since 1.3.

40cbbfafeb47550fb1b208b31c41813392720f69 103870 07-Jun-2004 jorton

Synch with 2.0 branch.

fc14030410c01063b4e6f3c1cee4142962a0338f 103866 07-Jun-2004 nd

sync

8f697acb97f27aaa43c67d649cd69618123f4ebd 103863 06-Jun-2004 nd

sync

c2549f0b237ac86f3623a601a766969d805dbc2a 103849 05-Jun-2004 nd

Nobody objected: <IfModule> now takes the module identifier in addition to the filename. CAUTION: this commit breaks the build on netware. It still needs to be adjusted. (but I don't have any netware knowledge...) Also, developers need to re-run buildconf on unices. PR: 29003 Submitted by: Edward Rudd <eddie omegaware.com>, Andr� Malo

f84d3d83a741c21154d42e0ebdec9b9b37efeedc 103834 03-Jun-2004 jorton

Add "SSLUserName" directive to set r->user based on a chosen SSL environment variable name. * modules/ssl/ssl_private.h (struct SSLDirConfigRec): Add szUserName field. * modules/ssl/ssl_engine_config.c (ssl_config_perdir_create, ssl_config_perdir_merge): Initialize and merge szUserName field. (ssl_cmd_SSLUserName): New function. * modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Set r->user to the value of the chosen SSL environment variable. * modules/ssl/mod_ssl.c: Add SSLUserName config directive. PR: 20957 Submitted by: Martin v. Loewis <martin v.loewis.de>

4a65aa3f47136f83b10a702aa554cdaf56c4f4ff 103833 03-Jun-2004 jorton

Fix typo.

7efe7de73c89c26518714a504359244d03cfbbc5 103832 03-Jun-2004 jorton

Add "SSLHonorCipherOrder" directive to enable the OpenSSL 0.9.7 flag which uses the server's cipher preference order rather than the client's. * modules/ssl/ssl_private.h (struct SSLSrvConfigRec): Add cipher_server_pref field. * modules/ssl/ssl_engine_config.c (ssl_config_server_create, ssl_config_server_merge): Initialize and merge cipher_server_pref field. (ssl_cmd_SSLHonorCipherOrder): New function. * modules/ssl/ssl_engine_init.c (ssl_init_ctx_protocol): Set the context option SSL_OP_CIPHER_SERVER_PREFERENCE when required. PR: 28665 Submitted by: Jim Shneider <jschneid netilla.com>

d60027cde3289d3ef35bc9d815882975eb60e6ab 103829 03-Jun-2004 jorton

Drop support for the "CompatEnvVars" argument to SSLOptions, which was never implemented in 2.0 and never needed to be. * docs/ssl/ssl-std.conf.in: Remove CompatEnvVars examples. * modules/ssl/ssl_engine_config.c (ssl_cmd_SSLOptions): Don't allow the CompatEnvVars argument. * modules/ssl/ssl_private.h: Remove SSL_OPT_COMPATENVVARS macro.

5d3ba6c91839d8b8bb98b2ff43c0d686c335b783 103827 03-Jun-2004 nd

sync

aa37a703efc2aae38e9dcf68375018e01d2af950 103825 03-Jun-2004 nd

sync

edc6a3f9716dedb2d3f365820544f729ef666ab9 103819 01-Jun-2004 jorton

Synch with 2.0 branch.

504498fd20729dcc29dfbfb78e64a8521c6a767a 103803 29-May-2004 jerenkrantz

Fix bug in mod_deflate that unconditionally sent deflate'd output even when Accept-Encoding is not present. Reported by Roy Fielding for http://cvs.apache.org/viewcvs/ with Safari.

269e0a31aa0f6aafe7292e932a182ccb535e55a9 103796 28-May-2004 trawick

Pass environment variables through to piped loggers, resolving a regression since 1.3. Submitted by: Ken Coar, Jeff Trawick

9026fcf39ea5fbacee72b6c4f68e6c778dbad478 103791 27-May-2004 nd

sync

0043caa79a47e74a29c19b87bc85b2545e7209e6 103788 27-May-2004 nd

sync

263702cf74538e1c6d31b58baae20ac168a45712 103772 26-May-2004 minfrin

Enable the option to support anonymous shared memory in mod_ldap. This makes the cache work on Linux again. PR: Obtained from: Submitted by: Reviewed by:

73e8c23f3efca94370c24e6a5908ee6e522bf4db 103761 25-May-2004 minfrin

Backport PR: Obtained from: Submitted by: Reviewed by:

94e96b9af3e76ff6913fcf5306e3acb75c70168b 103759 25-May-2004 minfrin

Backported PR: Obtained from: Submitted by: Reviewed by:

98e28ee4e3e3972abeb1bfd509c0e79c54c871f6 103751 25-May-2004 nd

allow LimitRequestBody to be reset to unlimited PR: 29106

a111fb25c1fab056a6dbadb18d84018088671fd9 103746 24-May-2004 minfrin

Fix a segfault when requests for shared memory fails and returns NULL. Fix a segfault caused by a lack of bounds checking on the cache. PR: 24801 Obtained from: Submitted by: Reviewed by:

2bbc6e80053db6323287f4003e623ca0b6de9066 103736 22-May-2004 minfrin

Throw an error message if an attempt is made to use the LDAPTrustedCA or LDAPTrustedCAType directives in a VirtualHost. PR: 26390 Obtained from: Submitted by: Brad Nicholes Reviewed by:

294742ca68d050582b774a02fa708926d4eba173 103734 22-May-2004 minfrin

The backport list gets shorter. PR: Obtained from: Submitted by: Reviewed by:

50e23f7dca0da305e324349792fb7c27d8e04b60 103725 22-May-2004 minfrin

Small fix to allow reverse proxying to an ftp server. Previously an attempt to do this would try and connect to 0.0.0.0, regardless of the server specified. PR: 24922 Obtained from: Submitted by: Pascal Terjan <pterjan@linuxfr.org> Reviewed by:

29bb843fb0833aec0d7f631a2bdbba9e9f6f3851 103722 21-May-2004 minfrin

Mr ldap_simple_bind_s() bug, with three votes, you are the weakest link, goodbye. PR: Obtained from: Submitted by: Reviewed by:

bc70707fad7dc69a122f440ce4cdc2ffe292c7ca 103713 21-May-2004 minfrin

Fix a potential segfault if the bind password in the LDAP cache is NULL. PR: 26686 Obtained from: Submitted by: Jari Ahonen <jah@progress.com> Reviewed by:

48708a983a8fb273a036aa7c6f437a3a835352b9 103711 21-May-2004 minfrin

Quotes cannot be used around require group and require dn directives, update the documentation to reflect this. Also add quotes around the dn and group within debug messages, to make it more obvious why authentication is failing if quotes are used in error. PR: 19304 Obtained from: Submitted by: Reviewed by:

6c781ae8f4ce81a03ee20b92fd158966247f5ee2 103708 21-May-2004 minfrin

The Microsoft LDAP SDK escapes filters for us, stop util_ldap from escaping filters twice when the backslash character is used. PR: 24437 Obtained from: Submitted by: Jess Holle <jessh@ptc.com> Reviewed by: minfrin

50ddeea4396d236c2e5ae1c3b1cd4f4d1c47031f 103706 21-May-2004 minfrin

Overhaul handling of LDAP error conditions, so that the util_ldap_* functions leave the connections in a sane state after errors have occurred. PR: 27748, 17274, 17599, 18661, 21787, 24595, 24683, 27134, 27271 Obtained from: Submitted by: Reviewed by:

217f75ac21f879b5d71892790e536cd80184db8d 103704 20-May-2004 minfrin

RPM spec file changes: changed default dependancy to link to db4 instead of db3. Fixed complaints about unpackaged files. PR: Obtained from: Submitted by: Reviewed by:

08df8c976ef7d6c1362cba072cadf0e1e6c91975 103698 19-May-2004 trawick

Fix handling of IPv6 numeric strings in mod_proxy. (Some such operations would work if port was specified in url due to way parsing was performed, finding last ':' and considering everything after as the port.)

c1ba3b0ac00c4fee2f4b950dfdb167b39611b661 103691 18-May-2004 nd

external map responses were cut at 2048 bytes (and possibly got out of sync that way). Now they are unlimited.

b837ddaa27238a68194cefc842a0620dd28c75fb 103681 14-May-2004 trawick

sync with stable branch (there was never a CHANGES entry in 2.1-dev)

63267f5839a0a485948dd38ba607427d51a169e3 103669 12-May-2004 madhum

Fix SEGV in 'shmcb' session cache: When a 'read' or 'write' to session cache is done, we need to check the size of the data being 'read' or 'written' to avoid buffer over-run. PR: 27751 Submitted by: Geoff Thorpe Reviewed by: Madhusudan Mathihalli

b95a84193578c904426cef6dda84f7118a400a16 103639 10-May-2004 jim

*** empty log message ***

cdd8290ae4505c17de6aff3acd1b9bd48d2c84e0 103588 04-May-2004 ake

Prevent Win32 pool corruption at startup

9ee730154a1f2bcd0e650ffc4df999460c2c6660 103536 27-Apr-2004 bnicholes

Sync the change logs

c386113d5a8d0760909f40632fa84b387405e976 103529 26-Apr-2004 trawick

sync with APACHE_2_0_BRANCH

03a3ed87983471816561562f957390ed935d7b3b 103517 25-Apr-2004 nd

changed the following APIs to return an error instead of hard exiting: ap_add_module, ap_add_loaded_module, ap_setup_prelinked_modules, and ap_process_resource_config

c533ecac2227dc228070e686fb14dc6860f497f8 103516 25-Apr-2004 nd

ap_add_named_module is not used and maintained anymore. Drop it.

da5472c259c9dad08fd805c3e97a629f9428e7fe 103507 24-Apr-2004 nd

no longer refuse to process files that contain empty lines

408cee92f47d2d345c9fd57b17341d3dbbca4259 103496 24-Apr-2004 nd

sync

33c6c050363f8b571cec0477008390a95b41523a 103492 24-Apr-2004 nd

disable the use of acceptex on Win9x systems automatically PR: 28529

916b4a16ae45981780b372609bbaa05d45f8d9ba 103477 22-Apr-2004 bnicholes

backport sync

68ed4d659ab8f6deb93fe6d520b5d3ee65645493 103474 21-Apr-2004 nd

ap_set_sub_req_protocol and ap_finalize_sub_req_protocol are now exported on Win32 as well PR: 28523 Submitted by: Edward Rudd <eddie omegaware.com>

2bfe4d90e1d374e14fd5db16a799e6f5e0944748 103472 21-Apr-2004 nd

Include directives no longer refuse to process symlinks on directories. Instead there's now a maximum nesting level of included directories (128 as distributed). This is configurable at compile time using the -DAP_MAX_INCLUDE_DIR_DEPTH switch. PR: 28492

97789c9dcc4cc724c9b80fb9b428d128c58e3e0a 103466 20-Apr-2004 nd

Recursive Include directives no longer crash. The server stops including configuration files after a certain nesting level (128 as distributed). This is configurable at compile time using the -DAP_MAX_INCLUDE_DEPTH switch. PR: 28370

56cefde0af6b8db6fda0f1d95d8cdca54f397cd0 103446 18-Apr-2004 nd

allow %% to represent a literal %.

41369ed0bc7f2db6272278c27025f6aabf97fe63 103445 18-Apr-2004 nd

allow env clauses also for 'echo' and 'unset'

496f8f3966319d43455675630a849bae019d2a32 103444 18-Apr-2004 nd

Allow ErrorHeader echo

c52d06f85b1d2b9e922abd0b89d2b034ec878535 103442 18-Apr-2004 nd

don't segfault, when setting an empty header value

13ed2a88decd6dbe13b11467e7f648f2996b7a70 103437 18-Apr-2004 jorton

Implement the "CGI bucket" in mod_cgi to handle stderr output during script execution, preventing deadlock if stderr output fills the pipe buffer: * modules/generators/mod_cgi.c (log_script_err): Return a read error. (cgi_bucket_create, cgi_bucket_dup, cgi_read_stdout, cgi_bucket_read): New functions. (cgi_handler): Use new CGI bucket rather than a pipe bucket if APR_FILES_AS_SOCKETS; use zero read timeout from stdout/stderr during script execution. PR: 22030 Submitted by: Joe Orton, Jeff Trawick

9e8c2603790f490398a0fabf97866b6815748a54 103405 16-Apr-2004 ianh

mod_deflate: - New option for DEFLATE output file (force-gzip), which skips checking the accept-encoding header. - New output filter 'INFLATE' for uncompressing responses. Submitted by: Nick Kew <Nick at WebThing dot com> Reviewed by: Ian Holsman

ed3570ebd308d1e57fc42f7ccffec5ca8a6c8afd 103399 15-Apr-2004 jorton

Synch with 2.0 branch.

7b95cbe3641be28a5b9aed8bbf749643f3c9e65c 103362 12-Apr-2004 nd

sync

a21b3b9d8ebb12fd51fa1d17e44d5644a35a9a5f 103345 11-Apr-2004 nd

nobody came up with another patch or objections and it should not get lost: add mod_version and invoke it into *x (modules = all) and win32 builds

5fcef4390e6414ad7754c2f004974982bc33cac2 103339 10-Apr-2004 nd

accept URLs as ServerAdmin contact. If it's not recognized as an URL, assume an email address and prepend it with mailto: in server outputs. PR: 28174

46820eca7dc57ae17c235389a0cd39140a5db8b5 103335 10-Apr-2004 nd

fix cache confusion which happens if different virtualhosts define rewritemaps with the same name. This is done using name mangling. For the cache we prefix the map name with the hex value of the current server struct pointer. This way inherited maps still use the same cache. PR: 26462

1fbcf7a8e7b18be1b0e77b7bc38b7b71f8dfb052 103331 10-Apr-2004 nd

cleanup log_header_out function: - no need to ask r->err_headers_out, because it's already merged with r->headers_out at this stage - allow multiple headers like Set-Cookie to be logged properly PR: 27787

e6c244ee56578707b20a86e0e938498299a93b6c 103328 10-Apr-2004 nd

Fix a bunch of cases where the return code of the regex compiler was not checked properly. This affects: mod_setenvif, mod_usertrack, mod_proxy, mod_proxy_ftp and core. PR: 28218

56d70402724e1872992bcac08b802681cf762d9a 103326 10-Apr-2004 nd

escape the cookie_name before pasting into the regexp.

bfbca4e24db7fef55c0ab787aca9f89594530b45 103310 09-Apr-2004 geoff

Enable special ErrorDocument value 'default' which restores the canned server response for the scope of the directive.

f769c33501f474aed3e0f7c769477c8c4f478783 103271 05-Apr-2004 geoff

Allow Digest providers to return AUTH_DENIED to propagate a 401 status and terminate the provider chain prior to checking the password. Reviewed by: justin

89ea31761658f422cf21cd3b0224dc5fe95cccd3 103269 05-Apr-2004 nd

allow RequestHeader to be conditional PR: 27951 Basically submitted by: vincent gryzor.com (Vincent Deffontaines)

22e2a4e366bf541a07188005e46c88c86de56775 103266 04-Apr-2004 nd

fix segfault, which occurs if no CT is set and wildcards are used. PR: 28047

67a4d05bab3fc19c1b87fb9042977975bf27cdbd 103263 03-Apr-2004 nd

no longer remove the EOS bucket PR: 27928 Submitted by: Bojan Smojver <bojan rexursive.com>

210817da3118a900388980e4481e4aec6a58f101 103261 03-Apr-2004 nd

mod_rewrite no longer turns forward proxy requests into reverse proxy requests. PR: 28125

250e3f54ac9cfd4d78b1180e7f75d8a16288b0f8 103222 30-Mar-2004 trawick

sync with APACHE_2_0_BRANCH

78b82ad2a006e5edfc85c5b306369e278a916eb8 103206 30-Mar-2004 bnicholes

Back port

46c99ed700a996f84dee6b1fe42d22ce9f27b5a0 103199 29-Mar-2004 nd

add support for rewrite rules in proxy containers PR: 27985

d7c7669331357296719d67d1963d40d713ed455a 103184 29-Mar-2004 trawick

mod_cgid: Don't allow Scriptsock to be specified inside VirtualHost; Don't place script socket inside default server root instead of actual server root. The sock name was being stored in the server config, though it was not specific to a server. ap_server_root_relative() was being used prior to config processing, so it was always picking up the default server root. PR: 27886

54d0abb38e1a2ba503250495e4c3476b348f1a74 103165 27-Mar-2004 madhum

In the newer versions of OpenSSL, the flag SSL_SESS_CACHE_NO_INTERNAL_LOOKUP just prevents the internal lookup but does not prevent the caching. OpenSSL 0.9.6h onwards has a new flag 'SSL_SESS_CACHE_NO_INTERNAL' to prevent OpenSSL from both lookup and caching the sessions internally. PR: 26562 Reviewed by: Geoff Thorpe, Joe Orton

ee64282e65aac20cde407210163ecbf7e104cc56 103149 25-Mar-2004 stoddard

fix ported to 2.0.50-dev

911591cbd699fcc3df55396b264f2b811a068fb2 103146 25-Mar-2004 stoddard

ported to 2.0.50-dev

2fe16d53f7d596938f07b0e68f65313047028a11 103144 25-Mar-2004 geoff

move backported change to proper place

329ce430c1ad464f1927f95f114ab16fe91e4c9b 103142 25-Mar-2004 stoddard

complete backport

33350e006a2f05cb675f5c3c64b95a44b8b5882b 103125 24-Mar-2004 stoddard

Can't assume the filepointer is really 0 when offset is 0. A handler can create brigades containing multiple file buckets with arbitrary offsets

1472e44fdcd32f00cd579bc2dde36deaa0f155da 103120 24-Mar-2004 trawick

Fix memory corruption problem with ap_custom_response() function. The core per-dir config would later point to request pool data that would be reused for different purposes on different requests. This is based on an old 1.3 patch submitted by Will Lowe. It needs a minor tweak before committing to 1.3, but he had it pretty darn close.

781888a651637edc0b043a6787cb0c2acf30a187 103096 23-Mar-2004 geoff

work around MSIE Digest auth bug - if AuthDigestEnableQueryStringHack is set in r->subprocess_env allow mismatched query strings to pass. PR: 27758

0fdce60d89493753aeeadd6c26755143515f3de6 103060 21-Mar-2004 trawick

logresolve: Allow size of log line buffer to be overridden at build time (MAXLINE). PR: 27793

ae0220f581660790b39162cce3a56b61ee145046 103030 19-Mar-2004 trawick

Fix crash when Apache was started with no Listen directives. Submitted by: Michael Corcoran <mcorcoran warpsolutions.com> Reviewed by: Jeff Trawick

422a2e9e48a594c7d46d62410e45651a7a994430 103029 19-Mar-2004 trawick

*) 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)

82418a946182d550955bde2daae409766544c544 103027 19-Mar-2004 trawick

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)

804768c70a799483fa88678e6e3b3f0f0a2fee77 102997 16-Mar-2004 trawick

sync with 2.0.49-dev

af8dee354a287249dd9f3f77bbe850108e5afe43 102975 16-Mar-2004 trawick

use existing directive name ThreadStackSize instead of WorkerStackSize as made obvious by: Brad Nicholes

55f2e4a23664589e0201b1db8630a3af5500019d 102961 15-Mar-2004 trawick

mod_cgid: Fix storage corruption caused by use of incorrect pool.

5d3e5520c34648220ed0cd9dc01c2c203257c86f 102954 14-Mar-2004 nd

Satisfy directives now can be influenced by a surrounding <Limit> container. PR: 14726.

15240541412d9584f72016c353296e95b7339236 102950 13-Mar-2004 thommay

htpasswd.c: various cleanups and move to using apr_temp_dir_get() Submitted by: Guenter Knauf Reviewed by: Thom May

92d95be777d4365eb79444a7a558355a7a92081a 102935 11-Mar-2004 jorton

* modules/proxy/proxy_http.c (ap_proxy_http_process_response): Consistently check whether r->status is "successful" or not; fix screwy handling of 2xx-but-not-200 responses when ProxyErrorOverride is used. PR: 20183 Submitted by: Marcus Janson <marcus.janson@tre.se>, Joe Orton

14763a0db22322626dd8cd59dfbc3a4fcc655d99 102931 11-Mar-2004 trawick

Threaded MPMs for Unix and Win32: Add WorkerStackSize directive to override default thread stack size for threads which handle client connections. Required for some third-party modules on platforms with small default thread stack size. This is also useful for trimming back the stack size on platforms with relatively large default stack size in order to conserve address space for supporting more threads per child.

6f95d7970f0d8e1ce5f8b55b44e01eaf50f91409 102922 10-Mar-2004 stoddard

Win32: Tweak worker thread accounting to fix hang when number of Listen directives is >= ThreadsPerChild

fb82af0f0cd7b58eef19c54b086131b7e1e1e749 102905 09-Mar-2004 madhum

Enable mod_rewrite to recognize SSL variables (using ssl_var_lookup) Submitted by: Joe Orton Reviewed by: Madhusudan Mathihalli

5bd2a3a3d9e7d622546f5a3a973a9b802394ecf1 102896 09-Mar-2004 jerenkrantz

Sync with 2.0.49 tag.

d3318049e6c821b96bb3c6b6f8d43fccc92eb70d 102890 09-Mar-2004 jerenkrantz

Fix bug in mod_usertrack when no CookieName is set. PR: 24483 Submitted by: Manni Wood <manniwood planet-save.com> Reviewed by: Cliff Woolley, Jim Jagielski

270a4b12c5e0e51c8ffdbe8317db257a79a5f56a 102881 07-Mar-2004 jorton

Synch with 2.0 branch.

cc0b2a935c91a33f5bc0f13115def505d4b864e3 102846 03-Mar-2004 trawick

sync with 2.0.49-dev

5bff546b8f68ef2562acd9eee122b192159901db 102840 01-Mar-2004 rederpj

*) Remove compile-time length limit on request strings. Length is now enforced solely with the LimitRequestLine config directive. [Paul J. Reder]

b5d97619ae59d852d8552dbc66413a653d049314 102826 29-Feb-2004 trawick

sync with stable branch

2a30bb2c6d10ba7eb726e592f090fae2bc316f55 102814 28-Feb-2004 nd

sync

ca858ab6990f4b0d8e1935da755a0d3208c68320 102793 28-Feb-2004 madhum

Send the 'Close Alert' message to the peer upon closing a SSL session. This required creating a new EOC (End-Of-Connection) bucket type to notify mod_ssl that the connection is about to be closed. Reviewed by: Joe Orton, Justin Erenkrantz

2bc1c8cb65f7b7833251e6ee4c9be636762a5081 102787 26-Feb-2004 trawick

sync with stable branch

8006e0b5db61df8e16b3ea4705862cd15b66e8a5 102759 24-Feb-2004 striker

Backported mod_auth_digest change to 2.0.

bcccfc984c481af611fa4ffc3e2732400b041cfe 102734 21-Feb-2004 nd

remove support for Remote_User variable, which never worked at all. PR: 25725

f78505c7d260473bf11002f5028186f27d0ed8a0 102719 21-Feb-2004 geoff

minor mod_auth_basic and mod_auth_digest sync. mod_auth_basic now populates r->user with the (possibly unauthenticated) user, and mod_auth_digest returns 500 when a provider returns AUTH_GENERAL_ERROR Reviewed by: justin

65eb4ff7f436c894b9fee6a2f86f291e9778c7ce 102686 19-Feb-2004 trawick

Add a new directive EnableExceptionHook that must be specified for exception hooks to be called (in addition to the build time requirements). The 2.1-dev feature is now more aligned with the 1.3.30-dev feature, in that there is a build-time requirement as well as a configuration requirement.

483d423c682601584195d2f9d2d84676c13e430e 102670 18-Feb-2004 geoff

fix "Expected </Foo>> but saw </Foo>" errors in nested, argumentless containers.

5317df0c9398c362b856b205fa810dfdbca60671 102643 16-Feb-2004 trawick

mod_isapi: GetServerVariable returned improperly terminated header fields given "ALL_HTTP" or "ALL_RAW". PR: 20656 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick

a8a509c9b67eea07a4a239e7f36c9f3de6022585 102642 16-Feb-2004 trawick

mod_isapi: send_response_header() failed to copy status string's last character. PR: 20619 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick

464f9b8ffadf219501efd5536bb7e7ccdc8c01f9 102641 16-Feb-2004 trawick

mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer size. PR: 20617 Submitted by: Jesse Pelton <jsp pkc.com> Reviewed by: Jeff Trawick

dd9feec012ad7760f0f0dd5c12cdd72aee86d243 102633 11-Feb-2004 bnicholes

Backport of the shared memory caching issues in util_ldap

cbb5a63b9436fd6d32b6679812d17e95764a095d 102604 08-Feb-2004 nd

sync

ea981941b1e5ecfb1a27b9e9aff32b9c98640ed9 102542 07-Feb-2004 nd

done with 2.1. Add missing appendix plus an appropriate CHANGES entry.

432de55307c72b09db614e14e79764ac2e6caa2a 102519 05-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

da152944fea872835df37b7c2141648926c7c22c 102517 05-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

6af3206a1b2ebe14ec93368e71f09258998467b4 102509 05-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

34e4083fa62b3a9cc49b25b1e11691e5094ad084 102501 04-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

c65ea82ddd0e43b6fe808c4b843c5f21eb341dbd 102499 04-Feb-2004 rederpj

Re-sych with 2.0 stable branch after backport.

ced699ca391a4fb7d70cfeb995c58d4bf62f00a8 102495 04-Feb-2004 trawick

FreeBSD: Use the httpready accept filter instead of dataready on newer levels of the OS. Submitted by: Paul Querna <chip force-elite.com> Reviewed by: Jeff Trawick

6cad04219c5f99d71d86b8156520f393b610bb04 102493 03-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

1b6c93a6a669e703316455afdd1c789c2c3fa3a2 102490 03-Feb-2004 rederpj

Re-synch with 2.0 stable branch after backport.

d57b793ddd42a997c2cb3bd389bbcf1161226fd8 102483 02-Feb-2004 trawick

Delete some make-generated files in the server directory during "make clean" processing. PR: 26552

287aac263ade3325f81e8bc00f2f942dbc816b97 102469 30-Jan-2004 geoff

Keep focus of ITERATE and ITERATE2 on the current module when the module chooses to return DECLINE_CMD for the directive. PR: 22299

7a706bb27e442a89a00d736fb5a6cc3ec0713ced 102468 30-Jan-2004 rederpj

Synch with 2.0 branch. Justin beat me to the vote, but I had the time for the backport. :)

f93e3a425ac550079682c6e4d9ecccdb2c9225fd 102466 30-Jan-2004 rederpj

Synch with 2.0 branch. Justin beat me to the vote, but I had the time for the backport. :)

2666c6e15c495cdc39b00c7bd5e3f180407dae9e 102464 30-Jan-2004 jorton

Synch with 2.0 branch.

166ee86bb7bdcf9a89ebccee59c72064ac627dc0 102452 29-Jan-2004 nd

sync

7ddfd45e4d3d13de264931df8eb27ee7619fdb0e 102447 29-Jan-2004 jerenkrantz

Allow mod_auth_digest to work with sub-requests with different methods than the original request. PR: 25040 Submitted by: Josh Dady <jpd@indecisive.com> Reviewed by: Justin Erenkrantz, Sander Striker (concept)

0dd9b0cc0c1dcf7f6c4dba782a0b50f0b69f519d 102445 29-Jan-2004 trawick

sync with stable branch

0c4c708dd860d02dd784da6dc5e7001044185620 102440 29-Jan-2004 stoddard

function ported to 2.0

84e59981d4df2f141ac6153e06fd8371406dd23c 102434 28-Jan-2004 nd

sync

ac15b217b63f0b5d5e3281201997f591e5ad3a24 102429 28-Jan-2004 nd

Fixed file extensions for real media files and removed rpm extension from mime.types. PR: 26079 Submitted by: Allan Sandfeld <kde carewolf.com>

48691c26985721c0d3d386e7880bb65f5c913ad4 102425 28-Jan-2004 trawick

worker MPM: fix stack overlay bug that could cause the parent process to crash.

f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5b 102419 27-Jan-2004 trawick

Unix MPMs: Stop dropping connections when the file descriptor is at least FD_SETSIZE. That isn't a problem for most users (since poll() is widespread). On old boxes where select() must be used by APR, APR needs to fail operations that don't work with such fds.

d11bf78168abbb07d8ed9f54d7ea0953d46aad83 102405 25-Jan-2004 nd

Add core version query function ap_get_server_revision and accompanying ap_version_t structure (minor MMN bump). The function is similar to apr_version() and allow for exact querying of the core revision level.

bf28a00d8218aa76a56eddabca308e8d0e691626 102404 25-Jan-2004 nd

EOLs sent by external rewritemaps are now consumed as whole. That way, on systems with more than one EOL character rewritemap programs no longer need to switch stdout to binary mode. PR: 25635

70f665a8945f3bdfe8bbeaa063de2aa722fc9b29 102401 24-Jan-2004 nd

Introduce the ability to force a content handler via the [handler=...] flag.

c08f5a0cf2b8903255186ba998a4481dfac9c796 102398 24-Jan-2004 nd

Introduce the RewriteCond -x check, which returns true if the pattern is a file with execution permissions.

74eb1698e66149ff6a24e84ff7b3cfa6c4aeadc8 102397 23-Jan-2004 jorton

* modules/ssl/ssl_engine_io.c (ssl_io_filter_output): Use non-blocking bucket reads whilst data remains available; flush when a read returns EAGAIN. Fixes streaming nph- CGI scripts over SSL. PR: 21944 Inspired by: Jeff Trawick

4fa67b2497a22630f91186ee68d0798576a7af3a 102393 23-Jan-2004 nd

sync

36bad494717b66e385a892ce48eb1621f1707584 102355 17-Jan-2004 trawick

mod_log_config: Fix corruption of buffered logs with threaded MPMs. PR: 25520

ea60e56f2148c1b65c6eeac1beef7669e829b9ab 102354 16-Jan-2004 trawick

Build array of allowed methods with proper dimensions, fixing possible memory corruption.

eea521297270de3f9ae70d8822f8665c513de574 102332 14-Jan-2004 nd

allow proxying of directoryindex'd resources

5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1 102327 13-Jan-2004 nd

allow proxying and rules in .htaccess in subrequests PR: 14648, 15114

02b0660d7f44ff8106bd5095653e9c19e39ec37d 102321 13-Jan-2004 nd

allow setting of any valid HTTP response code via R flag. except for redirects this implies [L] and match-only (no substitution). PR: 25917

5b8e35ad88268c0210d93288dad57c2f1d3e8811 102313 13-Jan-2004 nd

weekday and monthnames are locale dependent...

cef53aa8cf0c586c3aa96456e05ae0b786b27441 102311 13-Jan-2004 nd

according to RFC 2965, inspect only the Cookie header (vs. Cookie2) PR: 11475 Submitted by: chrisd pearsoncmg.com (Chris Darroch)

66824302ace699bd4b28b327f8ffb6e3efe86091 102309 13-Jan-2004 nd

don't overwrite other cookies PR: 26002 Submitted by: apache nopdesign.com (Scott Moore)

9fe315e66ef597a158db81bcbd230d7a5d65785d 102306 12-Jan-2004 nd

use the UNSAFE designation for unescaped errorlogs Submitted by: Geoffrey Young, Joe Orton

abe63402318c6324f21b669aa0d1ce6ded8e323e 102304 12-Jan-2004 nd

make REMOTE_PORT available PR: 25772

e698258fd17a7f9d51cb2b35e96f8f0b48ec23c8 102302 12-Jan-2004 nd

allow unescaped errorlogs via compile time switch Submitted by: Geoffrey Young <geoff modperlcookbook.org>

4bf5825d6c53ba24264110d7bf774709b1b2bc78 102298 12-Jan-2004 trawick

sync with 2.0.49-dev

d545dd10d4e60c2ae57205017550cb48311a3ac7 102293 12-Jan-2004 nd

sync

75c180fb45396964ad10af6444077798a470b6a3 102291 12-Jan-2004 jorton

Synch with 2.0 branch.

277e05eebdd1878d86c1edc2538c94c5b42102e4 102280 12-Jan-2004 nd

sync

f06b1de00f96211469a900c08bbe5d63741dadbf 102239 09-Jan-2004 stoddard

mod_proxy hangs when both KeepAlive and ProxyErrorOverride are enabled, and a non-200 response without a body is generated by the backend server. Submitted by: Graham Wiseman, Richard Reiner Reviewed by: Richard Reiner, Bill Stoddard

a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2 102227 08-Jan-2004 jorton

Add support to mod_ssl for a distributed session cache using distcache. * LAYOUT: Update for removal of scache_shmht and addition of scache_dc. * modules/ssl/config.m4: Check for libdistcache; build ssl_scache_dc.lo. * modules/ssl/mod_ssl.dsp: Build ssl_scache_dc (with luck). * modules/ssl/mod_ssl.h: Add SSL_SCMODE_DC and scache_dc_* prototypes. * modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Allow use of dc: argument. * modules/ssl/ssl_scache_dc.c: New file. * modules/ssl/ssl_scache.c (ssl_scache_init, ssl_scache_kill, ssl_scache_store, ssl_scache_retrieve, ssl_scache_remove, ssl_ext_status_hook): Hook into scache_dc. Submitted by: Geoff Thorpe <geoff@geoffthorpe.net>

8d9494af6ddb7a9c998b1b622e0bcd8d17cac50e 102225 08-Jan-2004 jorton

Add some brackets.

3b86be5b30d5cbacc1f942b05dff8a9365449d30 102224 08-Jan-2004 jorton

* modules/dav/main/mod_dav.c (dav_handler): Reject request if the Request-URI includes a fragment part, i.e. an unescaped #. PR: 21779 Submitted by: Amit Athavale <amit_athavale@lycos.com>

1cc35a6e650c0567003fc814e9887d31191756cd 102211 07-Jan-2004 rederpj

Synching with 2.0 branch after backport.

46ef178b8f55b794c65491b370974833ce9e621b 102141 01-Jan-2004 ben

Add forensic logging.

24a4c5e6b1bef738d5eb25cf8201d6515c42c923 102126 27-Dec-2003 trawick

sync with stable branch

fe5303df6dec2c01e27c211277c64743ab631cea 102122 27-Dec-2003 jerenkrantz

Sync with 2.0.49-dev

7ad8e71125ec66a8ebfaf9e52bd680ce6beca327 102086 18-Dec-2003 stoddard

Fix segfault in mod_mem_cache when caching streaming dynamic content. PR: 21285, 21287

b5468eddc0cb1691af19ddc70a6e205daf00a94c 102085 18-Dec-2003 trawick

Add Polish translation of error messages. PR: 25101 Submitted by: Tomasz Kepczynski <tomek jot23.org> Reviewed by: Jeff Trawick

8aad5258d3ecde3751559bc685a3185e63cbde9a 102069 16-Dec-2003 ianh

mod_proxy with ProxyErrorOverride On in a reverse-proxy configuration attaches a body to the 302 response and a wrong Content-Length header. PR: 22951 Submitted by: Ermanno Scaglione <scaglione ..at.. starnetone.de> Reviewed by: Blaise Tarr <blaise.tarr .. at .. cnet.com>

71f3601de4983bc2a6aaffcf37dc1d35c8674a34 102068 15-Dec-2003 coar

Allow retention of header fields on non-200 responses

645462b550a122912993af71d6d5bf36b59ccd2a 102060 14-Dec-2003 nd

sync

b1ec41290ed913e1b9088e0a0191f8a751ee56b1 102052 14-Dec-2003 trawick

sync with stable branch

874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187 102048 13-Dec-2003 trawick

Fix some piped log problems: bogus "piped log program '(null)' failed" messages during restart and problem with the logger respawning again after Apache is stopped. PR: 21648, 24805

52de7a47876ce1748910cf3a0ee97f78842fab54 102038 12-Dec-2003 rederpj

*) Add a hook (insert_error_filter) to allow filters to re-insert themselves during processing of error responses. Enable mod_expires to use the new hook to include Expires headers in valid error responses. This addresses an RFC violation. It fixes PRs 19794, 24884, and 25123. [Paul J. Reder]

398ad83052f1d7ac83465320fc0bf3fef43126f4 102025 11-Dec-2003 stoddard

Win32: Tweak MaxMemFree patch. Allocate ptrans specifying pchild as the parent pool as we did prior to the MaxMemFree patch.

49a82db11388cff9b29ff861b4241bbce69c76fd 102021 10-Dec-2003 trawick

Fix <Limit> and <LimitExcept> parsing to require a closing '>' in the initial container. PR: 25414 Submitted by: Geoffrey Young <geoff apache.org>] Reviewed by: Jeff Trawick

89b9c7a65bba9be805a8581f0b64903906fc883c 102017 10-Dec-2003 trawick

Fix memory leak in handling of request bodies during reverse proxy operations. PR: 24991 Submitted by: Larry Toppi <larry.toppi citrix.com> Reviewed by: Jeff Trawick

69a2f591a7db749c7b5d07c847b94aa55c378521 102016 10-Dec-2003 rederpj

Synching with 2.0 branch after backport.

0f27f7efd99f727b3dc16c7cbe03e8ff477790f4 102011 10-Dec-2003 stas

backported to 2.0.49 PR: Obtained from: Submitted by: Reviewed by:

fa1a54cb6f122f85b7c03fefd5a7360738f82447 102005 10-Dec-2003 stas

update the misconfigured INCLUDES skipping code to remove itself, so it'd complain only once PR: Obtained from: Submitted by: Reviewed by: Jeff Trawick, Bill Rowe

138811b61285d61e9bac17d9fce6fe1092c0dc4a 101999 09-Dec-2003 stas

complain via error_log when mod_include's INCLUDES filter is enabled, but the relevant Options flag allowing the filter to run for the specific resource wasn't set, so that the filter won't silently get skipped. PR: Obtained from: Submitted by: Reviewed by: nd

34460b4bbbc11663429978600a97abfbf38fc38a 101983 04-Dec-2003 trawick

sync with APACHE_2_0_BRANCH

f23c50b3628a8571da2ff3277ae58ef1d675554f 101978 04-Dec-2003 trawick

Clean up httpd -V output: Instead of displaying the MPM source directory, display the MPM name and some MPM properties. Submitted by: Geoffrey Young <geoff apache.org> Reviewed by: Jeff Trawick

c03f87dadc2d062777971ea11995aa428d8f5d25 101959 02-Dec-2003 jwoolley

sunny but frigid today in charlottesville...

32316124ea6961dc3aaa63272844bc2f919c0827 101956 02-Dec-2003 jorton

Synch with 2.0 branch.

5866fd6f9cba06306e84d940fc29973e50001b51 101899 26-Nov-2003 trawick

Add fatal exception hook for use by debug modules. The hook is only available if the --enable-exception-hook configure parm is used. Sample users at http://httpd.apache.org/~trawick/exception_hook.html

ec7f4f32825686dbd6fc4cb9a4aa024b807dae8b 101891 25-Nov-2003 rederpj

Sync with APACHE_2_0_BRANCH.

8dc154408549195c828b823e9dc7396f107f2512 101889 25-Nov-2003 jorton

Extend mod_status output to include SSL session cache status information: * modules/ssl/mod_ssl.c (ssl_hook_pre_config): Call ssl_scache_status_register. * modules/ssl/ssl_scache.c (ssl_scache_status): Removed function. (ssl_ext_status_hook): Renamed from ssl_ext_ms_display: switch to 2.1's mod_status "status_hook" API. (ssl_scache_status_register): Register optional hook. * modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_status): Adjust to use new API. * modules/ssl/ssl_scache_shmcb.c (ssl_scache_shmcb_status): Adjust to use new API.

ca2504b59d48a926af23f6b18af550c1e892d8a6 101888 25-Nov-2003 jorton

Remove shmht session cache in favour of shmcb; shmht has had data corruption bugs since being apr_rmm'ified. * config.m4, mod_ssl.dsp: Don't build ssl_util_table and ssl_scache_shmht. * ssl_util_table.h, ssl_util_table.c, ssl_scache_shmht.c: Removed files. * mod_ssl.h (SSLModConfigRec): Use a void * pointer for storing the scache-specific data. * ssl_engine_config.c (ssl_cmd_SSLSessionCache): Treat shmht: as shmcb:. * ssl_scache.c: Remove shmht hooks throughout. * ssl_scache_shmcb.c: Remove casts to use the table_t * pointer as a void *.

d3f3e8ccbbfbd8d453c1bacf34030f71cae3a422 101879 25-Nov-2003 jorton

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): Determine the library version string at run-time rather than at compile-time. Submitted by: Eric Seidel <eseidel@apple.com> PR: 23956

82acfa3f57607ae78326104c420a317260554a47 101873 24-Nov-2003 nd

SECURITY [CAN-2003-0020]: escape arbitrary data before writing into the errorlog. Reviewed by: Mark J Cox

6208e3643a7f10ae52033ebb7ed4f5c94506769d 101846 22-Nov-2003 rederpj

A better solution than my previous commit as pointed out by Andre Malo. mod_expires: Initialize ExpiresDefault to NULL instead of "" to avoid reporting an Internal Server error if it is used without having been set in the httpd.conf file. PR: 23748, 24459 Submitted: Andre Malo, Liam Quinn <liam htmlhelp.com> Reviewed: Andre Malo, Paul J. Reder

c41285f93f9d382af7fee08bbdf1ff173be0da77 101845 22-Nov-2003 nd

sync

0cfe740585f50bde4b673d169ad36743ff577db9 101839 22-Nov-2003 rederpj

mod_expires: Don't report an Internal Server error if ExpiresDefault is used and has not been set in the httpd.conf file. PR: 23748, 24459 Submitted: Liam Quinn <liam htmlhelp.com> Reviewed: Paul J. Reder

6126fad8adeca94e9813812c691747afeca164df 101832 21-Nov-2003 trawick

Account for some bytes handed to the network layer prior to dropped connections. Such bytes were counted on some paths but not on others. If these bytes are to be counted in some error paths, they should be counted in the others. We don't know if they were actually presented to the client. AFAIK, this only affects mod_logio.

547fb02c28c77b0552d275db0cfd8a119fb2d3f9 101830 21-Nov-2003 trawick

Fix a problem with the display of empty variables ("SetEnv foo") in mod_include. Now it works like 1.3 (see PR for details). Setting of envvars for scripts was/is consistent with 1.3 for empty variables. PR: 24734 Submitted by: Markus Julen <mj zermatt.net> Reviewed by: Jeff Trawick

812be02eda26272b189161e3be099155b195b667 101819 20-Nov-2003 trawick

sync with stable branch

eaee11a4a422f6292588316ba6369e81ef01f848 101817 20-Nov-2003 stoddard

Win32: Make Win32 MPM transaction pools honor MaxMemFree PR: Obtained from: Submitted by: Reviewed by:

7ed5992392d5babab20be4ce4029ad17ae062b5a 101809 20-Nov-2003 ianh

mod_autoindex: new directive IndexStyleSheet PR: Obtained from: Submitted by: Tyler Riddle <triddle_1999 yahoo.com> and Paul Querna <chip force-elite.com> Reviewed by:

452eaf978884ae5c01422f563ec77b8ef17d12b8 101779 13-Nov-2003 trawick

sync with stable branch

36f2369ee230c310fed3b600e9e99cf5770804a3 101763 12-Nov-2003 wrowe

Normalize email addresses for the purpose of deliberate but simple-to-read obscufication.

aee8a2ca9a5fb2f838c994d665695e418ea7262f 101716 07-Nov-2003 trawick

Fix a long delay with CGI requests and keepalive connections on AIX. On AIX, for processes like mod_cgid's script children where SIGCHLD is ignored, kill(pid,0) returns success for up to one second after the script child exits, based on when a daemon runs to clean up unnecessary process table entries. getpgid() can report the proper info (-1/ESRCH) immediately. One user had a page with a lot of embedded images created by CGIs, and the browser fetched them on a keepalive connection, and the cumulative delays were very noticeable by the clients.

b7973a1e572a3ff7cdedb48ed1f9481ece700bf9 101714 07-Nov-2003 trawick

Fix uninitialized gprof directory name in prefork MPM. PR: 24450 Submitted by: Chris Knight <Christopher.D.Knight@nasa.gov> Reviewed by: Jeff Trawick

769fec4a3ee740c172676c243aeb02171d80872e 101706 06-Nov-2003 trawick

mod_auth_ldap: Fix some segfaults in the cache logic. PR: 18756 Submitted by: Matthieu Estrade <apache@moresecurity.org> Reviewed by: Jeff Trawick

0b9c9e9650d1f90baa78e4466fb78c5384a7545b 101693 03-Nov-2003 nd

darn, the patch for bug 9587 (wrong icon for directories shown) broke the directory descriptions more or less completely. Fix it now.

0f09ed17226402fa2b81f83e551b8b6faf95ecab 101687 02-Nov-2003 nd

no longer allow an ETag header in 304 responses. PR: 19355 Submitted by: Geoffrey Young <geoff@apache.org>

99d6d3207e24ba1f8eba77ef903948d738886cf5 101683 02-Nov-2003 nd

- add XHTML doctypes to httpd.h - fix the (x)html output of mod_autoindex to be consistent and make it configurable to emit either HTML or XHTML PR: 23747

6a3b299491bf7f9ba09b943b7238b170111b69cc 101665 02-Nov-2003 nd

fix optimizer to not throw away a regex if it stumbles over it. PR: 24219

e0a43eb64d4defc1b03ecfcdc3db04e3ad411b4a 101661 02-Nov-2003 nd

Don't omit the initial <tr> if SuppressIcon is set. Submitted by: Jesse Tie-Ten-Quee <highos@highos.com> PR: 21668

dc3a3d949b7ef46b8385858c822267e39b665c12 101659 01-Nov-2003 nd

Let mod_autoindex show filenames containing special chars like %. PR: 13598

beeffe96b9eca176aa9120df8c0b7df8c94138ad 101651 01-Nov-2003 trawick

sync with stable branch

de9ac31ae22a1111c3305da66f8a0b289469150f 101648 01-Nov-2003 trawick

sync with stable branch

8980b873c9f3df8105b290d8e0611ae218e44b46 101626 30-Oct-2003 thommay

* modules/generators/mod_info.c: (mod_info_module_cmds) ap_escape_html() all directives and arguments. PR: 24232

7cd5419264796cfeaf8215383cf0f89130a81fec 101614 29-Oct-2003 trawick

mod_status: Report total CPU time accurately when using a threaded MPM. Note: It worked before with linuxthreads and it still does. But now it works with normal thread implementations too. PR: 23795

fb5e196e2ee5aa7c185292c07c73e99bdf1d376a 101570 27-Oct-2003 striker

Forward port from 2.0: SECURITY [CAN-2003-0789]: mod_cgid: Resolve some mishandling of the AF_UNIX socket used to communicate with the cgid daemon and the CGI script. Submitted by: Jeff Trawick

bbe046d7cbb950ab3e372e4119ae001a5fe52ed4 101556 24-Oct-2003 striker

Fold in the CAN-2003-0542 regex patch.

2963f1c4b67ba02ba20c26ec8f0102261c758440 101540 23-Oct-2003 nd

sync

5cc2d5d6cb446d4688466dc6da990bbd517d8969 101534 23-Oct-2003 jorton

* modules/ssl/ssl_engine_vars.c (ssl_var_log_handler_c): Fix segfault on a non-SSL request. PR: 22741 Submitted by: Gary E. Miller <gem@rellim.com>

1397600ab25e11b203e7ced39e509e24b6ff4e68 101517 22-Oct-2003 trawick

Set the scoreboard state to indicate logging prior to running logging hooks so that server-status will show 'L' for hung loggers instead of 'W'.

e65b630463d750b296566135c16a30a551aa8cb4 101464 16-Oct-2003 trawick

sync with APACHE_2_0_BRANCH

8dece352da30658772e7c27a6b062dc41411ae69 101461 16-Oct-2003 nd

fix segfault which occured if the filename was not set, for example, when processing some error conditions. PR: 23836

741e26a23be86c7e457455b09501ee68b1118e1b 101445 14-Oct-2003 stas

backported this change to 2.0: fix the config parser to support <Foo>..</Foo> containers (no arguments in the opening tag) supported by httpd 1.3. Without this change mod_perl 2.0's <Perl> sections are broken. PR: Obtained from: Submitted by: Reviewed by:

8547f51cdad64d5e057601ca829b6c084fb4d387 101415 11-Oct-2003 stas

fix the config parser to support <Foo>..</Foo> containers (no arguments in the opening tag) supported by httpd 1.3. Without this change mod_perl 2.0's <Perl> sections are broken. PR: Obtained from: Submitted by: "Philippe M. Chiasson" <gozer@cpan.org> Reviewed by: stas

b1a4bfe2ea1faafd10cad5051e07503e7596b1f0 101413 11-Oct-2003 fielding

reflect backported change

6562ca01f461db28f8b2ce4626b548627644ce12 101403 10-Oct-2003 nd

do sync.

f2e683bd5d8d756deefb32b962b119579d5c1177 101374 02-Oct-2003 trawick

mod_cgid: fix a hash table corruption problem which could result in the wrong script being cleaned up at the end of a request. Unique storage was not used for the key, as the code assumed incorrectly that apr_hash_set() made a copy of the key. Thus, when the script pid was looked up at the end of the request, some other script's pid could be found.

e41198355d5d81236db1da8892402a4cdd89525d 101359 30-Sep-2003 rederpj

Update as a result of a backport.

99110e8199a4c4b53731e80466aefba5715c342a 101354 30-Sep-2003 martin

Typo

c9ba676991d362e8a4367c44712ff1d962c28531 101353 30-Sep-2003 martin

Typo

d701aa8681316e8735d511d4912eb7b9b492fb68 101352 29-Sep-2003 rederpj

Update to document a completed backport

dac743792d4e2f6824b4a5853d9f6fa98e3acfa7 101343 29-Sep-2003 thommay

Backport done.

34109fa9f1317edbc6bb7d67ff8933850668b797 101333 27-Sep-2003 striker

* CHANGES Update to account for backport.

2657c07d01de3105a1cf72aa3b708f2e9d8b9f08 101331 27-Sep-2003 striker

* CHANGES Update to account for backport.

ac22e37364071bc5160c4c1956fa64577988ce2d 101329 27-Sep-2003 striker

* CHANGES Update to account for backport.

d2ca4f326388fdd19058284043d15ec0b23d0722 101327 27-Sep-2003 striker

* CHANGES Update to account for backport.

5c4e29c5f77fbc967d78886ab378b9500267b0fb 101310 25-Sep-2003 trawick

Log an error when requests for URIs which fail to map to a valid filesystem name are rejected with 403.

65370fac3f195f0c1c32dc711866c91d9a364e79 101306 24-Sep-2003 jwoolley

The problem that this patch solves is one where cookie names are mis-identified by mod_usertrack. This is because of the use of strstr() in spot_cookie() the original mod_usertrack.c to find the name of the cookie. strstr(), by virtue of looking for a substring instead of an exact match, can mis-identify the cookie "MyID" as the cookie "ID" or "My". So, if you were looking for the value of the cookie "ID", but only the cookie "MyID" was returned by the browser, mod_usertrack.c would return the value of the "MyID" cookie in place of the "ID" you were looking for. Even more seriously, because strstr is invoked before the cookie name is separated from its cookie value, a cookie and value like "myCookie=thisisnotIDeal" will be a false positive if you told mod_usertrack the cookie name was ID. Furthermore, using this example, "eal" will get logged as the value of the cookie; now that strstr has incorrectly identified the substring "ID" as the cookie name, the following "e" (assumed to be the "=" sign) gets discarded, and the remaining content used as the value of the cookie. Replacing the strstr() with a more robust regex match fixes this problem. PR: 16661 Submitted by: Manni Wood <manniwood@planet-save.com>

60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7d 101297 19-Sep-2003 trawick

Fix mod_info to use the real config file name, not the default config file name. Submitted by: Aryeh Katz <aryeh@secured-services.com> Reviewed by: G�nter Knauf, Jeff Trawick

acba1dfc9d36dbd7d307769f0f7c74f776d2458b 101267 17-Sep-2003 trawick

REALLY sync with APACHE_2_0_BRANCH

ec7254c302703353d73d8d69d83cdeb0c580c8ce 101253 16-Sep-2003 trawick

sync with APACHE_2_0_BRANCH

ba5e097fd39f0937be37ae32d65e1d3339e07f43 101247 16-Sep-2003 trawick

sync with APACHE_2_0_BRANCH

4c517f7e59d17e86aeb473088d254f24034b4de8 101243 15-Sep-2003 trawick

sync with APACHE_2_0_BRANCH

a50a8fc12e93712557f53418c3b3c53fa459cdf5 101231 12-Sep-2003 rederpj

This fixes the cache code so that responses can be cached if they have an Expires header but no Etag or Last-Modified headers. PR 23130. Submitted by: <bjorn@exoweb.net> Reviewed by: Paul J. Reder

cda7c69f374fb272aaf10ca80c63b0700b61a509 101221 11-Sep-2003 rederpj

Fix a couple of AIX xlc_r compiler issues in the cache code I previously committed. [Paul J. Reder]

f8dd393b2c60c61282a46c51f82fdb9b89cd9afe 101218 11-Sep-2003 rederpj

Modified the cache code to be header-location agnostic. Also fixed a number of other cache code bugs related to PR 15852. Includes a patch submitted by Sushma Rai <rsushma@novell.com>. This fixes mod_mem_cache but not mod_disk_cache yet so I'm not closing the PR since that is what they are using. [Paul J. Reder]

26280128921459eadd3f76a44aee9ba2f7f941c2 101171 05-Sep-2003 trawick

sync with 2.0.48 PR: Obtained from: Submitted by: Reviewed by:

2d3fb2da7b805e54cb537c698c66e3e92fc022aa 101165 05-Sep-2003 trawick

Lower the severity of the "listener thread didn't exit" message to debug, as it is of interest only to developers. PR: 9011

2b534e9b63ce75cf87bbb994bee96479519a152c 101160 05-Sep-2003 trawick

Fix a misleading message from the some of the threaded MPMs when MaxClients has to be lowered due to the setting of ServerLimit.

1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9 101154 03-Sep-2003 trawick

switch to APR 1.0 API (which is still in flux) because of the changes to the argument lists of apr_mmap_dup and apr_socket_create, 2.1-dev won't build with apr and apr-util's 0.9 branch anymore

CHANGES include/util_time.h modules/arch/netware/mod_netware.c modules/arch/win32/mod_isapi.c modules/arch/win32/mod_win32.c modules/cache/mod_file_cache.c modules/dav/fs/lock.c modules/dav/fs/repos.c modules/experimental/mod_mem_cache.c modules/filters/mod_include.c modules/generators/mod_autoindex.c modules/generators/mod_cgi.c modules/generators/mod_cgid.c modules/mappers/mod_negotiation.c modules/mappers/mod_rewrite.c modules/mappers/mod_userdir.c modules/metadata/mod_ident.c modules/proxy/proxy_connect.c modules/proxy/proxy_ftp.c modules/proxy/proxy_http.c modules/proxy/proxy_util.c modules/ssl/ssl_engine_init.c modules/ssl/ssl_scache_dbm.c os/beos/beosd.c os/unix/unixd.c server/config.c server/connection.c server/core.c server/listen.c server/main.c server/mpm/beos/beos.c server/mpm/experimental/perchild/perchild.c server/mpm/mpmt_os2/mpmt_os2.c server/mpm/mpmt_os2/mpmt_os2_child.c server/mpm/netware/mpm_netware.c server/mpm/winnt/mpm_winnt.c server/mpm/winnt/nt_eventlog.c server/mpm/worker/pod.c server/mpm_common.c server/request.c server/util.c server/util_script.c support/ab.c
f326ab45ec25cf93687a273c9db07cb9a5108c16 101141 31-Aug-2003 jerenkrantz

Resolve the ap_get_client_block() showstopper by looking at APR_BRIGADE_LAST of what we get from ap_get_brigade and set a nugget for our next call to pick up on.

e4d36aa1eb0631a1b696c7a70d696f9c869bddcc 101122 28-Aug-2003 jwoolley

Updated the various MPM's to use the new bucket_alloc_create_ex API when necessary. Which is to say that it's necessary in all cases except for prefork, where the change to apr-util to have it use the allocator from the pool passed in is already sufficient. Reviewed by: Jean-Jacques Clar, Sander Striker, Brad Nicholes

922d495b709b0dc09a7d918fdf8874dc23c1aef0 101093 25-Aug-2003 nd

if the tokenizer hits a string which begins with a backslash, this backslash will be skipped and not recognized as an escape character. That way, <!--#if expr="\)"--> or the like won't work correctly. Fix it now.

dd4dfb1a26f821768f4174cf0465fee13556b68e 101086 25-Aug-2003 jerenkrantz

Reflect backported change into 2.0.48.

679cafe33462d8c6bd0a74cc4359e561d19a0aaf 101047 22-Aug-2003 nd

adjust mod_cgi and mod_cgid bump MMN for API change.

6c4c113ce85934b11c9e78399e1bb8ec7a568af9 101036 20-Aug-2003 nd

major overhaul of mod_include's filter parser. Note that the new code contains a thin wrapper to ensure binary compatibility. (needed for 2.0 backport). This is a two-tiered commit for better diffs. This one inserts the new code (old code #if'd out).

81ef3d132c8f335006465f297c42319f8734825d 101028 20-Aug-2003 nd

allow [T=...] forced types to get expanded. PR: 14223

fba8c07e02a9af436c79ada0e2ba891717a9c333 101021 19-Aug-2003 nd

fix %b format to write really "-" if bytes_sent == 0. Submitted by: Kess

d5f7968a109b466b1baa0ecf89c42b11ac799195 101015 19-Aug-2003 nd

Doh. If Accept-Encoding contains no gzip token, we skip the 0 delimiter and search for "gzip" somehwere in the memory. This was originally discovered by Joe Orton. But there's more. We must skip any parameters, since these do not contain what we're looking for. PR: 21523

925932040ee7871b6a2418edc3b4b6f4378bbe2a 101012 19-Aug-2003 nd

Catch an edge case, where strange subsequent RewriteRules could lead to a 400 (Bad Request) response. Example: <Directory /path> RewriteEngine on RewriteBase / RewriteRule foo /bar RewriteRule bar baz </Directory>

73291de2e17c97d3549f2f8aa085ca43d27e108a 101011 19-Aug-2003 nd

Fix LA-U and LA-F lookups in directory context. Previously the current rewrite state was just used as lookup path, which lead to strange and often useless results. Related to PR 8493.

3caed8f01e7d67f3ad5d47cb28bb4e43131652fd 100999 15-Aug-2003 jerenkrantz

Change Listen directive to bind to all addresses returned by apr_sockaddr_info_get when a hostname is not specified.

802e783449595e0cd909a434cbea0810b300bfb2 100982 13-Aug-2003 jwoolley

sigh.

0047c381c3fef21423b6e521c95c0411e18ad45b 100980 13-Aug-2003 stas

spelling fix PR: Obtained from: Submitted by: Reviewed by:

238e707c9022eaa8332a702dd6913dd0d1fb3df8 100978 13-Aug-2003 jerenkrantz

Correct failure with Listen directives on machines with IPv6 enabled by removing find_default_family() and letting APR determine what should be done without a hostname. This patch requires the corollary APR patch to properly call getaddrinfo(). (Justin modified Colm's patch to always walk the old listeners even when we have an address. That part of the patch wasn't really relevant.) Submitted by: Colm MacC�rthaigh <colm@stdlib.net> Reviewed by: Justin Erenkrantz

e127d82e8afc2f885fe2183b68d4a110580d21df 100971 12-Aug-2003 jwoolley

forgot this.

d51d001ccc276436f1d031208a063d94a09296e2 100966 12-Aug-2003 stas

Fix bug in mod_deflate, which was passing calling deflate() without checkinig first whether it has something to deflate. (currently this causes deflate to generate a fatal error according to the zlib spec). PR 22259. PR: Obtained from: Submitted by: Reviewed by:

204da903ce061499ea40d2df4ebb1dc7aa7537c7 100931 07-Aug-2003 nd

split ap_process_resource_config into two functions (since we don't wanna change the api). Only the first one (the ap_ entry point) now checks for fnmatch and the second one will be called for every file/directory included. This, however, avoids infinite recursions, if a filename contains wildcard characters. PR: 22194

5b953b9aeef5b38cae481e062a7b5ac209a6170e 100919 06-Aug-2003 nd

use bucket brigades directly when reading PUT data. This avoids problems with content-length-modifying input filter (like deflate). PR: 22104 Some stuff submitted by: tim@robbins.dropbear.id.au (Tim Robbins)

fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6 100913 06-Aug-2003 nd

hook mimetype-forcing into fixup/LAST. This leads to consistent behaviour (server context vs. directory context), overrides all statically configured mime types and doesn't clobber multiviews any longer.

f2af12bd7c7b0506678b4dc981482d59e49f08d3 100885 01-Aug-2003 nd

sync

9db6f398f1dd5887bd9daf3950ec85e9ed7dfe03 100863 30-Jul-2003 nd

this patch was reverted.

cfe1534c2338b51d67063e71a4275279b5087fce 100846 29-Jul-2003 trawick

ab: Work over non-loopback on Unix again. (Broken as of 2.0.47 due to dependence on an APR bug which was fixed in 2.0.47.) PR: 21495

5c76205ce580dbac0020fbba74bcf211de3923d3 100833 29-Jul-2003 nd

cause a lookup failure in external rewrite maps if the key contains a newline. PR: 14453 Submitted originally by: Cedric Gavage <cedric.gavage@unixtech.be>

8b694367655e92b12723cc0c3abe20ce55fb9662 100819 28-Jul-2003 slive

Install config.nice into the build/ directory to make minor version upgrades easier.

5fb2e8564729922524cd011b11e2d4f5d76f5a8d 100818 28-Jul-2003 nd

allow piped rewrite logs to be relative to serverroot

321f88f4de9d60b5f846555b10f866348b7d598c 100807 28-Jul-2003 jerenkrantz

Sync changes with backported patches.

6830e61f24984184ce3095c204935d06963dcc51 100752 23-Jul-2003 nd

sync

85bf271a2a8d88736575e93504528639f5971f97 100750 23-Jul-2003 nd

sync

921777ee81b0509c2aed209e3974e103c395259a 100730 22-Jul-2003 jerenkrantz

Don't attempt to hold all of the response until we're done. We'll pass data on when the zlib buffer becomes full and we need to reset the buffer anyway. Also, tidy up a similar semantic when we see the EOS by returning an error if ap_pass_brigade gets an error (we'd lose it otherwise).

c985d6c07eca2ce6f72270cefd1b2130efdcb1de 100728 22-Jul-2003 jwoolley

Fixed a trio of mod include bugs. The first two were reported and investigated by Ron Park on dev@httpd in msgid <161E04AB9955D54E826FD86360578554D27087@169.32.17.10.nat.cnet.com>; the third was reported by Kevin Varley in PR 21095. Bug 1: An incorrect parameter to bndm() was causing start sequences that spanned buckets to drop characters. Bug 2: Failed conditional text spanning brigades would cause portions of the text that should have been removed to be present anyway. Bug 3: Dropped characters when the end sequence spanned an 8000-byte boundary with MMAP off. PR: 21095 Submitted by: Ron Park <ronald.park@cnet.com>, Andr� Malo, Cliff Woolley

b7cbb2495d82008f9fa72226b9213d639362feab 100720 21-Jul-2003 jorton

Prevent segfaults after SSL renegotiation failures. * modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Set aborted flag after renegotiation failure. * modules/ssl/ssl_engine_io.c (ssl_filter_write, ssl_io_filter_output): Don't dereference BIOs in filter_ctx when filter_ctx->pssl is NULL. (ssl_filter_io_shutdown): Set aborted flag on abortive shutdown. PR: 21370 Submitted by: Hartmut Keil <Hartmut.Keil@adnovum.ch> Cleaned up by: Jeff Trawick, Joe Orton

07342c358cd73b304b1991e359a3faf720c966ec 100718 21-Jul-2003 nd

reject overlong credentials from the commandline Acked by: Cliff Woolley

13590409a89cdf7e5dc52516919ccee94edad59b 100649 16-Jul-2003 rederpj

Just fixing some improperly formatted entries.

5c457d20a708ef42b0824290d0feda1852a37493 100642 15-Jul-2003 rederpj

Update the header token parsing code to allow LWS between the token word and the ':' seperator. [PR 16520] [submitted: Kris Verbeeck <kris.verbeeck@advalvas.be> and Nicel KM <mnicel@yahoo.com>] [Reviewed: <coad@measurement-factory.com> and Paul J. Reder]

a22d4a5da8c5167776b9e62737379cc9b857ef4d 100638 15-Jul-2003 rederpj

Eliminate creation of a temporary table in ap_get_mime_headers_core() Submitted by: Joe Schaefer <joe+gmane@sunstarsys.com> Reviewed by: Brian Pane Backported by: Paul J. Reder

9556fb65eecaa55b866b413d5e262cd54be88f21 100632 15-Jul-2003 nd

Ignore RewriteRules in .htaccess files if the directory containing the .htaccess file is requested without a trailing slash. PR: 20195

7d851311462dce44df8469009f98ba66d7f7f18e 100628 15-Jul-2003 nd

If a directory contains a file listed in the DirectoryIndex directive, the folder icon is no longer replaced by the icon of that file. PR: 9587 Submitted by: David Shane Holden <dpejesh@yahoo.com>

987c2c2ff2f19f306357f79d3280b347d96c470f 100620 15-Jul-2003 nd

strip trailing spaces of groupnames. PR: 12863

99c475e760470ab8ca3d17da82a2f6158466f918 100615 14-Jul-2003 rederpj

Remove some extraneous code committed as part of the fix for 13946 pointed out by Andre Malo. [Paul J. Reder]

0b0966806a96fd817692a5420908594a0c7f9f89 100605 14-Jul-2003 trawick

mod_ssl: Fix a problem setting variables that represent the client certificate chain. PR: 21371

8eeb24cab1b849bd17726d0a030cd299209f108c 100604 14-Jul-2003 nd

Remember an authenticated user during internal redirects if the redirection target is not access protected and pass it to scripts using the REDIRECT_REMOTE_USER environment variable. PR: 10678, 11602.

7edcfe02796a70f2a5eac12b6766d11067c629a3 100601 14-Jul-2003 rederpj

Ooops, forgot the PR number for my recent mod_rewrite commit (PR #13946)...

c2d16e88f6a997b9174b5596db5e03cee5f46a8b 100600 14-Jul-2003 rederpj

mod_rewrite: fix a problem in the proxy support of mod_rewrite. The broken code was inserting multiple "proxy:" fields in the rewritten URIs. [Submitted by: Eider Oliveira <eider@bol.com.br>] [Updated and reviewed by: Paul J. Reder]

a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24 100598 14-Jul-2003 nd

Propagate the handler name to the action script via the REDIRECT_HANDLER environment variable.

a16ca336064074171bffc3a6da3444243a06b62b 100595 14-Jul-2003 trawick

mod_ext_filter: Set additional environment variables for use by the external filter. PR: 20944 The missing code was identified by Andrew Ho, coded/tested by Jeff Trawick, and verified yet again by Neil Fraser.

f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4 100589 14-Jul-2003 nd

Introduce the "virtual" modifier to the Action directive, which allows the use of handlers for virtual locations. PR: 8431

7de6cb79f71a9007ba2b1e786cbad8b84f05d101 100566 12-Jul-2003 nd

let mod_speling use the current AcceptPathInfo setting. Default is: reject PR: 21059

cde00ab9085ea6e93db4a27bf6fe9a9b6eda4add 100563 12-Jul-2003 nd

sync

03e310ef946842b4dfa718776c870d012fc9ec67 100518 09-Jul-2003 striker

Forward port patch for CAN-2003-0192 from 2.0. SECURITY [CAN-2003-0192]: Fixed a bug whereby certain sequences of per-directory renegotiations and the SSLCipherSuite directive being used to upgrade from a weak ciphersuite to a strong one could result in the weak ciphersuite being used in place of the strong one. [Ben Laurie]

611d2f4e86b4eceb640a5301bd88a23cb459e5a8 100517 09-Jul-2003 striker

Forward port patch for CAN-2003-0253 from 2.0. SECURITY [CAN-2003-0253]: Fixed a bug in prefork MPM causing temporary denial of service when accept() on a rarely accessed port returns certain errors. Reported by Saheed Akhtar <S.Akhtar@talis.com>. [Jeff Trawick]

f59888906d0566361498848fa95b4c416fad976c 100516 09-Jul-2003 striker

Forward port security patch for CAN-2003-0254 from 2.0. SECURITY [CAN-2003-0254]: Fixed a bug in ftp proxy causing denial of service when target host is IPv6 but proxy server can't create IPv6 socket. Fixed by the reporter. [Yoshioka Tsuneo <tsuneo.yoshioka@f-secure.com>]

6a3078c438bee65f22004ac65cd2eb4fa521bbfa 100515 09-Jul-2003 striker

Sync CHANGES entry for VU#379828 with 2.0

862562bece2467ae2e729a270279e07522c654a9 100492 08-Jul-2003 rederpj

Update the header token parsing code to allow LWS between the token word and the ':' seperator. [PR 16520] [submitted: Kris Verbeeck <kris.verbeeck@advalvas.be> and Nicel KM <mnicel@yahoo.com>] [Reviewed: <coad@measurement-factory.com> and Paul J. Reder]

159d95df05b3100bbef7a60cb5f5d7d8d5a3328e 100482 07-Jul-2003 trawick

move the entry for a fix just merged into 2.0.48-dev

59b910556d04c82e951d6c6f7a413ab8fed21467 100480 07-Jul-2003 trawick

move the entry for a fix just merged into 2.0.48-dev

aa9b03a5f32732c0caaef03a7ed78ffb290e29e4 100429 01-Jul-2003 trawick

mod_ext_filter: Add the ability to filter request bodies. Submitted by: Philipp Reisner <philipp.reisner@linbit.com> Reviewed by: Jeff Trawick

26acc990e97a62631a3654405d676b928a78ebbc 100427 01-Jul-2003 striker

Note backport.

29ecc0949b383793b24cdd0741cb86c02138ab36 100425 01-Jul-2003 striker

Note backport.

b4c56dbdfb4923d59f0b33f6118719abc8672ce0 100399 29-Jun-2003 nd

Fix NULL-pointer issue in ab when parsing an incomplete or non-HTTP response. PR: 21085 Submitted by: Glenn Nielsen <glenn@apache.org>

6cc960f79676c01877ecffce659d2dc6a21bfad2 100397 29-Jun-2003 nd

Add FreeBSD directory layout PR: 21100 Submitted by: info@orangexl.com (Sander Holthaus)

a81c9e8561ebd18177a87fecf1226ac654b873f1 100380 27-Jun-2003 rederpj

Correct the code in ap_check_cache_feshness to check max_age, smax_age, and expires correctly. Submitted by: Thomas Castelle <tcastelle@generali.fr> Reviewed and altered by: Paul J. Reder

c97f8ff3a7479c838545de0c59770938b50ab6d3 100362 25-Jun-2003 gstein

Ben's streamy PROPFIND patch has been backported.

d1c46782edbd6bd5ae4592c0174969950c5ca8ae 100343 23-Jun-2003 trawick

mod_cgid: Restart the cgid daemon if it crashes. PR: 19849 Submitted by: Glenn Nielsen <glenn@apache.org> Reviewed by: Jeff Trawick

6fb9d10c529c2be3bb1833b0eefdd27ba4df1610 100338 23-Jun-2003 trawick

update to reflect a merged fix

81b7d6e4d183a6e37ffb053050bbe46ddb3f958f 100320 21-Jun-2003 trawick

mod_cgid: Eliminate a double-close of a socket. This resolves various operational problems in a threaded MPM, since on the second attempt to close the socket, the same descriptor was often already in use by another thread for another purpose.

a3954060338ccebc73071e89ac936d4ec15ab352 100189 07-Jun-2003 trawick

Unix: Handle permissions settings for flock-based mutexes in unixd_set_global|proc_mutex_perms(). Allow the functions to be called for any type of mutex. This resolves a fatal problem with mod_rewrite on systems where APR uses flock-based mutex. It simplifies mod_ssl as well, which had special logic to perform the chown(). It fixed an init error with mod_ssl on systems where flock is used when the user had no SSLMutex directive. The Unix MPMs continue to call unixd_set_global|proc_mutex_perms() only for SysV sems. There is no permission problem with flock-based accept mutexes since the child init logic for the MPMs is done prior to switching identity. PR: 20312

3afe511e52d7091898e7294fe9eb6da61c43cd93 100187 07-Jun-2003 trawick

mod_rewrite: Perform child initialization on the rewrite log lock. This fixes a log corruption issue when flock-based serialization is used (e.g., FreeBSD).

0c8d93ab73ff534c3066192ac75d58ebebeca4c5 100182 06-Jun-2003 trawick

Don't respect the Server header field as set by modules and CGIs. As with 1.3, for proxy requests any such field is from the origin server; otherwise it will have our server info as controlled by the ServerTokens directive.

ab56518227d474ee08f039e4c5540011c1b8a913 100175 05-Jun-2003 trawick

Fix some broken log messages in WinNT MPM. Submitted by: Juan Rivera <Juan.Rivera@citrix.com> Reviewed by: Jeff Trawick

187e63c9eec62a40c4d61cdb06a18a90013435d3 100165 04-Jun-2003 gstein

add Ben's streamy PROPFIND change

a06237883ed0c6e8600dbb1ef71b8a67963192aa 100151 03-Jun-2003 mjc

Be more consistant in how we label security issues Promote the issues that have been allocated a full CVE name (to replace CAN) PR: Obtained from: Submitted by: Reviewed by:

1005ad40d72c4a1df2c0f1b95b770a4c43c49a47 100150 03-Jun-2003 mjc

Apply missing security fix CHANGELOG entries to head PR: Obtained from: Submitted by: Reviewed by:

4e330708371c3e9b04d1043f0a1ac9368bfbd768 100126 01-Jun-2003 coar

Allow ExpiresByType to accept and understand minor-type wildcards (e.g., text/*). They'll be used if an exact type match isn't found; if there's no wildcard match, the expiry falls back to any ExpiresDefault setting as usual. PR: 7991

1ead2314e821e9ac264ea35425e7d0816030e404 100124 01-Jun-2003 stoddard

More mod_expires tuning. Replace the fixup hook with an insert filter hook.

9768955299008e29705461b314b763a79104e576 100101 30-May-2003 nd

sync

0723420d6007137272f4f140ffd17035b17c1563 100086 29-May-2003 nd

- revert my patch (r1.155) since it produces regressions. - add a note to STATUS that we don't forget the thing.

368a950bc36b428b737d079f77e8962c831f88aa 100047 27-May-2003 nd

sync

da5a84048552168ea64c3012573acd4de1434dcd 99989 21-May-2003 jerenkrantz

Updates with backported changes.

19fdbc5566bf67dde644be9e8d38d62db4dd0ba5 99980 21-May-2003 jerenkrantz

Move backported patches to 2.0.46 list.

e874834efe9943668668c7fa498af3b3c7caffbd 99969 21-May-2003 nd

sync, sync (forgot one recently ...)

85a563d6914b7071bee294aa38bfe649c86abb63 99966 21-May-2003 striker

mod_dav providers define a 'can_be_activity' callback. Unfortunately, mod_dav isn't calling it before creating an activity. This is a required precondition (along with the resource not existing), as defined in the deltaV RFC (3253), section 13.5. * mod_dav.c (dav_method_make_activity): if available, call provider's 'can_be_activity' callback as a precondition to making an activity. Submitted by: Ben Collins-Sussman <sussman@apache.org> Reviewed by: Sander Striker

403b4bc2189d10ba09d7fc98568f21d696246ec8 99926 19-May-2003 wsanchez

Play nice with libtool 1.5.

c880637396a01f4acfcf7e35fe423ced2d86c3b4 99911 19-May-2003 nd

Prevent the server from crashing when entering infinite loops. The new LimitInternalRecursion directive configures limits of subsequent internal redirects and nested subrequests, after which the request will be aborted. [William Rowe, Jeff Trawick, Andr� Malo] PR: 19753 (and probably others)

1a91455bef3eb511e026595e75484d59e91ac7d5 99909 18-May-2003 stoddard

mod_expires filter patch has been ported

532a5de31e1a9732da4923f88e4931d0724ebe72 99902 18-May-2003 nd

fix LA-U lookaheads in directory context. I'm wondering if this ever worked ... PR: 8493 (related to)

b617020883fa3b18bc9b5be5e896ceed79a7ff7f 99899 17-May-2003 nd

sync

38873f61704cbe5eadaa3fb9dca84a4bee1ae5d5 99897 17-May-2003 wrowe

Stay in sync

8c0fccc393de9412bec6bb3ac2802e8bac38716d 99880 17-May-2003 nd

Check also for r->content_encoding (now we should have them all...) for already compressed content in mod_deflate. PR: 19913 Submitted by: Tsuyoshi SASAMOTO <nazonazo@super.win.ne.jp>

68a80326bd8b6f717ae0c44d4bb7273023aad1ed 99868 16-May-2003 wrowe

One item off of the plate - on to further patches.

6838d0e05a193cb77265db36e3549201b3df57e6 99866 16-May-2003 wrowe

resync to 2.0.46 - varying whitespace is extremely irritiating when the "Changes to 2.0.{current}" sections aught to be identical.

16e532502af9e7b96019d93aa593d5d2b2bb5f2c 99850 15-May-2003 coar

make ExpiresByType work on dynamic documents

732269e2780cb818c1b48aeffa0b432b0ce4ee5e 99844 15-May-2003 aaron

mod_so can only be built statically. If the user wants modules to be built as DSOs by default (eg. ./configure --enable-mods-shared=most) then we must override the default, otherwise none of the modules will end up being installed (even though they'll get built).

903c124068c87c957f1327de486017a19cccd348 99838 15-May-2003 stoddard

This patch is now in 2.0.46

d21da4e62ecafc781c4d472a0a368f7d8c2f1cc3 99828 14-May-2003 thommay

Add a delete flag to htpasswd.

20aa030accab9a4df293294283fbe6a4ae961588 99821 14-May-2003 trawick

reflect a merge

e08b3783b570fdea39520da5e6c174394e956d17 99812 14-May-2003 nd

sync

16de8ff78c533f06c64d5ab2b685953992ff8659 99796 13-May-2003 thommay

Backport a fix to 2.0

5aef954598e763eea457d204897a6a12d281755d 99793 13-May-2003 trawick

merge back a fix

340e970018246649e86dd3ebbd34f4719e3ceaf7 99790 13-May-2003 trawick

reflect another fix merged to 2.0.46-dev

1360e9b0036040edfbcd2273ae18db83a93536de 99787 13-May-2003 trawick

account for a couple of fixes moved back to 2.0.46-dev

c3f32ea297c5350948a0c4472c1ff8433ea4e6ba 99779 13-May-2003 stoddard

This patch as been merged into 2.0.46

5647769dc9969e353cff0c3b116c2cd9fac1538e 99771 13-May-2003 nd

(grabbed from archive) Check the processed file on validity. If a line is not empty and not a comment, it must contain at least one colon. Otherwise exit with error code 7. Submitted by: Thom May <thom@planetarytramp.net> (on 2002-07-02) Kris Verbeeck <Kris.Verbeeck@ubizen.com> (on 2002-10-22)

264b2c09c3e55b3f60af6d1b7de9194a71da1d41 99767 13-May-2003 nd

language code for Czech is 'cs', not 'cz'. PR: 9427

547ee8ac5582011ae705038b6cca8c339a155b30 99727 06-May-2003 nd

Use generic whitespace character class when parsing "require" directives, instead of literal spaces only. PR: 17135

a98959721afc481c7f3a941f85c462f0b90defda 99720 05-May-2003 thommay

Post change tidy up; wrap CHANGES properly and add ssl-std.conf to .cvsignore

219e31b849ef108cd8f58ba0eedae03414e5edb1 99719 05-May-2003 thommay

Ensure that ssl-std.conf is generated at configure time, and switch to using the expanded config variables to work the same as httpd-std.conf PR: 19611

9edfd91257fab9223dca2489818f9c41b268201a 99704 04-May-2003 nd

Make sure that mod_rewrite's type checker is evaluated before mod_mime. PR: 19626

dbb916b882c33a4e340b0dba7d75506cfdd85640 99690 02-May-2003 trawick

Fix a problem with namespace mappings being dropped in mod_dav_fs; if any property values were set which defined namespaces these came out mangled in the PROPFIND response. PR: 11637 Submitted by: Amit Athavale <amit_athavale@persistent.co.in> Reviewed by: Joe Orton, Jeff Trawick

5a6d8942dbe4020c9a75ed37538a0fa1eb9d6ff8 99680 01-May-2003 thommay

Forward port a fix for a pair of potential buffer overflows in htdigest from 1.3

946f7bd76a0dec6d67af79af56a8cff3cb6ef9c1 99582 24-Apr-2003 nd

keep changes in sync.

a18a308d7a942230edcde1bf00d7ae9b4b143c90 99574 24-Apr-2003 trawick

prefork MPM: Use the right permissions for the directory created for gprof support. Submitted by: Jim Carlson <jcarlson@jnous.com> Reviewed by: Jeff Trawick

fb71c3ea66d68f7be071ec145d5bff7900dad0eb 99572 24-Apr-2003 trawick

By default, use the same CC and CPP with which APR was built. The user can override with CC and CPP environment variables. This applies to out-of-tree APR builds. Prior to this change, if you had multiple compilers on the system and you told APR to use a non-default one, you'd have to remember to tell Apache too. Otherwise, Apache would use the default compiler but use CFLAGS that went with the compiler that APR was built with.

8c038cdb417502a969599568ccc4020576d82a10 99521 22-Apr-2003 nd

move 'em down.

59298797d11f48929ea35fd9cef5a7ab8d3942ba 99517 22-Apr-2003 trawick

Fix ap_construct_url() so that it surrounds IPv6 literal address strings with []. This fixes certain types of redirection. PR: 19207

9176f5c945b7a6eafad180636752d28de5cbc494 99442 18-Apr-2003 trawick

change the way that thread id is specified in the log format since the previous implementation used a format string already taken by mod_logio now, an optional %P format is used instead thanks to Andre' Malo for pointing out that I chose a format string already used by mod_logio!

2dd92c6a9669e0e180f9f2fc9799cf5cf3167534 99439 18-Apr-2003 trawick

mod_log_config: Add the ability to log the id of the thread processing the request (%I).

83938932cb2dbe320eda488799bb7a0c04156bcd 99424 17-Apr-2003 ake

reflect the fact that Windows disable nagle has been backported to 2.0.46-dev

6fbf645df300ffa9c9693399571f2cd821af06fd 99399 17-Apr-2003 trawick

reflect a change merged into 2.0.46-dev

acc3e80f96b099467531887979ace7d8957f807c 99397 17-Apr-2003 trawick

Fix a problem that caused httpd to linked with incorrect flags on some platforms when mod_so was enabled by default, breaking DSOs on AIX. PR: 19012

709cbb7b338843a3f9d7b9b92e8e0c4b1f9b7848 99373 16-Apr-2003 ake

Enable ap_sock_disable_nagle for Windows. This along with the addition of APR_TCP_NODELAY_INHERITED to apr.hw will cause Nagle to be disabled for Windows.

c8ff8621370eb28a3f697a00bf5e6b3bc1a0d9f1 99370 15-Apr-2003 minfrin

If a Date response header was already set in the headers array, this value was ignored in favour of the current time. This meant that Date headers on proxied requests where rewritten when they should not have been. PR: 14376 Obtained from: Submitted by: Reviewed by:

c8989f842c2ad4533950c13d99d3dfb099da0d67 99366 15-Apr-2003 minfrin

Backport to v2.0 PR: Obtained from: Submitted by: Reviewed by:

97610ac677a5eda4a3bb366c5bb34a27eeb4288c 99363 15-Apr-2003 minfrin

Fixed a segfault when multiple ProxyBlock directives were used. PR: 19023 Obtained from: Submitted by: Sami Tikka <sami.tikka@f-secure.com> Reviewed by:

4028d805f3ab215e39bae405d35e001a538bc50e 99346 12-Apr-2003 minfrin

Add code to buildconf that produces an httpd.spec file from httpd.spec.in, using build/get-version.sh from APR. PR: Obtained from: Submitted by: Reviewed by:

6aa783d83f4304f664233d8252cb67116769676e 99332 11-Apr-2003 wrowe

Time for disclosure details If anyone sees credit-where-credit-is-due that I've missed, please add those individuals.

ffd0d55dc34cf4caada15d09018c7d915e5736a3 99260 06-Apr-2003 wrowe

Note the recent SSL-C fixes.

9098f795fab5db41a52b6b82fa475e8f9b3850f0 99212 04-Apr-2003 trawick

clean up a change log entry

9efe68be3c81ee85225972195fb725dbfc2e8b24 99211 04-Apr-2003 trawick

Fix the inability to log errors like exec failure in mod_ext_filter/mod_cgi script children (e.g., exec failure). This was broken after such children stopped inheriting the error log handle. (For this to work with mod_ext_filter, that module's LogStderr option has to be on.)

3b872593fd5f61981d9dd69a4b0b5d5f5f668929 99201 04-Apr-2003 trawick

Fix a compile failure with recent OpenSSL and picky compilers (e.g., OpenSSL 0.9.7a and xlc_r on AIX). The OpenSSL info callback field changed recently from a generic function pointer to a specific one, and ssl_callback_LogTracingState wasn't quite right. old: ssl.h: void (*info_callback)(); new: ssl.h: void (*info_callback)(const SSL *ssl,int type,int val);

761fb8d21084bd7b7eb590fbd54a925dfdf806bb 99200 04-Apr-2003 nd

keep changes and mmns in sync.

db5d27f488a125cd8efa6f2e3822b946b71bf192 99188 03-Apr-2003 trawick

Fix a build problem with passing unsupported --enable-layout args to apr and apr-util. This broke binbuild.sh as well as user-specified layout parameters. PR: 18649 Original concept code submitted by: Justin Erenkrantz Mangled by: Jeff Trawick

d8f54fe5534b61afa68100dddbe2eb98285d1100 99172 02-Apr-2003 wrowe

Resync with 2_0_BRANCH

18f36c8bdc74f9fd18739b9a154852c541b18900 99122 30-Mar-2003 minfrin

Added an RPM build script PR: Obtained from: Joe Orton <jorton@redhat.com> Submitted by: Reviewed by:

f1e73dbab9ba73d83c9ac8a13ab6150653bb71a9 99109 29-Mar-2003 brianp

Simplify and shorten the code path for scanning request headers Reviewed by: Greg Ames, Bill Rowe

9d71a9210ee030534400d37010f34e6a7d72b53f 99101 28-Mar-2003 nd

keep changes in sync ...

5d2959154eb0b63ab0e9ef5fc2c34f296fa7beee 99057 24-Mar-2003 gregames

ap_get_mime_headers_core: allocate space for the trailing null when there are folded headers. PR 18170 [Peter Mayne <PeterMayne@SPAM_SUX.ap.spherion.com>]

81b30d1b974212267ddc27c450abc1453ce56423 99042 22-Mar-2003 nd

Do not bypass output filters when redirecting subrequests internally. PR: 17629

7a01bcd2d59be7ec9ce55701c58054fa1c0bb5b6 99032 20-Mar-2003 wrowe

SECURITY: Eliminated leaks of several file descriptors to child processes, such as CGI scripts. PR: 17206 Submitted by: Christian Kratzer <ck@cksoft.de>, Bjoern A. Zeeb <bz@zabbadoz.net> Reviewed by: Joe Orton, Will Rowe

5d6ffa7b5c77dd4132ed6d7f0dd63548b1c3c1c9 99026 19-Mar-2003 nd

keep changes in sync

fc25339741311efd7d460f18b6287ef38d76bbe6 99008 14-Mar-2003 madhum

OpenSSL should be included as "openssl/ssl.h" and not "ssl.h" (and rely on the INCLUDE path to be defined properly) PR: 11310 Submitted by: Geoff Thrope <geoff@geoffthrope.net> Reviewed by: Madhusudan Mathihalli

9b867bfaea269f387a0cf2aa4c9f38d4d51bac94 99002 13-Mar-2003 rederpj

I did the work, got out the vote, back-ported it, removed the vote, but forgot to move the CHANGES entry... Darn. I've moved it to where it *should* have been. I hope this causes less confusion than having it out of sequence would have...

fcdca175a52fe517f2317ba0e2b6e6d14522b869 99000 13-Mar-2003 madhum

Modify the APACHE_CHECK_SSL_TOOLKIT to detect SSL-C (atleast version 2.1). Submitted by: Madhusudan Mathihalli

92a2439559cf1161742650ed9c50c6483bd029ce 98999 13-Mar-2003 madhum

Replace the APACHE_CHECK_SSL_TOOLKIT method with a cleaner one, using autoconf tools (AC_CHECK_HEADER, AC_CHECK_LIB etc). Submitted by: Geoff Thorpe <geoff@geoffthorpe.net> Reviewed by: Madhu, Justin

144b1e2ebb48b2878017a8ac9a4cad1e771bc1b6 98997 13-Mar-2003 stoddard

Backported this fix to 2.0.45-dev

0d60370bedd05f9632f54e85c417ce472d463674 98994 13-Mar-2003 madhum

Oops. I'd forgotten to update the CHANGES file with the shmht fix. PR: 17864 Submitted by: Andreas Leimbacher <andreasl67@yahoo.de> Reviewed by: Madhusudan Mathihalli

143a04461642dea548a4bebdb302f5e411528a14 98992 12-Mar-2003 trawick

reflect a fix merged to 2.0.45-dev

ebecc16986604cce1369d5075eff65032e3dd0de 98982 11-Mar-2003 ianh

reflect backport of mod_deflate.c r1.31 change directive from compressionlevel to deflatecompressionlevel PR: Obtained from: Submitted by: Ian Holsman, Andre Malo Reviewed by:

7a2b9ea4788ea59d81b9e84192e4b90a9a0da875 98972 11-Mar-2003 wrowe

Move an accepted backport. BTW - what's with the *new* mismatches between CHANGES in 2.0-stable and 2.1-dev under the (2.0.45) section?

764315969cef40e50cdc6a5e9638454e10c1c06e 98964 11-Mar-2003 nd

mod_negotiation: quality values are now parsed independent from the current locale. level values are now really parsed as integers. PR: 17564 Reviewed by: Dirk-Willem van Gulik

d225a894172ec361d2c6791638bacf604a8c6fa4 98953 09-Mar-2003 nd

keep changes in sync.

d470ccf962533e14bd6f7265f18840f1397034ee 98948 08-Mar-2003 nd

Check also err_headers_out for an already set Content-Encoding: gzip header. This prevents gzip compressed content from a CGI script from being compressed once more. PR: 17797

70f28b17978da5478a97843ab7cbcb4baf7a8711 98944 07-Mar-2003 nd

keep changes in sync.

ac539bd6714277d9ce7c39361de4cc11d1fb8ead 98942 07-Mar-2003 nd

keep changes in sync.

f5208b93c14accca0cd5f5acb042332b20172fb1 98940 07-Mar-2003 nd

keep changes in sync...

1125f364c5cb4fd9bff71e89b5d4cbf551590035 98937 07-Mar-2003 bnicholes

Updated to reflect the backport of the auth_LDAP SSL standardization patch

3de8d8649277a02f53aa4f06121420985e8eee08 98912 07-Mar-2003 nd

Minor MMN bump: Forward port: Escape special characters (especially control characters) in mod_log_config to make a clear distinction between client-supplied strings (with special characters) and server-side strings. This was already introduced in version 1.3.25. Obtained from: Patch in 1.3.25-dev by Martin

5a1b2635d907c12269b338cb1f55d71061b17b99 98910 07-Mar-2003 nd

mod_usertrack: don't set the cookie in subrequests. This works around the problem that cookies were set twice during fast internal redirects. PR: 13211

4ac3e76f96ca3a5d0f67ae5cbe637c18f7280458 98908 06-Mar-2003 gregames

Linux 2.4+: enable coredumps when Apache is started as root if CoreDumpDirectory is explicitly coded

9d999c5deeddad9211695fc736a845afda6a2e95 98901 06-Mar-2003 wrowe

Jeff reminds me, document this one (users observed the bug).

deeff91bef9fb20872eb50bdfa5e9b261a9ce4d1 98895 05-Mar-2003 ianh

new directive 'compressionlevel' Default compression level now changed to Zlib's default (was 'best_speed') Obtained from: Stephen Pierzchala <stephen@pierzchala.com> Michael Schroepl <Michael.Schroepl@telekurs.de> Reviewed by: Ian Holsman

bfb54bd96690887dcdf184fd9083c2e167898ce2 98893 05-Mar-2003 nd

Restore the ability of htdigest.exe to create files that contain more than one user. On win32 we cannot system("copy") a file, while it's open. PR: PR 12910

a2c036f0ca71e35c085b4cd9451a6d3718bc65da 98890 04-Mar-2003 ake

Added the WindowsSocketsWorkaroud directive for Windows NT/2000/XP to work around problems with certain VPN and Firewall products that have buggy AcceptEx implementations

fbfb0de5ec8b82ad240074f20184f0cf77b59fb3 98885 02-Mar-2003 nd

Unescape the supplied wildcard pattern. Otherwise the pattern will not always match as desired. In order to be correct and safe, the pattern will be re-escaped for output. PR: 12596

146bd390ef41ad985a39b6dd8519163796a4d585 98883 02-Mar-2003 nd

emit and accept modern query string parameter delimiters (;). Thus column headers no longer contain unescaped ampersands. PR: 10880

624fbbe8f1932a8aeee16e5a2cc33839ce92c24d 98882 02-Mar-2003 nd

buhuh! use the correct target string and don't forget F=x and V=y in column headers ...

b92cba59a0890be43b14aaf1ce30606140be9593 98871 02-Mar-2003 nd

Extend mod_negotiation to evaluate the environment variables no-gzip and gzip-only-text/html the same way as mod_deflate does. (it drops all non-identity encodings, not only gzip)

613d41acb9a6aab66a0e38f1fe0f03c5ca6f3fb5 98863 01-Mar-2003 nd

Prevent endless loops of internal redirects in mod_rewrite by aborting after exceeding a limit of internal redirects. The limit defaults to 10 and can be changed using the RewriteOptions directive with the new MaxRedirects=n argument. (The latter required some restructuring of the RewriteOptions evaluation code). (Documentation patch follows asap) PR: 17462

6d4bfae6836af357a3b9790c0d6a06fdd00f177f 98842 28-Feb-2003 nd

huh, add missing changelog entry ...

402d23baca89e8c4fcb4e52ad8b2d66a6904baae 98840 28-Feb-2003 trawick

mod_rewrite: Fix some problems reporting errors with mapping programs (RewriteMap prg:/something). the wrong field was specified when trying to log the name of the program that couldn't be started recent APR features used to provide better error reporting on systems where apr_proc_create() uses fork()

f19141958ebbfa8feb78e27007b4023d710d1c7e 98822 27-Feb-2003 trawick

account for a fix merged into stable branch

3ac9911bdb9c066a068041218d5b05bc851340bd 98819 27-Feb-2003 trawick

account for a mod_ssl fix merged into stable branch (there never was a CHANGES entry for 2.1-dev... bad Madhu :) )

c5c445b5614e4d5040d3c0994d2456f1ac8cb9b5 98817 27-Feb-2003 jerenkrantz

Reflect some backported patches.

5541a81e194dc99521c0ecf904a940b0b65a93f2 98813 27-Feb-2003 nd

keep the entries consistent.

1d88e44a54427a46d7607cb30dbe5f6c1bf6dbf3 98804 26-Feb-2003 stoddard

Win32: Avoid busy wait which consumes 100% of the CPU when all the worker threads are busy. Submitted by: Igor Nazarenko Reviewed by: Bill Stoddard

60736084c3e45fe7ece48483188e58b0f9e3a36b 98802 26-Feb-2003 wrowe

Brad, Stas, I presume these patches were first committed to 2.1-dev. Please keep the CHANGES logs in sync!

affb82a2d7fc07c1a862d800ef47af966b898768 98796 25-Feb-2003 nd

When using Redirect in directory context, append requested query string if there's no one supplied by configuration. PR: 10961

f803e3d3b51b398d24bcc4647a84e537a40c77d6 98791 25-Feb-2003 nd

It's a quite visible problem, so add a changelog entry.

f16b2c3124a11bff93724342099e1afdb8145917 98788 25-Feb-2003 bnicholes

LDAP stabilization work

d8975b4d22def42e47a6cb65f799c25f62618458 98778 24-Feb-2003 trawick

Keep the subrequest filter in place when a subrequest is redirected. PR: 15423

0c44ed1cffad38b900b39e8c65996b9b9cff061d 98771 23-Feb-2003 jim

Right now SSLMutex is bogus. It just uses APR_LOCK_DEFAULT no matter what. We now allow for the full range of APR mutex locking mechanims to be used, while maintaining backwards compatibility. PR: 8122 Obtained from: Submitted by: Reviewed by: William Rowe

d584e3b7a33da68233e7ac403213b436b402f5be 98764 22-Feb-2003 nd

move backports into the 2.0 section

3e49fe84a5024d831ffb14697747c5948821f958 98749 22-Feb-2003 trawick

account for a fix merged into 2.0.45-dev (mod_dav lock-related)

5469e96f899a0c9b168008212d08f9f456e5c36a 98738 19-Feb-2003 nd

Be more pedantic when cleaning environment. Clean it immediately after startup. PR: 2790, 10449 Submitted by: Jeff Stewart <jws@purdue.edu>

4caa28863a3418d26cc20a998dc368c3de3b7e19 98727 19-Feb-2003 jerenkrantz

Return 413 if chunk-ext-header is too long rather than reading from a truncated line. (Previously, we'd count the unread part of the line towards the chunk.) PR: 15857

07af571d0ef9975db2e79cd01222effd58dbb81e 98726 19-Feb-2003 jerenkrantz

If mod_mime_magic does not know the content-type, do not attempt to guess. PR: 16908 Submitted by: Andrew Gapon <agapon@telcordia.com> Reviewed by: Justin Erenkrantz

9cb15358e362b051ce4d31e2a4b20d0fb1522119 98721 19-Feb-2003 nd

insert LoadModule directives only outside of sections. PR: 9012

65aeb4185d6a108b19c27b89f311dc57dab62239 98707 18-Feb-2003 nd

Hook mod_proxy's fixup before mod_rewrite's fixup, so that by mod_rewrite proxied URLs will not be escaped accidentally by mod_proxy's fixup. PR: 16368

c4955dc69110568b20f1517b8bf113a791bf6496 98699 18-Feb-2003 nd

While processing filters on internal redirects, remember seen EOS buckets also in the request structure of the redirect issuer(s). This prevents filters (such as mod_deflate) to add garbage to the response, because ap_finalize_request_protocol won't send another EOS bucket then. PR: 14451

a3f2646ef3d8a3a5234a5601de0f95f10308c2a6 98693 17-Feb-2003 jerenkrantz

Allow restart of httpd to occur even with syntax errors in the config file. (Out-of-date DSOs with bad MMNs will still be fatal unfortunately.) Add return parameter to ap_process_config_tree - OK on success, !OK on syntax error. We will no longer call exit() from ap_process_config_tree. The caller must exit if there is an error (makes sense anyway). This allows the initial start-up code to delay the exit until trying to let the signal_server optional function execute first. (The chances are that the syntax error isn't in the PidFile directive. If that happens, we'll try the default one. Oh, well.) PR: 16813

a4804918bbbb650c03f1954aa09a8e957589b1cc 98691 17-Feb-2003 jerenkrantz

Rework ap_xml_parse_input to work with bucket brigades rather than doing all of the unneeded copying associated with ap_get_client_block. PR: 16134

2de11b5d55c9ffae11582eda6853c5628fccaad1 98689 17-Feb-2003 jerenkrantz

Fix potential memory leaks in mod_deflate on malformed input data. PR: 16046

9e398d701dd430f073ff5418fb720642e064046a 98685 17-Feb-2003 jerenkrantz

Use APR_LAYOUT instead of APACHE_LAYOUT in configure. (We need a bug fix in this code, so let's merge the macro first.) PR: 15679

1a5b9e0071f0c662036250b482d566ad87ff0b4b 98684 17-Feb-2003 jerenkrantz

Remove files on 'make distclean' that should be. PR: 15592

5610fc134df70e725bcdef518cc93de70261eb1d 98679 16-Feb-2003 nd

move backported change to the appropriate place.

a7ac9b52c3d9f7ce937f078a0d585023db626c55 98674 15-Feb-2003 jerenkrantz

Allow apachectl to perform status with links and elinks as well if lynx is not available.

2a02769ecfdc679118fd38016a78ac32f29c932b 98672 15-Feb-2003 nd

Note the recent segfault fix. (could not connect to *.apache.org after committing the change itself tonight...)

965680cd7c050ec8c8c751ffdbaf19c91213d562 98668 15-Feb-2003 trawick

the fix for 15761 is now in 2.0.45-dev PR: 15761

52d61f96a186861d991583851218e15ea16f0abe 98666 15-Feb-2003 trawick

the fix for PR 12353 is now in 2.0.45-dev PR: 12353

ba6c07204bd224fa5d4cd0e6b8bf256d6daffb74 98659 14-Feb-2003 nd

Extend the SetEnvIf directive to capture subexpressions of the matched value.

d735a001defbd754dac4465f12139d4c3141bff9 98656 14-Feb-2003 bnicholes

Updated mod_ldap to support SSL on the Novell LDAP SDK

db5837bbc9bef214303e755fa52122140366cb6f 98649 14-Feb-2003 ianh

mod_log_config optional hook change PR: Obtained from: Submitted by: Reviewed by:

aac2b82fe4f1ac117e2a0702438d6615542642da 98646 14-Feb-2003 nd

Forward port of mod_actions' ability to handle arbitrary methods with the Script directive.

820be4f3a1a5b0565a072b0bf582d19fb791b68d 98636 13-Feb-2003 nd

drop the guess_domain function. Our docs say about AuthDigestDomain: This directive should always be specified and contain at least the (set of) root URI(s) for this space. Omitting to do so will cause the client to send the Authorization header for every request sent to this server. guessing the parameter is somewhat bogus. guess_domain() also resulted sometimes in relative URIs, non-URI strings or empty strings, which caused a lot of problems. According to the docs, the domain parameter will be omitted now, if not specified. This is exactly, what one would expect.

1d509de8742bc4904aad80d982650393cd5bc1f3 98630 12-Feb-2003 trawick

mod_cgi, mod_cgid, mod_ext_filter: Log errors when scripts cannot be started on Unix because of such problems as bad permissions, bad shebang line, etc. Some minor points: If mod_ext_filter debug is enabled, we go ahead and burn cycles in the parent to try to discover when we won't be able to exec the script. The mod_cgid handler wasn't communicating the right log level to the daemon; that was required to get the child errfn to spit out the right message, and it may fix an existing problem.

e9b061a8c70d03f6b2750502737b23361510a39d 98618 12-Feb-2003 nd

Fix suexec compile error under SUNOS4, where strerror() doesn't exist. PR: 5913, 9977 Submitted by: Jonathan W Miner <Jonathan.W.Miner@lmco.com>

821ccfb63cb6392604cdfe9a5eea6ed1df441783 98610 11-Feb-2003 nd

Do not use local paths for the domain parameter on non-unix systems. PR: 16937

76185d819b745e953dd2cd636fbdd515c333e4a4 98607 10-Feb-2003 trawick

Fix an existing problem with error handling in piped_log_spawn(). Use new APR apr_proc_create() features to prevent Apache from starting on Unix* in most cases where a piped log program can be started, and add log messages for the other situations. *Other platforms already failed Apache initialization if a piped log program couldn't be started. PR: 15761

0a209fcb17b8c9a42a6149a1758e61cf6527d367 98604 10-Feb-2003 nd

looking through old PRs...

a793d402c74e50326a2401cfbdc562c5781948fd 98603 10-Feb-2003 nd

Let suexec send a message to stderr, if it failed or its policy was violated. This message appears in the error log and allows for easier debugging. PR: 10773 Proposed again by: Joshua Slive

4fa5f4378779a06834ec5efa44810f93741c5f27 98598 07-Feb-2003 wrowe

Backported based on Allen and my research (really, not many that could review, and his original post was quite well received.)

0bcc003d275c6b0a9060d43be89762b218cbc2c7 98596 07-Feb-2003 wrowe

*) Introduce debugging symbols for Win32 release builds, both .pdb and .dbg files (older debuggers and Dr. Watson-type utilities on WinNT or Win9x don't support the newer .pdb flavor.) [Allen Edwards, William Rowe]

Apache.dsp CHANGES Makefile.win libhttpd.dsp modules/aaa/mod_auth_basic.dsp modules/aaa/mod_auth_digest.dsp modules/aaa/mod_authn_anon.dsp modules/aaa/mod_authn_dbm.dsp modules/aaa/mod_authn_default.dsp modules/aaa/mod_authn_file.dsp modules/aaa/mod_authz_dbm.dsp modules/aaa/mod_authz_default.dsp modules/aaa/mod_authz_groupfile.dsp modules/aaa/mod_authz_host.dsp modules/aaa/mod_authz_user.dsp modules/arch/win32/mod_isapi.dsp modules/cache/mod_file_cache.dsp modules/dav/fs/mod_dav_fs.dsp modules/dav/main/mod_dav.dsp modules/experimental/mod_auth_ldap.dsp modules/experimental/mod_cache.dsp modules/experimental/mod_charset_lite.dsp modules/experimental/mod_disk_cache.dsp modules/experimental/mod_mem_cache.dsp modules/experimental/util_ldap.dsp modules/filters/mod_deflate.dsp modules/filters/mod_ext_filter.dsp modules/filters/mod_include.dsp modules/generators/mod_asis.dsp modules/generators/mod_autoindex.dsp modules/generators/mod_cgi.dsp modules/generators/mod_info.dsp modules/generators/mod_status.dsp modules/http/mod_mime.dsp modules/loggers/mod_log_config.dsp modules/loggers/mod_logio.dsp modules/mappers/mod_actions.dsp modules/mappers/mod_alias.dsp modules/mappers/mod_dir.dsp modules/mappers/mod_imap.dsp modules/mappers/mod_negotiation.dsp modules/mappers/mod_rewrite.dsp modules/mappers/mod_speling.dsp modules/mappers/mod_userdir.dsp modules/mappers/mod_vhost_alias.dsp modules/metadata/mod_cern_meta.dsp modules/metadata/mod_env.dsp modules/metadata/mod_expires.dsp modules/metadata/mod_headers.dsp modules/metadata/mod_ident.dsp modules/metadata/mod_mime_magic.dsp modules/metadata/mod_setenvif.dsp modules/metadata/mod_unique_id.dsp modules/metadata/mod_usertrack.dsp modules/proxy/mod_proxy.dsp modules/proxy/mod_proxy_connect.dsp modules/proxy/mod_proxy_ftp.dsp modules/proxy/mod_proxy_http.dsp modules/ssl/mod_ssl.dsp os/win32/BaseAddr.ref srclib/pcre/pcre.dsp srclib/pcre/pcreposix.dsp support/ab.dsp support/abs.dsp support/htdbm.dsp support/htdigest.dsp support/htpasswd.dsp support/logresolve.dsp support/rotatelogs.dsp support/win32/ApacheMonitor.dsp support/win32/wintty.dsp
a7f524ebb58a0555a635d701d4f115168bd65157 98576 04-Feb-2003 trawick

Make failing piped loggers work more like apache-1.3 by 1) logging a message 2) trying to restart PR: 15761

1f78f6d87f69c241a3e903a46bae4666d17a8513 98561 01-Feb-2003 trawick

Fix mod_cern_meta to not create empty metafiles when the metafile searched for does not exist. PR: 12353 Submitted by: Owen Rees <owen_rees@hp.com>

74b84dd6e146edc93cf1b3200e411bfc581f7c36 98556 31-Jan-2003 nd

note backported bugfix.

99d360dcbb5ac2be27694be74cc6124dbadf3315 98546 30-Jan-2003 jerenkrantz

Make buildconf work with out-of-tree apr and apr-util by adding --with-apr and --with-apr-util flags. Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz (with minor stylistic nit)

11e365512cbf021726cd3ec3d80743f408170ff9 98545 30-Jan-2003 stoddard

Note a couple of backports

2774f23eee36fdb1b30a8213bbcabe5336175e54 98541 29-Jan-2003 jwoolley

shew! I think this is now noted in all of the right places. ;)

96bf24ef26b5d5855a7ea83713caeca890ba5014 98539 29-Jan-2003 jwoolley

Actually since this fix is only in apr-util and httpd-2.0 still uses HEAD of apr-util, the fix is already incorporated into httpd-2.0. I'll move the CHANGES entry over to there. If it makes you guys feel any better, I'm absolutely certain that the fix is correct, and I'm the one who wrote the bug in the first place. ;)

b6b9e7e2bb289ab8977037156302cea98d220966 98538 29-Jan-2003 jwoolley

Fix a nasty segfault in mmap_bucket_setaside() caused by passing an incompatible pointer type to mmap_bucket_destroy(void*). PR: 16533 Submitted by: Gerard Eviston <geviston@bigpond.net.au> Reviewed by: Cliff Woolley

3ded62d7f2c9b12616d718b8c97d3044baa9ecdb 98536 29-Jan-2003 jerenkrantz

Allow mod_dav to do weak entity comparison function rather than a strong entity comparison function. (i.e. it will optionally strip the W/ prefix.) PR: 14921 (kinda, but not really)

1944ddbbad413b60307d66081b022a3eee5f04cf 98535 29-Jan-2003 bnicholes

Enabled the -n parameter on NetWare to allow the administrator to rename the console screen

5a8f3bcf803321e69b226d3b98314305a68a586c 98524 29-Jan-2003 jerenkrantz

Fix If header parsing when a non-mod_dav lock token is passed to it. We'll now just skip over it rather than aborting. PR: 16452

3b1dc8f8f153d7167da9e64ab44f3e90f486a458 98523 28-Jan-2003 wrowe

Note the change to default apr behavior for the moment. With much luck and a little feedback on dev@apr, perhaps this can be working by the .45 release.

08ab23ee4e41ac8587da5a3bb8d4e9c49523b0b8 98516 28-Jan-2003 nd

Fix "Satisfy Any" logic. The access_checker has nothing to do with auth_type. Related PR: 9076

2404b81d39a1a539f980d4808d52d23997a9e006 98514 28-Jan-2003 nd

move entry to the current 2.0 section below, because backported

031acbd88cdb9051f474a38ef67ca403cb7039b3 98512 28-Jan-2003 nd

Introduce "prefer-language" environment variable, which allows to influence the negotiation process on request basis to prefer a certain language, e.g.: SetEnvIf Request_URI ^/manual/foo/ prefer-language=foo

ebf6c41faad84ab037fff4f04ec987463457ef2a 98510 27-Jan-2003 coar

doh, forgot to add it here

a3754e9d2edd5758f94fd743b9cf9f814be80383 98497 25-Jan-2003 nd

be consistent... (sorry, forgot to put it into the changes before)

f9a987f71572291f35b9d0adc3fe79af96b2b147 98486 24-Jan-2003 trawick

reflect that a couple of fixes introduced in 2.1-dev were merged back to 2.0.45-dev

d1d878e60364529be4fd84d86b72c47d9fe39538 98469 23-Jan-2003 trawick

apxs: Include any special APR ld flags when linking the DSO. This resolves problems on AIX when building a DSO with apxs+gcc.

03ed98f7f258fd6b5205c97c656f94d4db39b79a 98463 23-Jan-2003 jwoolley

Fix a problem whereby multiple MMapFile directives would cause a segfault on startup. mod_file_cache keeps a hash table in the cmd->pool and puts an entry in that hash table for each of its files and mmaps, all of which are opened into cmd->pool. But it registered a cleanup on cmd->pool that would walk the hash table and close each file and delete each mmap, even though by the time that happened those things would have been done already anyway by the files' and mmaps' own cleanups on cmd->pool. So it was deleting mmaps that were already cleaned up and closing files that were already cleaned up in all cases. This has never been valid... amazed it ever worked. But apparently the true bogosity wasn't revealed until the new mmap cleanup code went into APR. PR: 16313

5c870e08d589a24283cd76a9d596120605762cbb 98426 21-Jan-2003 minfrin

This has been backported to v2.0 PR: 8677 Obtained from: Submitted by: Reviewed by:

90dec821b9ec8d8529df8d61dc7fa3a2c2a2b9d9 98424 21-Jan-2003 minfrin

This has been backported to v2.0 PR: 8677 Obtained from: Submitted by: Reviewed by:

47d4dfaca60aff6d3c7e591bf593b3961cafcdef 98420 21-Jan-2003 minfrin

Ensure LDAP version is set to v3 on every bind. PR: 14235 Obtained from: Submitted by: Sergey A. Lipnevich <sergeyli@pisem.net> Reviewed by: Graham Leggett

c206205e2475a7a4a192eaa7190a9894f01f0631 98416 21-Jan-2003 minfrin

Fix mod_ldap to open an existing shared memory file should one already exist. PR: 12757 Obtained from: Submitted by: Scooter Morris <scooter@gene.com> Reviewed by: Graham Leggett

304aee4b1ff85cc876570493e4ed334d42b4d9ef 98408 21-Jan-2003 trawick

move a couple of entries from the 2.1 section to the 2.0.45 section, since the code was subsequently merged into the stable branch

77582a85f880a10e8e225ecd5b303446d23d1c9a 98400 21-Jan-2003 trawick

account for a mod_ext_filter fix which was just merged into the stable 2.0 branch get other 2.0.45 change entries back down in the 2.0.44 section since they were included in 2.0.44

ab8c0315521735c73ce16c8072f91e17c406ca5b 98322 18-Jan-2003 nd

change the changes ;-) note mod_ident.

7f124220a03771db40bfb8b81211e5871508d42d 98309 17-Jan-2003 trawick

Fix the ulimit command used by apachectl on Tru64. PR: 13609 Submitted by: Joseph Senulis <Joseph.Senulis@dnr.state.wi.us>, Jeff Trawick]

e5a3c1c027157771640158cb7dbc87e9552bf1c2 98308 17-Jan-2003 trawick

mention the apachectl ulimit fix for AIX

b9e99e0d3154bbebe3e1b8d11d6c15bde79510a5 98284 15-Jan-2003 nd

note mod_authz_owner

6e128d9c91437b22850d19fc166a6165e3c4831c 98258 13-Jan-2003 trawick

mod_ext_filter: Fix a problem building argument lists which occasionally caused exec to fail. The argument array passed to apr_proc_create() needs to have a NULL entry at the end. PR: 15491

5a42079659ea008632642edc7fe18f9517cfea2a 98221 09-Jan-2003 minfrin

Add PR to the comment PR: Obtained from: Submitted by: Reviewed by:

f49cf8ce86a01c90d5d843fc27e19d2802dd0f77 98181 06-Jan-2003 wrowe

Bring forward the IndexOptions IgnoreCase option to mod_autoindex from Apache 1.3 for both 2.0 and 2.1 (since the patch/feature was previously accepted for 1.3, I'm committing without the usual vote specific to 2.0.) Only small modification of David's patch to avoid future reformatting of the options list and better handle the strnatcmp side effects. PR: 14276 Obtained from: Submitted by: David Shane Holden <dpejesh@yahoo.com> Reviewed by:

ea5f8cfbb7ef1d19318f6994c26dd73c38ffd8dd 98161 05-Jan-2003 jerenkrantz

Add a generic locking provider to DAV - mod_dav_lock. Other DAV providers can use the dav_hooks_locks_generic structure to implement locking in a non-optimal, but compliant fashion. (Use 'dav-lock', 'generic', '0' to ap_lookup_provider to retrieve it.) Use the DavGenericLockDB directive to configure the location of the lock database (may be server-relative or absolute). This allows all DAV providers to use a baseline locking API rather than roll their own. This code is based mainly off the mod_dav_fs locking code (which uses the on-disk storage for locking), but removing components that aren't needed in a non-file-backed repository (such as recording inodes).

4567cfc6a65328bd3e8dd2b758ca926b389c7058 98159 03-Jan-2003 brianp

Replace most of the mutex locking in the worker MPM's "queue info" object with atomic compare-and-swap loops.

3068cf5757c8bdbea77e8f6805686aa0b0241a17 98150 01-Jan-2003 nd

add change.

111b2312c9749936ebca4f273db445820a0a703e 98137 01-Jan-2003 brianp

move mod_mime fix from 2.1.0 to 2.0.45

396aeca634b86a3ab34d5bdb9c32cbce73c72421 98134 01-Jan-2003 jerenkrantz

Use saner default config values for suexec. OtherBill and Brad have confirmed that including ap_config_layout.h isn't a problem on non-Unix platforms as they don't use suexec. PR: 15713 Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz

4cdc5446050c19b9d519a273a129188586e8d445 98035 19-Dec-2002 jerenkrantz

Allow dependencies to be generated by something other than GCC. This allows Sun's cpp to generate valid .deps dependencies. (This is a similar patch as applied to APR.)

98545bfcdf6b9ad9f293cdc0743bb831d785a2f7 98007 18-Dec-2002 stoddard

Rename CacheMaxStreamingBuffer to MCacheMaxStreamingBuffer. Move implementation of MCacheMaxStreamingBuffer from mod_cache to mod_mem_cache. MCacheMaxStreamingBuffer now defaults to the lesser of 100,000 bytes or MCacheMaxCacheObjectSize. This should eliminate the need for explicitly coding MCacheMaxStreamingBuffer in most configurations. [Bill Stoddard]

44380fc1701cbb8b0a977d5a1497f0c6ee912e0b 97995 17-Dec-2002 fielding

I must be getting old.

e0b93afc77decfbc0aab461b08ee224a0af89af2 97970 17-Dec-2002 rederpj

mod_cache: Fix PR 15113, a core dump in cache_in_filter when a redirect occurs. The code was passing a format string and integer to apr_pstrcat. Changed to apr_psprintf. [Paul J. Reder]

1966f0dad6e4a2632c6c58216996c5a05afa3d2e 97924 15-Dec-2002 brianp

don't segfault in mod_mime's find_ct() if we get there without having set r->filename

f5610d5460e701dd3f3514395867a6b5241fda81 97911 14-Dec-2002 bnicholes

mod_auth_ldap patch

ad877cddc14be8c8171938ba61338c6c7b896bbd 97895 12-Dec-2002 trawick

Reflect that this fix was merged into Apache 2.0: *) Reorder the definitions for mod_ldap and mod_auth_ldap within config.m4 to make sure the parent mod_ldap is defined first. This ensures that mod_ldap comes before mod_auth_ldap in the httpd.conf file, which is necessary for mod_auth_ldap to load. PR 14256 [Graham Leggett]

367cefc17f8dcfe65651c9c16cb3151589c6cece 97858 11-Dec-2002 trawick

make CHANGES reflect that the fix for PR 13914 was merged into 2.0

c30ef289fe64ac7fedc44cfcc6b439f0f8458b4c 97824 09-Dec-2002 gregames

core_output_filter: re-instate the deferred_write pool patch so we don't 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

2f408250e9111c4b85b2b4b9b8836e83987efdef 97820 09-Dec-2002 stoddard

If an httpd.conf has commented out AddModule directives, apxs -i -a will add an un-commented AddModule directive for the new module, which breaks the config. PR: 11212 Obtained from: Submitted by: Joe Orton Reviewed by: Bill Stoddard, Thom May

47fe07199bddec6124ab7251c6be5c6c9ac00485 97812 09-Dec-2002 jerenkrantz

Rewrite how proxy sends its request to allow input bodies to morph the request bodies. Previously, if an input filter changed the request body, the original C-L would be sent which would be incorrect. Due to HTTP compliance, we must either send the body T-E: chunked or include a C-L for the request body. Connection: Close is not an option.

c1bf42dc465137de1fdb8f3d9d1c3e4d2db5c003 97777 05-Dec-2002 brianp

mod_proxy: Don't remove the Content-Length from responses

6646a289c2d4778c8cd43d62b5a1cc966a356f85 97765 03-Dec-2002 jerenkrantz

Move the check of the Expect request header field after the hook for ap_post_read_request, since that is the only opportunity for modules to handle Expect extensions. Obtained from: apache-1.3

52435ceaabd1670b2c3a062acc191159a64fb7a1 97759 03-Dec-2002 wrowe

Backports accomplished ... please keep in sync

4845b59509a1f4ceb826eceeaef868eb3fa4e686 97756 03-Dec-2002 trawick

zap a change log entry for a fix that is now in APACHE_2_0_BRANCH

e199d79647c689a85951f19b08a08082263f4df8 97706 30-Nov-2002 brianp

update to include mod_setenvif fix

ad451e2e428a069086d1c18c9e3372f8846ec617 97701 30-Nov-2002 wrowe

For your consideration; the following CHANGES entries do not occur in the APACHE_2_0_BRANCH CHANGES file. If you already committed them, please reflect in both CHANGES files. If you would like to commit them, please do so, and then reflect the patches under Apache 2.0.44.

fafe2d6f6a6468a1f71034cfc5fb96353000198f 97696 30-Nov-2002 jerenkrantz

Per Greg's request, add a version string component to the ap_provider.h functions. This allows modules to register different versions of the same provider.

aec70520ebe1e33e0d5e83c3626649d2a41dbe68 97695 30-Nov-2002 wrowe

Reflect that AAA overhaul is deferrred.

876fb256e5d78c519defce4e5b66f53f45232b18 97678 29-Nov-2002 wsanchez

*** empty log message ***

d5b7ba26785d7494166d48876362ba30ff30b98a 97651 25-Nov-2002 wrowe

Changes committed - and set aside a placeholder for 2.1 patches.

4905e59892eac216645d178e0a0e827224619c96 97601 22-Nov-2002 trawick

Fix the building of cgi command lines when the query string contains '='. PR: 13914 Submitted by: Ville Skytt� <ville.skytta@iki.fi> (mod_cgi) Jeff Trawick (mod_cgid)

2dda60557ba8af00ab16c237949cb4007c10cf4b 97600 22-Nov-2002 minfrin

Replace APU_HAS_LDAPSSL_CLIENT_INIT with APU_HAS_LDAP_NETSCAPE_SSL as set by apr-util in util_ldap.c. This should allow mod_ldap to work with the Netscape/Mozilla LDAP library. PR: Obtained from: Submitted by: Reviewed by:

518e0506b40156d6007888e1557d53e8fa2ff1b6 97599 22-Nov-2002 trawick

A PR was open for the ldap fix Graham just committed. PR: 14256

01e0bc090a8f6c254df5863d6ed282348b50c0fc 97598 22-Nov-2002 minfrin

All hail the conflict. PR: Obtained from: Submitted by: Reviewed by:

dd8ac5470937fc397c63beb3583f7379f807005a 97597 22-Nov-2002 minfrin

Grrr... CHANGES file didn't commit :( PR: Obtained from: Submitted by: Reviewed by:

6bdf767f10f67548501103ae10cc159dcfb2c19f 97595 22-Nov-2002 trawick

Fix critical bug in new --enable-v4-mapped configure option 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

1e1e5c477f92840ffbcb8acd0003305022e5468a 97590 22-Nov-2002 trawick

mod_autoindex: AddDescription directives for directories now work as in Apache 1.3, where no trailing '/' is specified on the directory name. Previously, the trailing '/' *had* to be specified, which was incompatible with Apache 1.3. PR: 7990

c998c5be82bf2b41f8fc27de9376ba10651c74bc 97589 21-Nov-2002 rederpj

Fix for PR 14556. The expiry calculations in mod_cache were trying to perform "now + ((date - lastmod) * factor)" where date == lastmod resulting in "now + 0". The code now follows the else path (using the default expiration) if date is equal to lastmod. [rx@armstrike.com (Sergey), Paul J. Reder]

58eb8d7cca552570577aa8b636349a695ff193da 97565 18-Nov-2002 trawick

Use AP_DECLARE in the debug versions of ap_strXXX in case the 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

ecf435f0c6379df7ed83285d5597fc9aa39c6f6d 97542 17-Nov-2002 brianp

When storing the response headers in mod_cache, omit Transfer-Encoding and any other hop-by-hop headers that shouldn't be applied when the response is later delivered from cache: http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=103727389213072 Diagnosed by: Estrade Matthieu <estrade-m@ifrance.com>

480f2a1b2fb27a8284e66e60a5bbaee6bc1ccb04 97530 15-Nov-2002 trawick

mod_cgid: Handle environment variables containing newlines. Communication between handler and daemon used newlines to delimit environment variables, which threw everything off when an environment variable contained a newline. Communication between handler and daemon was extensively reworked. Environment variables were handled as in the patch submitted by Piotr Czejkowski. PR: 14550 Submitted by: Piotr Czejkowski <apache@czarny.eu.org>, Jeff Trawick

acc9093ae1f3c97acc635bd5b2c7c0969da21183 97527 14-Nov-2002 trawick

Move mod_ext_filter out of experimental and into filters. See Attic in experimental directory for previous change history.

2fa5f4c38890220c6ea439317e7dcb9e8b3c76f7 97526 14-Nov-2002 jwoolley

Fix a memory leak in mod_deflate with dynamic content. Because the brigade was being destroyed (ie, cleanup unregistered) rather than just emptied out and then reused anyway, the last call down the filter stack would leak buckets. PR: 14321 Submitted by: Ken Franken <kfranken@decisionmark.com> Reviewed by: Jeff Trawick, Cliff Woolley

95d00ea81131488769296fa5765ed745cbf45207 97516 14-Nov-2002 trawick

Add --[enable|disable]-v4-mapped configure option to control 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

f08574f1098defdf1dc7e7f18a1e3664ee157150 97510 14-Nov-2002 rederpj

This fixes a problem where the underlying cache code indicated that there was one more element on the cache than there actually was. This happened since element 0 exists but is not used. This code allocates the correct number of useable elements and reports the number of actually used elements. The previous code only allowed MCacheMaxObjectCount-1 objects to be stored in the cache. [Paul J. Reder]

84854ca5d35fb9f101da948858097c88457eece8 97494 12-Nov-2002 coar

Add a SERVER_ADDR keyword to match the CGI environment variable, to allow conditional setting according to the IP address on which the server received the request.

30990c446eca5b0d16d42171a6b30da9456ff6b4 97489 12-Nov-2002 trawick

mod_cgid: Terminate CGI scripts when the client connection drops. This is done by mod_cgid daemon remembering the pid, which is queried by the handler at the end of the request. The handler then knocks out the CGI script (if it is indeed still running). It would be slightly easier for the daemon to do this, but naughty scripts which are hard to kill would hold up all new CGI requests if the daemon stopped its normal processing to kill a script. PR: 8388

0fd9de72e2a1be5a6134ee70703324be80d816b7 97482 11-Nov-2002 trawick

Rearrange OpenSSL engine initialization to support RAND redirection on crypto accelerator. Submitted by: Frederic DONNAT <frederic.donnat@zencod.com> Reviewed by: Jeff Trawick

f36d2c405b5a9bcc22c67577995560e7d1b616c0 97474 10-Nov-2002 aaron

Fix Andre's name, he said it's ok to remove the accent.

2213cc395cb461faf7bfeb187ebb61d97cd457ef 97473 10-Nov-2002 jerenkrantz

Always emit Vary header if mod_deflate is involved in the request. Submitted by: Andr��Malo <nd@perlig.de> Reviewed by: Justin Erenkrantz

854c7bc4128fa2ad9fdfe0fc307d5ef30bcb5bb9 97469 09-Nov-2002 wrowe

Note progress. Lots of helpers out there emailing their feedback, which is great.

75f8e1cae5ca3a16a7400cdddf604815ab06b5a8 97466 08-Nov-2002 rederpj

Improves the user friendliness of the CacheRoot processing over my last pass. This version avoids the pool allocations but doesn't avoid all of the runtime checks. It no longer terminates during post-config processing. An error is logged once per worker, indicating that the CacheRoot needs to be set. [Paul J. Reder]

2221ad59a355f17a27727dd12cfa14fdae87975a 97462 08-Nov-2002 gregames

use a subpool of c->pool for resources which are set aside, then clear it after writing the data to the network. This closes files sooner with keepalive connections.

7f481efe04fdc4da7a447c14be62c155cbe00ddb 97455 08-Nov-2002 brianp

When doing a GET of a proxied URL as a subrequest within a POSTed request, don't send the original POST's Content-Length as part of the header for the GET.

9ed34e5219ab3506ccfd2ca58751ce4c81b263a8 97450 08-Nov-2002 rederpj

Added code to process min and max file size directives and to init the expirychk flag in mod_disk_cache. Added a clarifying comment to cache_util. [Paul J. Reder]

23b36269d124e7a6aaa5221891f7ae2ef3eeb158 97416 06-Nov-2002 jerenkrantz

The value emitted by ServerSignature now mimics the Server HTTP header as controlled by ServerTokens. Submitted by: Francis Daly <deva@daoine.org> Reviewed by: Justin Erenkrantz

d401ff3af66624a7023460054519070a025d31cf 97367 01-Nov-2002 wrowe

Completely refactor the BIO-side client input handling for the SSL library. Should eliminate many false spurious interrupt detected errors.

e65b56dc229f063425fac589002e34c8246ad878 97364 31-Oct-2002 trawick

Terminate CGI scripts when the client connection drops. This fix only applies to some normal paths in mod_cgi. mod_cgid is still busted. A prereq for this fix is the change to content-length filter to notice c->aborted: http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/protoc ol.c.diff?r1=1.119&r2=1.120&diff_format=h PR: 8388

306bd64cf6568149964abdf8ca748a617ed98500 97359 30-Oct-2002 gregames

document a byterange filter fix

ae3d212043d50288748fe9fdf0aa1a3e8f2ff3a6 97344 29-Oct-2002 wrowe

Fix memory leak in mod_ssl from internal SSL library allocations within SSL_get_peer_certificate and X509_get_pubkey. Submitted by: Zvi Har'El <rl@math.technion.ac.il> Reviewed by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

766c20b0366e1d0e359e0d9a834669e19a4db3d9 97307 25-Oct-2002 trawick

mod_ssl uses free() inappropriately in several places, to free memory which has been previously allocated inside OpenSSL. Such memory should be freed with OPENSSL_free(), not with free(). Submitted by: Nadav Har'El <nyh@math.technion.ac.il>, Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: Jeff Trawick

2a6e98ba4ffa30ded5d8831664c5cb2a170a56b6 97302 25-Oct-2002 coar

more info is better than less..

9a11fa4e07f50f2e5750d078ef3751ddbf441b8f 97301 25-Oct-2002 trawick

Fix streaming output from an nph- CGI script. CGI:IRC now works. core output filter needs to detect when no more data is available from a pipe for a while so that it can flush what is already there normally, content-length filter handles this but for nph- script we don't have content-length filter in place PR: 8482

1f279dc92a60df9f61bf58468162aab0eef072e4 97300 25-Oct-2002 brianp

mod_logio modification: count bytes-sent after the writev or sendfile call in the core_output_filter, in order to get a more accurate count of the total bytes transmitted in cases where the client terminates the connection before the entire response is sent. Note: This works by adding a flush bucket to each response when mod_logio is used; the side-effect is that pipelined responses get broken up into separate network writes per request (but there's no impact on pipelining when mod_logio is not enabled). Submitted by: Bojan Smojver <bojan@rexursive.com> Reviewed by: Brian Pane

2fd0edbd8b2f47a8458322bedd3b82f825faf336 97299 25-Oct-2002 trawick

fix some problems in the perchild MPM apr_socket_t ptr filled in by apr_os_sock_put() needs to be NULL on entry to have a new structure allocated various iov problems were fixed Submitted by: Jonas Eriksson <jonas@webkonsulterna.com> Reviewed by: Jeff Trawick

39021cf8b495cdb94013ca73531ccb32658fb793 97290 24-Oct-2002 rederpj

Change the CacheRoot processing to check for a required value at config time. This saves a lot of wasted processing if the mod_disk_cache module is loaded but no CacheRoot was provided. This fix also adds code to log an error and avoid useless pallocs and procesing when the computed cache file name cannot be opened. This also updates the docs accordingly. [Paul J. Reder]

b5fe023e1cf0aa3d15a3bf2e237891e837980fea 97238 16-Oct-2002 stoddard

New and improved...

fa16f10bc02e46bc5a6c2c2c6371926cd1dbe2ed 97220 15-Oct-2002 wrowe

Been busy

db8ac7cbb1fa6cdd6abcc4bb797d4deed32dd269 97202 14-Oct-2002 jim

Haven't heard any vetoes regarding this, so might as well fold it in. Not too happy about cluttering up the list of directives either. But, at least, it allows 2.0 to proxy stupid IIS as much as 1.3. Docs to come soon. PR: Obtained from: Submitted by: Reviewed by:

8d755accbdc5ae15bb0d00169b815d264c7de745 97157 09-Oct-2002 minfrin

Update README.ldap file for Windows build instructions. PR: Obtained from: Submitted by: Andre Schild <A.Schild@aarboard.ch> Reviewed by:

7b979864a91b52ecebca11d0a9a22e09349e59ba 97156 09-Oct-2002 minfrin

Change the LDAP modules to export their symbols correctly during a Windows build. Add dsp files for Windows. PR: Obtained from: Submitted by: Andre Schild <A.Schild@aarboard.ch> Reviewed by:

7b0a3bcc0e689305df49f7d4da7abc35aa891862 97122 07-Oct-2002 brianp

Simpler, faster code for generating HTTP response headers: Instead of passing a callback function to apr_table_do() to generate one field at a time, just build an iovec containing all the fields and make a single call to apr_brigade_writev().

1bae4591a85d90325ecdacedf7e54d1bbfe31037 97121 07-Oct-2002 aaron

Mention Thom's port of -S to 2.0

a6f48cc01ab8f5377e570c61826dcdfc36741936 97106 04-Oct-2002 trawick

Fix a bug with dbm rewrite maps which caused the wrong value to be used when the key was not found in the dbm. apr_dbm_fetch() returns APR_SUCCESS as long as there was no I/O error. mod_rewrite needed to look further to see if the key was actually found. PR 13204

dddbde8480d265d06c84f2281f01e00f8ef52e94 97095 04-Oct-2002 mjc

This is worthy of a CVE name, thanks to Joe for the headsup and text PR: Obtained from: Joe Orton Submitted by: Reviewed by:

2da345202997f8f5860c801d68f7913c02fc05fc 97087 03-Oct-2002 trawick

Fix a problem with streaming script output and mod_cgid. We have to tell APR that the socket can be treated as a pipe so that the apr_file_t is initialized properly.

5bd562b1d7da51cb5715899d32bb4c79c54459b0 97073 03-Oct-2002 wrowe

They are still here, they didn't make it into 2.0.43 however

a1df78ff2c07720a7a98fb82ab8bf634c8e896d1 97071 03-Oct-2002 wrowe

On to the 2.0.43 candidate

99a041314eb3db0b0cca325c9c40d0a6c5fdf04f 97064 02-Oct-2002 wrowe

*) SECURITY: [CAN-2002-0840] HTML-escape the address produced by ap_server_signature() against this cross-site scripting vulnerability exposed by the directive 'UseCanonicalName Off'. Also HTML-escape the SERVER_NAME environment variable for CGI and SSI requests. It's safe to escape as only the '<', '>', and '&' characters are affected, which won't appear in a valid hostname. Reported by Matthew Murphy <mattmurphy@kc.rr.com>. [Brian Pane]

6e119e632566d69798ce6cf4e714ed374b72914f 97058 02-Oct-2002 rederpj

Fix a core dump in mod_cache when it attemtped to store uncopyable buckets. This happened, for instance, when a file to be cached contained SSI tags to execute a CGI script (passed as a pipe bucket). [Paul J. Reder]

bd120542ebe7e09cdbada5daf4924f4690e5ece3 97054 02-Oct-2002 trawick

Ensure that output already available is flushed to the network when the content-length filter realizes that no new output will be available for a while. This helps some streaming CGIs as well as some other dynamically-generated content.

68d439bc0482b2e41053480f748edc2574c2ea7b 97048 01-Oct-2002 trawick

Fix a mutex problem in mod_ssl session cache support which could lead to an infinite loop. PR: 12705 Diagnosis submitted by: amund.elstad@ergo.no (Amund Elstad) Coded by: Jeff Trawick

a5ca705e053a6c754c5958aafcd6f0aa60a2e67f 97016 30-Sep-2002 rbb

Allow CGI scripts that use POST and mod_dav to exist in the same location. Mod_Dav was always setting the r->handler field to "dav_handler", but this means that mod_cgi won't run the script. According to my reading of the DAV RFC, mod_dav shouldn't do anything at all with a POST request, because it is impossible to know if the POST was meant for DAV or for some other resource. We used to excuse POST from DAV processing, so I have re-enabled that behavior. PR: 13025

e06675c51d084791089d79c3ac18aeae8dd465fc 97001 28-Sep-2002 rbb

Allow the UserDir directive to accept a list of directories. This matches what Apache 1.3 does. Also add documentation for this feature. PR: 9299 Submitted by: Jay Ball <jay@veggiespam.com>

481c1206b6065a8f37ab75ca1fc26c947cb37852 97000 28-Sep-2002 ianh

New Module -- mod_logio. This adds the ability to log the bytes sent and received for each request Submitted by: Bojan Smojver <bojan@rexursive.com> Reviewed by: Justin & Ian

a964f7434f5c7f512a5fa0d0178260ccb74c84be 96994 28-Sep-2002 rbb

SuExec should use /usr/local/apache2 not /usr/local/apache as the default directory. PR: 8789, 13104 Submitted by: SangBeom han <sbhan@os.korea.ac.kr>

6a7877447bcb8e6ff848d72f82f184c404ef4c0b 96988 27-Sep-2002 minfrin

Get mod_auth_ldap to retry connections on LDAP_SERVER_DOWN PR: Obtained from: Submitted by: Thomas Bennett <thomas.bennett@eds.com> Reviewed by: Graham Leggett

9335cbd541cca1ca6038af329bbd1645310aabcc 96982 26-Sep-2002 minfrin

Make sure the contents of the WWW-Authenticate header is passed on a 4xx error by proxy. Previously all headers were dropped, resulting in the browser being unable to authenticate. PR: Obtained from: Submitted by: Dr Richard Reiner <rreiner@fscinternet.com>, Richard Danielli <rdanielli@fscinternet.com>, Graham Wiseman <gwiseman@fscinternet.com>, David Henderson <dhenderson@fscinternet.com> Reviewed by: Graham Leggett

e156db58351d1c040bc72430f3eb072cb6ae7107 96972 25-Sep-2002 brianp

Fix the per-server config merge function in mod_cache to properly inherit CacheMaxStreamingBuffer PR: Obtained from: Matthieu Estrade <estrade-m@ifrance.com> Reviewed by: Brian Pane

e9f8410b788ef1e6f1baed6c706ffdf3da395a16 96919 20-Sep-2002 jerenkrantz

Add ap_register_provider and ap_lookup_provider functions which resolve the DSO link problems for DAV and the new aaa modules by moving the provider code into the core of the server and generalizing them to be used by any code. Remove the auth{nz}_*_provider functions as they are no longer needed. Change the dav_*_provider functions to wrap the ap_*_provider functions as they have a bit more of a historical precedent that we should keep around. Reviewed by: John K. Sterling <john@sterls.com> (in concept)

1c06e98017400874d5ff6ad79f13145ec4589225 96909 19-Sep-2002 striker

Update after the tag (and roll).

6a94da925498a20a09fde0a66002607be8d83b1a 96907 19-Sep-2002 striker

Prepare for the tag.

75161f3b2029c25bdb3f8ab87b85cb1810c479ea 96900 19-Sep-2002 jerenkrantz

Add -p option to apxs to allow unbundled modules (such as mod_mbox) to compile and link helper programs that use apr/apr-util.

4c9d27bfdfea41b388dc705f7cc2b49318ab5344 96857 17-Sep-2002 jim

The protocol version (eg: HTTP/1.1) in the request line parsing is now case insensitive. Before, 'http/1.1' would silently be forced to HTTP/1.0 PR: Obtained from: Submitted by: Reviewed by:

eb1349e4ab58bd2935f7054a1bfc5c86ab5a5fa3 96855 17-Sep-2002 striker

Update after the tag.

7639aa8b39e0d9dbd096f9cc3379bcd3d5e4003b 96848 17-Sep-2002 striker

We aren't at 2.0.42 yet.

e8e8ab3cbc3d90f15eb78e094c381a6e908fd6ef 96819 15-Sep-2002 jerenkrantz

Allow AddOutputFilterByType to take in multiple filters.

f4c472b8dce3c2e559232dbb5b27ed2466922ea4 96818 15-Sep-2002 jerenkrantz

Remove warnings seen with Sun's Forte compiler.

0e2c91564133110955b3715f67dbc5b74af5f715 96817 15-Sep-2002 jerenkrantz

Revert r1.57 and r1.58 per Will Rowe's veto. (I intend to add this back in if/when mod_authn_file can support the {algo} password semantics, but we can't do a release with this code in place.)

8dc5aa056a586ffa920a6ecd5c31048702371ea6 96803 14-Sep-2002 brianp

Remove the setting of the status line from the cache in mod_disk_cache, because this was causing 200s to be sent on responses that were really 304s Submitted by: Kris Verbeeck <Kris.Verbeeck@ubizen.com> Reviewed by: Brian Pane

7e31ef4870c7ef94838585004405e8854fefcc51 96776 12-Sep-2002 ianh

Add support for using fnmatch patterns in the final path segment of an Include statement (eg.. include /foo/bar/*.conf). and remove the noise on stderr during config dir processing. Submitted by: Joe Orton <jorton@redhat.com> Reviewed by: Ian Holsman, Brian Pane

bd496a3a7752a55c849e62ed00cacc492d4f6d3e 96773 12-Sep-2002 rederpj

mod_cache: cache_storage.c. Add the hostname and any request args to the key generated for caching. This provides a unique key for each virtual host and for each request with unique args. [Paul J. Reder, args code provided by Kris Verbeeck]

a8c401eadf77822e851f19c7740e7ec6dca03daa 96772 12-Sep-2002 stoddard

Do not cache responses to GET requests with query URLs if the origin server does not explicitly provide an Expires header on the response (RFC 2616 Section 13.9) Submitted by: Kris Verbeeck <krisv@be.ubizen.com> Reviewed by: Bill Stoddard

791781f2ccc1f1f1bc1b1643861d3da23edfd147 96752 10-Sep-2002 jerenkrantz

Fix memory leak in core_output_filter. This would result in at least two EOS buckets being leaked per connection.

6ea181aa4d2df28354404a17247288afa6621398 96737 10-Sep-2002 jerenkrantz

Add ability to htpasswd (via -5) to produce non-obfuscated MD5 hashes. mod_auth_digest's passwords can not be obfuscated by the APR magic sequence (as we don't call apr_password_validate on them), therefore we need a tool to produce true MD5 hex hashes.

b4a287513d176e4355dd56ea47b27228e0e5d75f 96728 10-Sep-2002 jerenkrantz

Stage #1 of the aaa rewrite - refactoring modules. All modules are reorganized under the following scheme: - mod_auth_*: Front-end (basic, digest) - mod_authn_*: Authentication (anon, dbm, default, file) - mod_authz_*: Authorization (dbm, default, groupfile, host, user) This passes the httpd-test suite when it accounts for the renaming of aaa modules. Originally written by: Dirk-Willem van Gulik Completed by: Justin Erenkrantz

2ffa5829cad36f12b0a1fc3481592e85bc210a5b 96726 09-Sep-2002 jerenkrantz

Update OpenSSL detection to work on Darwin. Submitted by: Sander Temme <sctemme@covalent.net> Reviewed by: Dirk, Justin

30a5ee06ae5f7f67a83d6852871f654ae3e14aad 96684 06-Sep-2002 slive

Gernot contributed the original design mock-up. Note that this is not supposed to be a comprehensive list. Lots of people helped out. I just want to give a little credit.

02e8590d904653a95eca31bdf8e60866642bb592 96664 06-Sep-2002 slive

Lots of people contributed to this new style, but Andr� was primarily responsible for the design and implementation, so he deserves some credit.

a97c4ce2bea3dbf8ddc82c796cf93aa6b46765a4 96662 06-Sep-2002 brianp

Fixed some bucket memory leaks in ap_http_filter() Submitted by: Joe Schaefer <joe+apache@sunstarsys.com>

b7838ae85a698af19d90ba4ebe03e10bdc149eac 96644 05-Sep-2002 jerenkrantz

Add ModMimeUsePathInfo directive. This directive allows mod_mime to lookup extension information for content served via Location blocks so that content-type, filters, etc can be applied to non-file content. (I wouldn't be shocked if we end up changing the directive name.)

435d2db95b905b0d16d35410e18ff77dc39688aa 96631 04-Sep-2002 brianp

Added optional support for caching streamed responses in mod_cache. Notes: * I've created a new config directive CacheMaxStreamingBuffer, to set the maximum amount of data that mod_cache will buffer per request if it hasn't yet seen an EOS. The default is zero, which preserves the original behavior: cache only if the response has a known content-length or all the content is available in the first brigade passed to the CACHE_IN filter. * A big block of code in cache_in_filter() got wrapped in an if-statement in this change. To make the diff more readable, I'm committing without indentation changes; a second commit will include (only) the indentation update.

1a7728c0205d607d5d87c6b6bf1b8837a9785a99 96623 03-Sep-2002 ianh

switch x-icon to httpd.conf instead of mime.types

a574815e2c6db68b9d8139db89921ededf033dec 96621 03-Sep-2002 ianh

add image/x-icon to mime.types PR: 10993 Submitted by: Peter Bieringer <pb@bieringer.de>

964f539e766a3301b3e2f767baeffddcf9f6092b 96609 01-Sep-2002 jerenkrantz

Fix FileETag None directive. - Fix segfault on strlen computation on the empty string in vlv case - If the etag is "", don't set the ETag header to be "" - leave the header NULL instead. Andrew's patch would change ap_meets_condition to accept "", but Justin thinks it would be better just to sidestep it all together and not set ETag when it would be "". PR: 12207 Submitted by: Andrew Ho <andrew@tellme.com>

5e538c6ced13aa2f7c358e1a44f651d31dd5fab8 96608 01-Sep-2002 brianp

Document the updates to leader/followers MPM

61202a45487668abad788c02e339f626176e645f 96588 30-Aug-2002 ianh

deflate's filter removal was reversed for non-html files, resulting in it never being applied for non-html files Submitted by: Kris Verbeeck <Kris.Verbeeck@ubizen.com>

02c49e1f35a4d1a171df2d319e76af0c5163dc4d 96586 30-Aug-2002 martin

Leon Brocard writes: > Hello, > > I love httpd2 and I really like apachebench but using the gnuplot > output option (-g) gave me this: > > starttime seconds ctime dtime ttime wait > Thu Aug 29 12:29:31 200 1030620571362758 0 54 54 0 > > It's truncating the year. Now according to > http://apr.apache.org/docs/apr/group__APR__Time.html#a15 "Unlike > ANSI/ISO C ctime(), apr_ctime() does not include a \n", so the code > and comment in ab.c are wrong, hence my attached patch to remove them. Submitted by: Leon Brocard <acme@astray.com>

6deb8bcfb8511ac38243a8274fc589842841b398 96581 30-Aug-2002 ianh

new option 'path' to the cookie PR: 12172 Submitted by: apachecvslog@robcromwell.com (Rob Cromwell)

49bbbd1939208be54a3eb00b95e61d90d180a606 96577 30-Aug-2002 ianh

set expiry time correctly. set Cookie on err_headers_out, and ensure it is only set once. PR: 12132 Submitted by: apachecvslog@robcromwell.com (Rob Cromwell)

93d7153aa172665f55b04463b831ad556269c3ef 96557 28-Aug-2002 brianp

Changed the content-length filter to allow streaming delivery of content to clients With this new code, the C-L filter will compute a content-length if there's an EOS in the first brigade passed to it. For normal static file requests, the response header will still include a C-L. If there's no EOS in the first brigade passed to the C-L filter, the filter will give up on setting the C-L header, in favor of passing the data on to the next filter in a timely manner.

bc6600a6207e5d15b895294e370e4e3320a803d8 96556 28-Aug-2002 stoddard

Win32: Lower the default stack size from 1MB to 256KB. This will allow a child process to start about 4 times as many threads (~8000 from ~2000)

4e21f1a207aefa9796dc758bf7274b0f1fea780f 96555 28-Aug-2002 stoddard

Win32: Add ThreadLimit directive to the windows MPM

5c214a63f9722864ac4983995da11353779515db 96548 27-Aug-2002 rederpj

Remove CacheOn config directive since it is set but never checked. No sense wasting cycles on unused code. Besides, the only truly bug free code is deleted code. :) [Paul J. Reder]

9f20717d827f2113a23dfa45539813171cf626ea 96538 27-Aug-2002 ianh

introduce 2 new callback oppurtunities to allow a 3rd party module to do the actual writing of the log file. also change buffered writing to make it runtime configurable instead of compile time configurable. i'm not 100% on the buffered output, mainly because I'm not sure it worked in a thread safe way *before* this change

a0db2f093595083300ad3438314f90921405ccf9 96534 26-Aug-2002 wrowe

The documentation says: ISAPIReadAheadBuffer defaults to 49152 bytes, which is exactly 48 kb. But the module actually uses a default of 48192 bytes. This seems to be a typo. Instead of changing the documentation I attached a patch for mod_isapi.c to set the default value of ISAPIReadAheadBuffer to 49152. Submitted by: Astrid Ke�ler <kess@kess-net.de>

c66798efb2184ecf904cd8471acd17e65688b1ca 96532 26-Aug-2002 ianh

Fix a segfault in mod_cache when url isn't passed Submitted by: Kris Verbeeck <Kris.Verbeeck@ubizen.com>

fb59f85aab19883025f619727948b8088232cc4b 96523 24-Aug-2002 rederpj

Fix a null pointer dereference in the merge_env_dir_configs function of the mod_env module. PR 11791 [Paul J. Reder]

1a1cf0ee9229ee29e5750b25dd94dbb9b04072cf 96500 23-Aug-2002 ianh

new option to ServerTokens. "Maj[or]" which displays a server response similar to Apache/2.0 Also surfaced the directive in the standard config, defaulting to FULL

0bbb249eafe9ef9508821f0ef58e7440625ecd62 96493 23-Aug-2002 trawick

add the ability to specify the dbm type (e.g., gdbm, ndbm) for dbm rewrite maps use dbm:filename for the default type use dbm=TYPE:filename for a non-default type

61afed048a4d67ed923d52e5c865c0f10a8e9e73 96478 21-Aug-2002 trawick

Change mod_rewrite to use apr-util's dbm support for dbm rewrite maps. For now, the SDBM dbm flavor is always used. It won't be compatible with dbm rewrite maps built for Apache 1.3 until apr-util supports ndbm and mod_rewrite is changed to prefer ndbm over the built-in sdbm. PR: 10644

7a23067e782dd5612d4d4b539906e1733b664df7 96475 21-Aug-2002 jwoolley

Fix a problem whereby RewriteMap prg:'s would get out of sync due to the inappropriate use of nonblocking reads. Also get rid of the stderr altogether since mod_rewrite never uses it. PR: 9534

6032a7c97a25c52f4bdd78ce23f2010e52c9e81a 96472 21-Aug-2002 rederpj

Submitted by: Paul J. Reder Reviewed by: Jeff Trawick Fixes required to get quoted and escaped command args working in mod_ext_filter. There are also fixes in APR that were submitted via a patch to apr_cpystrn.c PR 11793

ba2e14e474516f1c75a96b4f6d1a9dec332175ef 96469 21-Aug-2002 ianh

fix the case when a server doesn't send a response string Submitted by: Brett Hutley <brett@hutley.net> J.D. Silvester <jsilves@uwo.ca>

f0791c5bdfd36969d292a4092df076aa6d1c34cc 96456 20-Aug-2002 wrowe

Fix bug reported as PR 11854.

749011213737e8d0cd6ca78d5eb532ec6f6b9fdf 96449 19-Aug-2002 ianh

Make module loading error messages more informative Bug #11213 Obtained from: Ian Darwin <ian779@darwinsys.com> Reviewed by: Ian Holsman

ec69fc6e323eb1f3112966e06e9e37be608d052c 96439 18-Aug-2002 ianh

PR: Obtained from: Submitted by: Alexey Panchenko alexey@liwest.ru Reviewed by:

e7bf4d6f15d04e86e20002e65f60d7fbf80e5974 96433 18-Aug-2002 stoddard

Update changes

de42d3dfd83a4cc62f0dd6b79ee5cbcfa69fd503 96431 18-Aug-2002 brianp

Zero-copy output for small files delivered over keepalive connections (previously, the setaside code in the core output filter would copy file buckets <8KB into the heap, resulting in poor keepalive performance)

8ab933f1df663f95c27e2ce5772127d4f3a10e0b 96333 09-Aug-2002 striker

Bump after the tag.

39dde7f4cd79d701cc14e5beac8ea528bc58d038 96327 09-Aug-2002 wrowe

Security rollup for 2.0.40 release. Tag and roll baby.

268ac122b1fd6fa948b30bdf0d8c0d80e75d68da 96324 09-Aug-2002 wrowe

Notations for win32/iconv, and fix a typo

6ba861fd6c705eaeb1f9bb97df86ddea6895e263 96320 08-Aug-2002 minfrin

Fix proxy so that it is possible to access ftp: URLs via a proxy chain. PR: Obtained from: Submitted by: Peter Van Biesen <peter.vanbiesen@vlafo.be> Reviewed by: Graham Leggett <minfrin@apache.org>

b78ed256f4b99e72836d36fd68d4e7a26dbe032c 96318 07-Aug-2002 ianh

mod-deflate now checks to make sure gzip-only-text-html is set to 1, not anything. This will allow things like... SetEnv gzip-only-text/html 1 BrowserMatch "GECKO" gzip-only-text/html=0 Obtained from: Andr� Schild <A.Schild@aarboard.ch> Reviewed by: Ian Holsman

e7ec1c54206901c9369e40f471b71836c78e017d 96315 06-Aug-2002 wrowe

Wasn't the only one with the essential idea, co-credit where credit is due.

698670444b30b79e808155739f98c39bec35f72a 96314 06-Aug-2002 wrowe

This was never a 'vulnerability'... the APR_FILEPATH_SECUREROOT flag passed to apr_filepath_merge refused to merge any rooted 'addpath'. However, that isn't the traditional 1.3 behavior, so fly past any leading '/'s on the way to merging the uri to the DocumentRoot. PR: 10946

57bea0f0559e31536af3b7b5859d3681ee29a34c 96313 06-Aug-2002 wrowe

worth noting

94e2b2d12fa269af16fa63a6270d3336d9f126f2 96283 02-Aug-2002 trawick

mod_ext_filter: Add the ability to enable or disable a filter via an environment variable. Add the ability to register a filter of type other than AP_FTYPE_RESOURCE.

35313c8d7368125c3e95d3118238d2be9a613000 96258 31-Jul-2002 trawick

Restore the ability to specify host names on Listen directives. We needed to compare on the value we pass to apr_sockaddr_info_get(), not the IP address string. Sometimes this is an IP address string and sometimes it is a host name. Otherwise, on the second pass through this code we won't find the existing listen_rec for a Listen directive which had a host name, and we'll create a new listen_rec and try to bind again to the same addr/port. PR: 11030 Helped immensely by: David Shane Holden <dpejesh@yahoo.com>, who debugged it and submitted a patch which showed the problem; a much simpler change was committed though

55da18d54a0ba74dc51aecba5b0daf71a2ed10a7 96237 30-Jul-2002 trawick

When deciding on the default address family for listening sockets, make sure we can actually bind to an AF_INET6 socket before deciding that we should default to AF_INET6. This fixes a startup problem on certain levels of OpenUNIX. PR: 10235

4b0939148fffde56f0b7db2a43cab1d1dc76ab3f 96236 30-Jul-2002 mjc

Add in missing CVE name; make SECURITY entries more consistant PR: Obtained from: Submitted by: Reviewed by:

c51f2b89da23e3371959a74808dee1792d96f5c1 96179 24-Jul-2002 wsanchez

Replace atol() calls which should return long long with apr_atoll() calls. Submitted by: Shantonu Sen <ssen@apple.com>

fbd0c3dbae333ba4a7225dad2d090419ad894e4c 96126 19-Jul-2002 trawick

spell check

79c9b0ac498d97336874edba0daf9f544ad14671 96115 18-Jul-2002 trawick

mod_ext_filter: Ignore any content-type parameters when checking if the response should be filtered. Previously, "intype=text/html" wouldn't match something like "text/html;charset=8859_1".

5a7d934619b2be92e18be5dd3366f4ac6ddeab43 96111 18-Jul-2002 trawick

mod_ext_filter: Set up environment variables for external programs. Submitted by: Craig Sebenik <craig@netapp.com> Reviewed by: Jeff Trawick

5a70e5b66eb7758d0e64e070211f699fc83fca70 96104 17-Jul-2002 wrowe

Solve C-L post body reads from the HTTP_IN by ap_get_brigade() so that we know -immediately- that we've read the last of the data. This patch adds an EOS bucket to the brigade if ctx->remaining has been consumed. Reviewed by: Justin Erenkrantz

84eeb0ab12215fc22577a9a0a9589cea2a445712 96100 17-Jul-2002 trawick

Get proxy ftp to work over IPv6. Submitted by: Shoichi Sakane <sakane@kame.net> Reviewed and modified slightly by: Jeff Trawick

1d3fbd2d9f03c0826977d940a2081401edf522d4 96084 16-Jul-2002 jerenkrantz

Look for OpenSSL libraries in /usr/lib64. Submitted by: Peter Poeml <poeml@suse.de> Reviewed by: Justin Erenkrantz

b5cc0253789825ace46944dc9cde744be08dd77f 96083 16-Jul-2002 jerenkrantz

Update SuSE layout. Submitted by: Peter Poeml <poeml@suse.de> Reviewed by: Justin Erenkrantz

e4bb84f3c11f282d3ba66f64940b1b8e13f85e7a 96067 15-Jul-2002 slive

I hope I got everybody this time.

ba2bab42e97405dc41c0f8fe3416f7f9a79ed7a9 96053 15-Jul-2002 brianp

Increase the per-process file descriptor limit in apachectl for the benefit of people running multithreaded MPMs or lots of vhosts

756b54396a86db555817bb52149d91b60d00e35f 96038 13-Jul-2002 wrowe

Final tweak and CREDITs ... switch the order to simplify things, and pull out the old dependency on ApacheMonitorVersion.rc

2ea6fd87538b48235666b11f74a23c5b804a7a85 96023 12-Jul-2002 wrowe

While this fixed the bug, no resources were build for ApacheMonitor, so the application couldn't start.

b4251d1fbef86f96e01c68f8de086e0dbb8bcb74 96003 10-Jul-2002 trawick

mod_ext_filter: don't segfault if content-type is not set. PR: 10617 Submitted by: Arthur P. Smith <apsmith@aps.org> Reviewed/modified by: Jeff Trawick

6b6e7742b880bd64182fb516e30dedf8181c89c4 95970 08-Jul-2002 rbb

VC6 is unable to deal with dependencies that are still due to be made. This moves around the order of compilation around so that the error goes away. PR: 10130 Submitted by: James Cox [imajes@php.net]

24efed0910118b762a4eb84830875d4714b8d315 95966 06-Jul-2002 ianh

Renames Pending: This clears the list of renames pending in apr-util. Parts of this list was alreadu done, but the pending list hadn't been updated. apr_hook_debug_current from apr_current_hooking_module apr_hook_debug_show from apr_show_hook apr_hook_global_pool from apr_global_hook_pool apr_hook_sort_all from apr_sort_hooks apr_uri_port_of_scheme from apr_uri_default_port_for_scheme apr_uri_unparse from apr_uri_unparse_components apr_uri_parse from apr_uri_parse_components apr_uri_parse_hostinfo from apr_uri_parse_hostinfo_components apr_uri_t from apr_uri_components All APR_URI_* from all APU_URI_* symbols All APR_UNP_* from all UNP_* symbols PR: Obtained from: Submitted by: Thom May Reviewed by:

50e60f30bdc074fbc887f0b98f4d570457ac97c9 95956 04-Jul-2002 brianp

Re-use the same temp brigade to read all lines of a request header, to avoid the overhead of brigade creation and deletion. (This produced a 5% reduction in the total CPU usage of a minimalist httpd configuration: <JHEPKCEMGPKFFDHHDDKDMELFEKAA.bill@wstoddard.com>)

bdbafc44d060509e86f0cc56ff4d19579438f846 95954 04-Jul-2002 striker

Add a new directive: MaxMemFree. MaxMemFree makes it possible to configure the maximum amount of memory the allocators will hold on to for reuse. Anything over the MaxMemFree threshold will be free()d. This directive is usefull when uncommon large peaks occur in memory usage. It should _not_ be used to mask defective modules' memory use.

6d0ec39a3ef89ce485f23008efa399b7b35bf1fd 95947 03-Jul-2002 jwoolley

note the C-L filter fix

35c7d65bfb91baf5d930a1d287329e8b37e0235c 95924 01-Jul-2002 mjc

Make security notes consistant with apache-1.3/src/CHANGES PR: Obtained from: Submitted by: Reviewed by:

0fdf8c342123fde84405b885fb1720ebc652e10d 95906 28-Jun-2002 jerenkrantz

Add a filter_init function to the filters so that a filter can execute arbitrary code before the handlers are invoked. This resolves an issue with incorrect 304s on If-Modified-Since mod_include requests since ap_meets_conditions() is not aware that this is a dynamic request and it is not possible to satisfy 304 for these requests (unless xbithack full is on, of course). When mod_include runs as a filter, it is too late to set any flag since the handler is responsible for calling ap_meets_conditions(), which it should do before generating any data. If a module doesn't need to run such arbitrary code, it can just pass NULL as the argument and all is well. PR: 9673 Reviewed by: Ryan Bloom and others

6b87b6eee6a43f40ef6bead9ef3173979b4cd76c 95899 27-Jun-2002 rbb

Fix a long-standing bug in 2.0, CGI scripts were being called with relative paths instead of absolute paths. Apache 1.3 used absolute paths for everything except for SuExec, this brings back that standard.

bfd2cedbf2918fcb95daa9f850ecdf5e24765c22 95895 27-Jun-2002 jerenkrantz

Fix infinite loop when reading certain data due to two HTTP_IN filters being present for internally redirected requests. If HTTP_IN is present, r->proto_input_filters would have it, so adding it twice is wrong. PR: 10146 Reviewed by: Brian Pane

f9a773d26994c3b267589e404cdb5b760f83e888 95891 26-Jun-2002 jerenkrantz

Change conn_rec->keepalive to an enumerated value of AP_CONN_UNKNOWN AP_CONN_CLOSE AP_CONN_KEEPALIVE This also fixes a problem where ap_discard_request_body would not discard the body when keepalive was 0. This actually meant the keepalive status was unknown *not* closed, but no one ever remembered that. This problem was seen with mod_dav sending error responses (as reported by Karl Fogel). Suggested by: Greg "this isn't the '80s" Stein Reviewed by: Greg Ames

a250599aab6669d5877edf158032efd2538e5820 95888 26-Jun-2002 trawick

Fix mod_ext_filter to look in the main server for filter definitions when running in a vhost if the filter definition is not found in the vhost. PR: 10147

41338e6ead3fa8d60ad3841d069f4b47e71d9177 95876 24-Jun-2002 wrowe

Replace gunk with ap_regkey calls.

92b0ffb9cbc04b3d9c7ce6becadc0c3d88dea2d9 95874 24-Jun-2002 wrowe

Another excessively warm day in Chicago.

961ff00a8f1fe79a8ac8b18617b40a404e28cb35 95866 23-Jun-2002 brianp

Convert the hostname to all-lowercase in fix_hostname() so that the implementation matches the comments. (Note: The current virtual hosting code does case-insensitive host matching, so this fix is useful mostly to help ensure that custom modules and any future vhosting code don't get tripped up by case-sensitivity issues.) Submitted by: Perry Harrington <pedward@webcom.com> Reviewed by: Brian Pane

6a82dfd37385024d0e94e71edd2f46b609796cfd 95865 23-Jun-2002 wrowe

Fixes Win32 cgi 500 errors when QUERY_ARGS or other strings include extended characters (non US-ASCII) in non-utf8 format. This brings Win32 back into CGI/1.1 compliance, and leaves charset decoding up to the cgi application itself. Accomplished this by utf-8 encoding of plain octets for user and header data, so that the apr_proc_create() translates back to single unicode characters. This won't necessarily translate into the correct octet depending on the codepage used by the cgi app. That's the next task.

c43fd8f8f90a7549bffe1e581eedbd087db1163e 95846 22-Jun-2002 stoddard

Move the req_hdrs pointer from the cache_object_t to the cache_handle_t. Each thread serving a request needs to update the req_hdrs pointer so it needs to reside in r->pool (where the cache_handle_t resides).

854cc4d3451547c2359c27870a3c354ad385a49b 95840 22-Jun-2002 ianh

new configuration option for mod_rewrite to set cookies. configuration is like the following RewriteRule (.*) - [CO=<cookiename>:$1:<domain>:<expiry in minutes>] Submitted by: Brian Degenhardt <bmd@mp3.com> Reviewed by: Ian Holsman

02ec77ed8e15b4b601de98a322e4bd8d7d3e1ec2 95832 21-Jun-2002 trawick

Fix perchild to work with apachectl by adding -k support to perchild. PR: 10074

49ada1eac7c4cae429ba193273b7f40f355d9c7e 95806 19-Jun-2002 jwoolley

Grrrr. Fix the htpasswd -c -n logic bug *the right way* this time. :( PR: 9989

88425bd3442321915195ac9dfa9a80ffcd968fa4 95803 19-Jun-2002 brianp

Fixed the EOS handling for partial SSI directives at the end of brigades. (This was causing us to produce no output, not even an HTTP response header, for a document containing an unterminated "<!--#" directive

a8dda281113c5038945423320d8c9b42e3d1ddb1 95726 17-Jun-2002 jwoolley

bump after the tag

bf3d1782a29630335a1df535eb395355ab1cd154 95724 17-Jun-2002 jwoolley

Getting ready for 2.0.39. Here we go again

9c201f44112f944c3f2e43f3bdaf25244d40dcdf 95722 17-Jun-2002 jerenkrantz

Clarify CHANGES message

3e988ce4787cac775c062e11a8b13fb87917d2a0 95721 17-Jun-2002 jerenkrantz

Rewrite ap_get_client_block to rely on assumptions that have been solidified after this code was originally written. Namely: - AP_MODE_READBYTES will only return a brigade representing AT MOST bytes of data. It can NOT return MORE than requested. - APR_BLOCK_READ is respected - it is considered a design error of a filter if it returns without reading something. - apr_brigade_flatten is available to do the heavy lifting of the copying into a flat buffer (as hinted at by the removed comment). Tested with httpd-test.

37b8494ffaeb4ee9a9a2f9917d334078c16d4212 95718 16-Jun-2002 jwoolley

moving on. :)

99f692732327e0c200fd639105dbf9940bd229f1 95713 16-Jun-2002 rbb

Finish the htpasswd port to APR. This brings the file checking code to APR.

80f73246cc14f02d50bfac5306c079464c2dd1c6 95693 15-Jun-2002 rbb

We must set the MIME-type for .shtml files to text/html if we want them to be parsed for SSI tags. Add the config for that to the default config file so that it is easier to enable .shtml parsing. PR: 9787 Submitted by: Dave Dyer <ddyer@real-me.net>

dcdc78fce34f06533df4829abbc726f7fbf207fe 95691 15-Jun-2002 jwoolley

Fixed a problem with 'make install' on one of the tarballs (which have the CVS dirs removed already) with ReliantUnix's rm: Installing configuration files Installing HTML documents Usage: rm [-firR] file ... make[1]: *** [install-htdocs] Error 2 make[1]: Leaving directory `/home1/apache20/httpd-2.0.37' make: *** [install-recursive] Error 1 Submitted by: Jean-frederic Clere <jfrederic.clere@fujitsu-siemens.com>

d4a93d608a28bf331625544a2896fa20bef4a2b4 95690 15-Jun-2002 rbb

Make the default_handler catch all requests that aren't served by another handler. This also gets us to return a 404 if a directory is requested, there is no DirectoryIndex, and mod_autoindex isn't loaded. PR: 8045 Submitted by: Justin Erenkrantz

36fcd3d96b9bf9a2d4af424e64584b5dede3e3e6 95687 15-Jun-2002 brianp

Fixed a bug in the handling of nested if-statements in shtml files PR: 9866

4b34d6a5b70303010612df6c87da3ee91ae86078 95686 15-Jun-2002 rbb

Allow 'make install DESTDIR=/path'. This allows packagers to install into a directory different from the one that was configured. This also mirrors the root= feature from 1.3. We cannot use prefix=, because both APR and APR-util resolve their installation paths at configuration time. This means that there is no variable prefix to replace. PR: 7803 Submitted by: Andreas Hasenack <andreas@netbank.com.br>

44d971eef4337ad80ba3d360c84ffa8188d50325 95677 14-Jun-2002 trawick

the TCP guy in Austin (AIX-land) swears that 4.3.2 GA had the fix for thundering herd, so tweak the prior change just a bit

84bdb86d57d2a2f828b17e77ac2379fed551c2ad 95673 14-Jun-2002 trawick

AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT. These levels of AIX don't have a thundering herd problem with accept().

46603605c2edcc1cc84fa45634e19a395134078a 95665 14-Jun-2002 trawick

prefork MPM: Ignore mutex errors during graceful restart. For certain types of mutexes (particularly SysV semaphores), we should expect to occasionally fail to obtain or release the mutex during restart processing. These mutex failures seem to be a pretty rare occurrence, but it was fatal.

86826d685f83170ca07d56550db9f0c2922a916b 95651 13-Jun-2002 trawick

Fix install-bindist.sh so that it finds any perl instead of just early perl 5.x versions. This is consistent with a build/install from source, and it allows the perl scripts installed by a bindist to work on systems with perl 5.6.

4f412c60e9c2af999619d11b236068a0e0e94944 95646 13-Jun-2002 trawick

avoid a non-portable shell construct ("builddir=$(shell pwd)") so that the makefile created by apxs -g works on more systems it was broken on at least AIX and Tru64

4f6effa17a5084085c9104b0bb97c2ba1622cfa6 95633 13-Jun-2002 jerenkrantz

Per RFC 2616 section 9.4, we SHOULD return the content-length if possible on HEAD requests (even for CGI requests). Also do it because it fixes the cause of .37's demise. This also fixes a condition seen on FreeBSD-4.6 where HEAD requests on CGI scripts would hang because the OS would return EAGAIN in log_script_err (via apr_file_gets). Since we never read the script output, this caused FreeBSD to not let us read stderr.

bfa5c37259833629155d486bb1571d39a57de64d 95619 12-Jun-2002 bnicholes

Added log rotation based on file size to the RotateLog support utility.

a946a7e607c21cf6068e7380d7e81cc2bf027913 95611 11-Jun-2002 trawick

Fix some casting in mod_rewrite which broke random maps. PR: 9770 Submitted by: Allan Edwards, Greg Ames, Jeff Trawick

da16bea08c6ff10ceb8d250ff23e8e81a372cef8 95608 11-Jun-2002 jwoolley

Bump after the tag

e59e4b703b7e19c4b35030e4baac8a96a8d4b504 95602 11-Jun-2002 dougm

PR: Obtained from: Submitted by: Reviewed by: allow POST method over SSL when per-directory client cert authentication is used with 'SSLOptions +OptRenegotiate' enabled and a client cert was found in the ssl session cache.

5717c6b0b97a065a84fba32cebeee959a5fe4f15 95601 11-Jun-2002 dougm

PR: Obtained from: Submitted by: Reviewed by: 'SSLOptions +OptRengotiate' will use client cert in from the ssl session cache when there is no cert chain in the cache. prior to the fix this situation would result in a FORBIDDEN response and error message "Cannot find peer certificate chain"

835836eaf9e2a23192a262307b08f626e50e2180 95595 10-Jun-2002 trawick

ap_finalize_sub_req_protocol() shouldn't send an EOS bucket if one was already sent. mod_ext_filter performs some one-time processing when it sees EOS. When it saw EOS more than once and a subsequent attempt to close a file failed, it issued the log message described in PR 9644. PR: 9644

81dddb023f9dd43b350f782972c1f75a88a2d93f 95591 10-Jun-2002 trawick

Fix the display of the default name for the mime types config file. PR: 9729 Submitted by: Matthew Brecknell <mbrecknell@orchestream.com> Reviewed by: Jeff Trawick

9b9e0eca165f5f464e357bb2a9b8bbfc9621067c 95574 07-Jun-2002 wrowe

Descriptions are good

b26781e595625911fc8fc8215133ad2285ed75d8 95568 07-Jun-2002 jim

Now that we have the functionality in apr, we can now have 2.0's startup message regarding AcceptMutex (what we are using and what the default is) "fully" match what is present in 1.3. PR: Obtained from: Submitted by: Reviewed by:

5117466ef123b1efbc2feba168f37069ef6f230b 95551 06-Jun-2002 ianh

implement a fixed size cache in mod_mem_cache using a priority queue PR: Obtained from: Submitted by: Reviewed by:

9c39f8fb982df4dbce5304e49385568e6d35bfa8 95549 06-Jun-2002 trawick

Fix apxs to allow "apxs -q installbuilddir" and to allow querying certain other variables from config_vars.mk. PR: 9316

bdd4aa13a97de79596cd19708f1516e8fa92700e 95538 06-Jun-2002 wrowe

Catch up with Brad's changes, this knocks off the CGI popup windows bug

1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534 95535 06-Jun-2002 bnicholes

Enhancement to the optional function ap_cgi_build_command() to handle detached processes.

24e361af20a3107dc934b4895911ce6bcce0603e 95530 05-Jun-2002 jwoolley

Get rid of some uninitialized value errors with apxs -q. Submitted by: Stas Bekman <stas@stason.org> Reviewed by: Heinrich G�tzger <goetzger@gmx.net>, Cliff Woolley

4657f9b12af4b123b80e15c73fa03c190e47a8bf 95522 05-Jun-2002 trawick

Fix apxs to allow it to work when the build directory is somewhere besides server-root/build. PR: 8453 Submitted by: a number of people hit this problem and offered hints or partial fixes; Thom May and Pier Fumagalli had a patch to apxs, a subset of which mostly fixed this problem; there were hints in PRs 8453 and 9316

c36bac9a918f59b2dbf5dcd7d67b50c1da04c89d 95505 04-Jun-2002 rbb

Allow ap_discard_request_body to be called multiple times in the same request. Essentially, ap_http_filter keeps track of whether it has sent an EOS bucket up the stack, if so, it will only ever send an EOS bucket for this request. Submitted by: Ryan Bloom, Justin Erenkrantz, Greg Stein

ad668861e40da485f2eea24dc4c1f9940e470698 95501 04-Jun-2002 rbb

Remove all special mod_ssl URIs. This also fixes the bug where redirecting (.*) will allow an SSL protected page to be viewed without SSL.

89211a5d592cdf0170d2b541946661b1a2a279c5 95489 03-Jun-2002 trawick

Fix the binary build install script so that the build logic created by "apxs -g" will work when the user has a binary build. We didn't copy enough of the build directory and we edited the wrong version of config_vars.mk.

5caa0a5c428439b566a4fcc711747e2053bcfd1a 95466 02-Jun-2002 jerenkrantz

Use the basename of the dso file rather than assuming it does not include a directory in it.

34d672a81f3e72f30568462135ddf6d71dcfa8d8 95448 31-May-2002 bnicholes

Finally able to add real CGI functionality on NetWare

4a98c07ecf4f27a9b18963bbe85260857664d03b 95394 30-May-2002 jerenkrantz

Switch mod_proxy to using the brigade/filter calls directly rather than the *_client_block calls.

4061d307f1f8b095c7ec681ad7b0a452404f99d3 95386 30-May-2002 jerenkrantz

mod_cgid got hit too with this change

b1d2d2797866636f792717f96401292481697145 95383 30-May-2002 wrowe

Goodness

8e2e1446dd3b216c1f414493758f8b0d267a3c0d 95379 30-May-2002 wrowe

Four column tabs, no less? Just a formatting fix

8abcc73436888a98721b10f0c09206f6fea68c55 95376 30-May-2002 jerenkrantz

Rewrite mod_cgi's input handling to use brigades and input filters directly. This removes the unnecessary overhead of the *_client_block functions. Optimize usage of the dbuf char* (don't do pcalloc on it!)

b24d065530fdf97376f390522396be5a4469fcf4 95370 30-May-2002 jerenkrantz

As discussed previously on-list, HTTP_IN should return EOS if it thinks there is no request body.

a981bcb9c3b780184e75ff069d67fe84da6c3d3d 95367 29-May-2002 bnicholes

Finally got rotatelogs working on NetWare

b2cff333bc23b8e74c6aad9ee97973df02cca180 95342 29-May-2002 aaron

Properly detect overflow when reading the hex chunk lines.

7eb55be5bcc75f2acf789aeca38d88a9c75d001e 95334 29-May-2002 jwoolley

Fix RewriteMap prg:'s that have command-line args. PR: 8464 Submitted by: James Tait <JTait@wyrddreams.demon.co.uk>

d31e50dddb975275ef388ab64e380b6d4e5d9710 95331 29-May-2002 jerenkrantz

Correctly return 413 when an invalid chunk size is given on input. - If get_chunk_size() returns a negative number, that probably implies an overflow. So, create a 413 error and pass it to the output filters. - Modify ap_discard_request_body() to return OK quickly if we're a subreq or our status code implies that we will be dropping the connection. - Modify ap_die() so that if the new status implies that we will drop the connection, that we correctly indicate that we can not keepalive this connection. (Without this, the error is returned, but the connection is not closed.)

d5eaaee4a1e5faaf21e7111fd61732c6e7dbe8b2 95328 28-May-2002 jwoolley

why do I keep forgetting to commit CHANGES with the code change itself? ugh.

c88a70518d7d0b5bccb22a68d446c2d6589790dc 95326 28-May-2002 jwoolley

just in case anybody cares

c64c364bf863ad985309ef10d68caaa93e8d09cc 95319 28-May-2002 stoddard

Fix problem where mod_cache/mod_disk_cache was setting content_type to text/plain for all cached remote responses.

d8d240df2f2b23455be6b01343daedebaa6c4f96 95307 27-May-2002 trawick

simplified apachectl... . it now uses "httpd -k verb" support for start/restart/etc. . it now can pass through any httpd option, so apachectl can be used as a replacement for invoking httpd directly (this practice ensures that any necessary environment variables are set up)

b5b5e8cc4668ab29d8f08f590d829dcfaeda9d33 95292 27-May-2002 brianp

Fix for suexec invocation of CGIs under user dirs when using cgid PR: 7810 Submitted by: Colm MacCarthaigh <colmmacc@redbrick.dcu.ie> Reviewed by: Brian Pane

e2653756d0d14a9a620b24bd04a6ab1182178462 95290 26-May-2002 brianp

Fix for suexec execution of CGI scripts from mod_include (including security patch to ensure that <!--#include file="name.cgi"--> is run as the suexec user rather than the httpd user) PR: 7791, 8291 Submitted by: Colm MacCarthaigh <colmmacc@redbrick.dcu.ie> Reviewed by: Brian Pane

d980a97cfc68de0ef35432ce03f1c1e468a19877 95287 25-May-2002 jwoolley

Fix the rest of the apr_pool_userdata_setn() bogosity w.r.t. DSO modules. It's totally unsafe to use apr_pool_userdata_setn() in the post_config phase of a module, since on some platforms when the DSO gets reloaded between phases, the data segment will be at a different address on the second phase and the userdata_get() call will fail. PR: 9413 Submitted by: Tsuyoshi Sasamoto <nazonazo@super.win.ne.jp>

aa3510b82ec5d82ddbf4748829ec90f1ce71398e 95277 25-May-2002 brianp

Fix for mod_include's parsing of "/regexp/" expressions in <!--#if directives Submitted by: Julius Gawlas <julius_gawlas@hp.com> Reviewed by: Brian Pane

51b1d7f8eaa74807ab14479edde4421e77f5d1d7 95270 24-May-2002 brianp

Fix for the worker deadlock problem

5a63340978acb9dd7e87724be57d2bde1cf1f629 95269 24-May-2002 trawick

the "-k startssl" parameter is reverted by popular demand

08aff55373b2ae69182a58055a5c1b3a12d927b0 95258 23-May-2002 slive

I think the recent flury of garbage flying out of docs/manual/style and docs/manual/mod warrants a CHANGES entry.

4f50bfb0367b91396c0fe85b80536b760080d39e 95246 23-May-2002 trawick

Fix a file permissions problem which prevented mod_disk_cache from working on Unix.

9f7325ecad575cf77ab76b01beaaf339a63490b5 95237 23-May-2002 trawick

Add "-k start|startssl|restart|graceful|stop" support to httpd for the Unix MPMs. These have semantics very similar to the old apachectl commands of the same name. The use of stderr/stdout and exit status for error conditions needs to be revisited. For now it matches apachectl behavior. Justin Erenkrantz got the ball rolling with this feature. Some of his support code was used unchanged. Other code was shuffled around and modified or rewritten.

8565f742f1ee3d514b2d48a1f2a5af5d7437c3b9 95200 21-May-2002 trawick

Make sure that the runtimedir is created by make install. PR: 9233

8843b75d1c70af3da9a7306c4aede3b3e9346dea 95196 20-May-2002 jwoolley

just to be thorough

dcecfbe7e63603d0fb95e4811e015039e9401990 95185 20-May-2002 stoddard

Win32: Call GetOverlappedResults to get the results of an async TransmitFile() else we may return APR_SUCCESS to a call that really failed.

4844d314b0b6e55a309621b84c1786446c5fb418 95182 20-May-2002 ianh

fix for mod_deflat PR: 9222 Obtained from: kaz@asada.sytes.net (ASADA Kazuhisa) Submitted by: Reviewed by: Ian Holsman

127c81d6b2c9ba8932273c2e1b13e3ea3d673b07 95148 17-May-2002 trawick

ignore APLOG_NOERRNO; note that it is deprecated

59d01b9ed1de043745262e49bb44bde7095c4723 95139 16-May-2002 jwoolley

The group consensus was that we're no longer supporting "make certificate," as test certificates just allow people who don't know what they're doing to dig a bigger hole for themselves and don't really help anybody who DOES know what they're doing much. So all of the documentation references to "make certificate" are now removed. PR: 8724

e6e65585927961caf45d4e9e932bb1f4e9e89ca1 95129 16-May-2002 jerenkrantz

Remove SSLLog and SSLLogLevel directives in favor of having mod_ssl use the standard ErrorLog directives.

b068b71651c802cc4e0b835495ad0e41c65e1174 95119 15-May-2002 trawick

don't leave the shared library path variable commented out in envvars for non-binbuild... OS/390 needs it set all the time

34a1e566d4af2735c87e2d3e6ac5e505855518aa 95102 15-May-2002 wrowe

Sure that something else will occur to me sooner or later.

dd39efc1f7ed97cf526aefa24359f0be2ac5c3f4 95065 13-May-2002 trawick

Make apxs look in the correct directory for envvars. It was broken when sbindir != bindir. PR: 8869 Submitted by: Andreas Sundstr�m <sunkan@zappa.cx> Reviewed by: Jeff Trawick (This fix has been posted by others too.)

f53367106769f90696d9c1f0ffcf9fbb4db883c2 95055 13-May-2002 jerenkrantz

Fix mod_deflate corruption when using multiple input buckets. We should only clear *_out when we are the beginning or avail_out == 0. Justin was tracking this down before he went to WWDC and didn't finish before he left. A (virtual) beer goes to Asada who filed this PR with the right patch! PR: 9014 Submitted by: kaz@asada.sytes.net (ASADA Kazuhisa) Reviewed by: Justin Erenkrantz

9a940e8e90f9b163737e23bbf72a3f2c67a39220 95046 12-May-2002 brianp

Added caching of formatted timestamps to speed up the access logger when using standard time format

8496c88debb9962575dac2b1ef9b81984d7bd759 95040 12-May-2002 brianp

Added EnableMMAP directive to allow the server administrator to prevent mmap of file buckets upon read.

7c8747b339a5e47ea8301907051a9974d15b23b7 95028 10-May-2002 brianp

mod_setenvif optimizations

98f81eac9530d487f05013cda9df99755bb59689 95016 09-May-2002 trawick

Fix a mod_ssl build problem on OS/390. This is admittedly rather ugly code to come up with a unique 4-byte identifier for the thread. Since our threads are pthreads and a pthread maps 1:1 to a TCB, the address of the TCB is sufficient. Yes, every TCB sees a different piece of real storage mapped to the first page, so the code does make sense.

0b493ad526b8bbc2ff21ce19510fc32238abb816 95007 08-May-2002 jwoolley

Fix if-modified-since on win32, I think. It should fix it in theory. Verification would be nice. At least I know it still works on Unix. ;)

1376737cb6afa24d3e12f3a223318fe1bd71bb1f 94985 07-May-2002 slive

Reverse the hook ordering for mod_userdir and mod_alias so that Alias/ScriptAlias will override Userdir. PR: 8841 Reviewed by: Justin Erenkrantz

ec1719a5748717f67dcd279bb64bd0da424ae450 94979 07-May-2002 jerenkrantz

Move mod_deflate from experimental to filters to represent our belief in its stability.

dea9ded7417a8328f8fce5d57eca9d7af5500520 94971 06-May-2002 trawick

Get proxy CONNECT basically working (IE seems to be happy with secure connections). The to-do of fixing client I/O so it goes through the filters still remains. But it will be nice if it will work until somebody gets around to doing that.

3f0220bf6e864d982a10348c9cc269bfe798d65e 94970 06-May-2002 aaron

Note the mod_rewrite hang fix.

75d133afee2e3636b07366fd62102b13b67b1b1d 94942 06-May-2002 jerenkrantz

Rewrite ap_byterange_filter so that it can work with data that does not have a predetermined C-L - such as data that passes through mod_include. Previously, these requests would generate 416 since when the byterange filter ran, r->clength would be 0. r->clength is only guaranteed to be valid after C-L filter is run, but we need C-L to run after us so that our data can have a proper C-L returned. So, we need to rearrange the code so that we can deal with this case. Highlights: - Remove r->boundary since it is possible to have this self-contained in boundary's ctx. (May require MMN bump?) - Remove call to parse_byteranges in ap_set_byterange since this would wrongly return -1 for dynamic responses. We have to wait until we see EOS to call parse_byteranges. - Move bound_head computation inside the num_parts == 2 check. - Change a NULL brigade check to APR_BRIGADE_EMPTY - Move the 416 error return to after we've run through all ranges and found none of them to be valid.

2ae7ad6f58b7e3188ed4bd375a8930808529ba71 94939 06-May-2002 jwoolley

Added an optional function (ap_register_rewrite_mapfunc) which allows third-party modules to extend mod_rewrite's "int:" internal RewriteMap functionality. Concept by: Tahiry Ramanamampanoharana <nomentsoa@hotmail.com>

5b30f835d627766b024500189c35bb55e686e890 94930 04-May-2002 brianp

Mention PR 8462 fix

d45481dadf7f1f0ffd95b38b1c5b0ea6b2d57888 94922 03-May-2002 jerenkrantz

Remove autom4te.cache when doing make distclean. We can't specify it in DISTCLEAN_TARGETS because it is a directory. Perhaps we could modify DISTCLEAN_TARGETS to delete dirs too, but that's outside the scope of what Thom (or I) want to deal with now. Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz

0c7592379b55b7736dd70d2d87f53af9a2347614 94921 03-May-2002 jerenkrantz

Fix generated httpd.conf to respect layout for LoadModule lines. PR: 8170 Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz

6d62bc22f8f22a43e66e2e4d8860a5a144316b1a 94910 02-May-2002 stoddard

Win32: Fix bug in mpm_win32 which allowed multiple threads to access the same scoreboard slot across graceful restarts.

922c0ad0014590bb10d13674012683eef44c0bba 94898 01-May-2002 rederpj

Fix some minor formatting issues with ab. Part of this is in reference to PR 8544, the rest I noticed while testing the PR fix. [Paul J. Reder] Submitted By: Carlo Marcelo Arenas Belon Reviewed By: Paul J. Reder

8ffd5c9693162130d35be41953f0dd3bba18edf7 94897 01-May-2002 rederpj

Failed to mentionthe PR in the first pass. This just adds the PR number to the CHANGES file. (PR 8320)

aec964227053fab7e59deb26709b94726ce67224 94896 01-May-2002 rederpj

Fix a case where an invalid pass phrase is entered and an error message is given, but the prompt is not shown again. This left the user in an ambiguous state.

71eda8b1c14e4d0adb2f294f22299587cd3d74a9 94888 01-May-2002 striker

Update prior to bumping the tag

1e27f530f81c6058d1a11944ae1e2da45977fc7b 94886 01-May-2002 jerenkrantz

Close sockets on worker MPM when doing a graceless restart. This should resolve some segfaults see when doing such restarts. (Justin tweaked the palloc/memset in favor of calloc.) Submitted by: Aaron Bannert Reviewed by: Greg Ames, Sander Striker, Justin Erenkrantz

469549ac22c6f7b9ecdd9df2565925563e4df84d 94881 30-Apr-2002 jwoolley

Revert optimization from circa 2.0.34 that caused very long vhost id's to be unusable with mod_ssl. PR: 8572

7a9f3bef545b0bbc93c2ed758119b0d2e2647c31 94879 30-Apr-2002 trawick

Fix the link to the description of the CoredumpDirectory directive in the server-wide document. PR: 8643

0be05c658c7e6e5a05fd2d4068d8ac0f030d4752 94876 30-Apr-2002 jwoolley

SHMCB should not have been using apr_rmm -- it was doing so incorrectly, for one thing. But it just plain doesn't need it. Rip it out to avoid segfaulting. Submitted by: Aaron Bannert

223b367115aefc20f1c32fe2d4e2bfcc4bfe108f 94875 30-Apr-2002 jwoolley

- Sync with modssl 2.8.8-1.3.24 - Also a minor change to add more useful error logging for shmcb startup failures

639cf068707865a81ad2c610e72d57b043d20dd6 94869 29-Apr-2002 wrowe

Worth noting, I guess

9438d70ce91fa99ec828a2828f0fd45542cd9c4f 94858 29-Apr-2002 wrowe

Attach a bugz number

bfad49a5bba72867ef1d0852d842ed91078cee8b 94857 29-Apr-2002 striker

Update prior to bumping the tag

f3f0c2a5f6009d06350341219d1f38a1644708bc 94852 29-Apr-2002 brianp

Document this weekend's worker MPM changes

33b095d35c5dac22358ce63c32635ab59ce7cb25 94848 29-Apr-2002 aaron

What did I do today?

100e6f5dec61d108494565f8f3bfa894afadc33a 94832 28-Apr-2002 jerenkrantz

If a subreq added a filter (say INCLUDES) and the subreq was promoted via fast_redirect, the filter would still point at the subreq - rather than the original r. So, we must update any filters pointing at rr to be r. This would cause lots of problems with mod_include with mod_dir requests such as seen in PR 7966. mod_include would be unsetting the headers_out of rr instead of r. But, we disassociate rr->headers_out and r->headers_out. Therefore, the C-L header in r->headers_out would remain - even though it bears no relation to what we will be outputting - causing problems. This also now permits chunked-encoding of mod_dir/mod_include requests which could never happen before and fixes the content-length problem seen in PR 7966. As hinted at in PR 7966, there is a race condition - if for some reason the server stalls reading an included file (or even better, placing a sleep in the cgi-bin script!), the invalid C-L may get propogated to the client. (Note that internal_internal_redirect has this same code fragment.) PR: 7966

5d5d5ca04c57c7ab865924f4648e8f80de27adfe 94830 28-Apr-2002 brianp

Moved the recycled pool list from the queue to the queue_info structure. The advantage of doing this is that it enables us to guarantee that the number of ptrans pools in existence at once is no greater than the number of worker threads, and that we'll never have to delete ptrans pools.

4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9 94825 28-Apr-2002 aaron

Modify the worker MPM to not accept() new connections until there is an available worker thread. This prevents queued connections from starving for processing time while long-running connections were hogging all the available threads.

3c0c3ae288166a8736593093c636768702abf263 94814 26-Apr-2002 aaron

The worker's fdqueue is now a queue again.

b8a843847aae3d9a1838fb8f1de84cd66212f48a 94811 26-Apr-2002 trawick

get basic HTTP proxy working on EBCDIC machines (I would bet that there is more work to do throughout proxy, but at least it can serve some pages now)

c8411888a54dd5dbfd8a5d337ebf0e911a789063 94802 25-Apr-2002 trawick

Allow mod_unique_id to work on systems with no IPv4 address corresponding to their host name.

8efcf516f2b6514879fff8d034be55b6d64ff830 94795 25-Apr-2002 striker

Bump after the tag.

28caffb98f18c0b9562ac20870f7ab91f3d9a01f 94791 25-Apr-2002 jerenkrantz

Fix suexec invocations from userdir - the ~ was not being prepended to the uid per our convention. Therefore, bad things would happen (like we wouldn't cd to the right directory). Add a flag to the ap_unix_identity_t structure to indicate if we are in a userdir - if so, prefix the ~. (Modified by Justin, but Colm's patch pointed me in the right direction.) PR: 7810 Submitted by: Colm <colmmacc@redbrick.dcu.ie> Reviewed by: Justin Erenkrantz

d757628a07145aa711ba75b4e7c7c01a33133ca1 94790 25-Apr-2002 jerenkrantz

Since UserDir is a raw argument, our config system allows it to be blank. To save us all the hassle, just flat out reject this silliness. We could treat blank as ".", but let the user shoot themselves in the foot explicitly (and don't give them any ideas on how to do it). PR: 8472

1585c2979d749ee71edb6a1d57bc9ff6db12a426 94789 25-Apr-2002 jerenkrantz

We must always use case-insensitive comparisons in mod_mime even if our platform is not "case-blind." This matches 1.3 behavior and our docs say that the extension argument is case-insensitive anyway. This is case where the code fix is easier than the doc fix. =) PR: 8223

83d50aa0d25731a50011e83ae313cb77f260718c 94786 24-Apr-2002 minfrin

Oooops! PR: Obtained from: Submitted by: Reviewed by:

6bdb2c094666367615890147775bb18761216c8d 94785 24-Apr-2002 minfrin

Add an intelligent error message should no proxy submodules be valid to handle a request. PR: 8407 Obtained from: Submitted by: Reviewed by:

c069757188a3cd9ab19b05169b005a824b60b6fc 94783 24-Apr-2002 aaron

Mention my AB fixes.

11ce97701b22d795fd1a5ec3769a3367bc220921 94779 24-Apr-2002 wrowe

A nice end to a crazy day... laptop's fixed and life goes on.

e45d7d4ca98387c2898f8302bafb31e3b4f5a5d8 94775 24-Apr-2002 jwoolley

There were multiple PR's about this one

6cdd5cd95d8323de5cfb912d8fc0df8c5e3d02ce 94773 24-Apr-2002 jerenkrantz

Switch to using new exp_* macros to fix disjointedness problems. PR: 8227 Reviewed by: Sander Striker (concept), Aaron Bannert (concept)

239ab9d14d3851c2efc1312b3b42c838073533f4 94771 24-Apr-2002 jerenkrantz

The force-response-1.0 and downgrade-1.0 checks were swapped. This would mean that downgraded requests were ineligible for force-response checks. Previously, 1.3 would do the downgrade in process_request_internal and then the force-response later on in basic_http_header. PR: 8357

c5fb76caa5498c60b991fcba8dfbf3c229f0f4d5 94760 22-Apr-2002 rbb

Fix perchild MPM so that it can be configured with the move to the experimental directory. Fix perchild MPM so that it uses ap_gname2id for groups instead of ap_uname2id. Submitted by: Scott Lamb <slamb@slamb.org>

b9cf7102006ac2ccfebcb78174585986ff127ba9 94751 22-Apr-2002 jwoolley

AcceptPathInfo was totally backwards... it would reject when set to on and by default and accept when set to off for the default handler, and would reject only if set to accept for mod_cgi(d) and mod_isapi. PR: 8234

2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2 94744 22-Apr-2002 stoddard

Added the APLOG_TOCLIENT flag to ap_log_rerror() to explicitly tell the server that warning messages should be sent to the client in addition to being recorded in the error log. Prior to this change, ap_log_rerror() always sent warning messages to the client. In one case, a faulty CGI script caused the server to send a warning message to the client that contained the full path to the CGI script. This could be considered a minor security exposure.

b584ec31a47334b1253f4a5ad73f023336ab2f28 94739 21-Apr-2002 jwoolley

Fix mod_autoindex output with SuppressRules turned on. PR: 8016 Submitted by: David Shane Holden <dpejesh@yahoo.com>

52617e76a53b1d90da027a5311790e1ccef8f60f 94730 19-Apr-2002 trawick

somebody just wrote a PR on something Paul fixed earlier today; mention that PR in the changelog PR: 8314

7ac88dc1ac207b9a434fd76c0406651d68018d69 94721 19-Apr-2002 rederpj

Moved the call to apr_mmap_dup outside the error branch so that it would actually get called. This fixes a core dump at init everytime you use the MMapFile directive. [Paul J. Reder]

d157b208942316e96c34fa8b2222ed4cc2e56783 94719 19-Apr-2002 trawick

Trigger an error when a LoadModule directive attempts to load a module which is built-in. This is a common error when switching from a DSO build to a static build.

dc903d97a896d4e414efb1cb49f22ce00a49f070 94709 19-Apr-2002 trawick

Change instdso.sh to use libtool --install everywhere and then clean up some stray files and symlinks that libtool leaves around on some platforms. This gets subversion building properly since it needed a re-link to be performed by libtool at install time, and the old instdso.sh logic to simply cp the DSO didn't handle that requirement. Submitted by: Sander Striker Reviewed by: Jeff Trawick

68f803c489cf61918fb4e61745fcd1e0cc980541 94697 18-Apr-2002 jerenkrantz

Allow VPATH builds to succeed when configured from an empty directory. (Justin removed some unneeded changes in Makefile.in.) Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz

15405e91bb3fad5a80f7abe828a00b44a3a65bf8 94695 18-Apr-2002 jerenkrantz

Fix 'control reaches end of non-void function' warning Submitted by: Ben Collins-Sussman <sussman@collab.net> Tweaked by: Justin Erenkrantz

f905b21d99b264dbf26acc30b430ebe92838cdce 94694 18-Apr-2002 jerenkrantz

Ccccccchanges.

0e2340134f2336b98c92d7f157fb65d0a6f477d4 94683 17-Apr-2002 stoddard

Fix seg fault when garbage collecting an expired entry. remove_entity should just remove the object from the cache and set the cleanup flag in the object. decrement_refcount will clean the object up when the refcount goes to zero. Defect reported by Jean-Jacques Clar at Novell.

b3edf21d591bfd0e64bbec0dda73c0e41d7ecdb6 94681 17-Apr-2002 wrowe

Introduced -E startup_logfile_name option to httpd to allow admins to begin logging errors immediately. This provides Win32 users an alternative to sending startup errors to the event viewer, and allows other daemon tool authors an alternative to logging to stderr.

5d238058bc748dfa13ff21890ae4a58481e3be89 94676 17-Apr-2002 jerenkrantz

Fix subreqs with non-defined Content-Types being served improperly. If we do not know a C-T for a subreq, we *must* propogate that non-knowledge upwards to the main request. Previously, if you used a DirectoryIndex with a file without a C-T (say .shtml without AddType), the r->content_type will be kept as httpd/unix-directory when we promoted the subreq in mod_dir. Since there would be no handler on this file, ap_invoke_handler (config.c:355) would set the handler to be httpd/unix-directory (which was the old C-T of the dir). This would then trigger the handler to become httpd/unix-directory. mod_autoindex would then try to serve the request. But, the filename was propogated upwards by mod_dir's DirectoryIndex via internal_fast_redirect - it would then return a 403 trying to generate a mod_autoindex page for a file. Now, we will use ap_default_type() which is correct.

9282327b0ffe8981d39835130dfb334af192b508 94671 16-Apr-2002 jerenkrantz

Merge in latest GNU config.guess and config.sub files. Synchronize all config.guess/config.sub files to be identical. Previously, we had three different versions of the guess files - now they are the same. I attempted to merge in ASF changes that were marked and still needed. Please verify that these work on your platform. (Particular attention is required for the IBM platforms.) Part of PR 7818 stems from the fact that the bundled expat did not have an included config.guess/config.sub. Therefore, it would take the config.guess from the system. Icarus's autoconf/libtool is very old (2.13/1.3.5). The machine that was used to roll 2.0.32 had a recent autoconf/libtool which explains the behavior that Sander saw in the PR. Therefore, we now explicitly provide a config.guess/.sub for the bundled expat so that all of the versions are in sync. This should minimize configuration problems. pcre was using a config.guess that was imported when Brian made the 3.9 import. It did not have the Apache modifications, but seems to have had the Darwin changes. Go figure. Sync it up as well. PR: 7818 Obtained from: GNU FSF - ftp.gnu.org/gnu/config

8fcaadcb287f361bb304d53a69d508500840fafc 94668 16-Apr-2002 jerenkrantz

Move 100 - Continue support to the HTTP_IN filter so that filters are guaranteed to support 100 - Continue logic without any intervention. This requires some reshuffling of the code in http_protocol.c so that some static declarations are available early enough in the code so that ap_http_filter can access them. Note that we can not read the chunk until after (possibly) sending the 100.

8af88bd6958b80c224e964892b8237720b13ab1a 94667 16-Apr-2002 jerenkrantz

Adds support for reading trailers on input by exporting get_mime_headers to ap_get_mime_headers and calling it in the appropriate place in ap_http_filter. showstoppers--;

25b812bcab8b61981e288996b991e0ab4d224b92 94656 15-Apr-2002 jerenkrantz

Add note about closed PR. If a PR was filed, it's probably worthy to be listed in CHANGES (IMHO). I meant to include this with the vhost.c commit. I am not doing good with commits today. Grr. PR: 7441

87f0329e30de94828e08d53a99ea23cda86a9fcc 94653 15-Apr-2002 jerenkrantz

Properly substitute sbindir as httpd's location in apachectl. We install $(PROGRAMS) into $(sbindir) not $(bindir), so this is correct. PR: 7840 Submitted by: Andreas Hasenack <andreas@netbank.com.br> Reviewed by: Justin Erenkrantz

0396e75f271f51be57be778655e32ba8d64d240b 94637 13-Apr-2002 wrowe

The fix requires a bump

dc10f7a2f87d4cd7cdd16dc248b165122b4ac62b 94625 12-Apr-2002 trawick

worker MPM: Fix a situation where a child exited without releasing the accept mutex. Depending on the OS and mutex mechanism this could result in a hang.

431d6106eaf796cc8dfa8cb0db2b180dd93ed6df 94620 12-Apr-2002 trawick

update the instructions for how to get started with mod_example Submitted by: Stas Bekman

390489eb69fe15943ddf67adcc832ca8de125cd9 94606 12-Apr-2002 jerenkrantz

Change httpd.pid placement to rel_runtimedir instead of rel_logfiledir. With the standard apache layout, this changes nothing (since runtimedir == logfiledir), but for other layouts, this makes a lot more sense. PR: 7841 Submitted by: Andreas Hasenack <andreas@netbank.com.br> Reviewed by: Justin Erenkrantz

a1e8b54f269a8f2388590174174509546e886e60 94592 10-Apr-2002 stoddard

The accept loop was sleeping way too long when we ran out of completion contexts. All that is really necessary is that the accept look yield the rest of its time slice when this condition is hit.

109d280c3fcf810e573fc1af5e141ad525c45811 94575 09-Apr-2002 bjh

Note a bug fix in apr-util.

61d2cd001754548e90364aa3a7e76863616544b0 94574 09-Apr-2002 minfrin

Proxy was bombing out every second keepalive request, caused by a stray CRLF before the second response's status line. Proxy now tries to read one more line if it encounters a CRLF where it expected a status. PR: 10010 Obtained from: Submitted by: Reviewed by:

9a3bbca61e24c13d8b496116ac759117136c6bf4 94571 09-Apr-2002 aaron

Deprecated the apr_lock.h API.

64c351fd973428b5bb4c28e983fa86875ea4e60f 94558 09-Apr-2002 dougm

PR: Obtained from: Submitted by: Ryan Morgan <rmorgan@covalent.net> Reviewed by: dougm, jimjag Change mod_status to use scoreboard accessor functions so it can be used in any MPM without having to be recompiled.

0506359f47150991eaaae37ca07f94117a9aa63d 94555 09-Apr-2002 trawick

mention the fix for parsing certain AP_DECLARE_DATA decls; for some platforms that fix is crucial

67f62b7a48ff9eb8d9f31898dceaf9f89280a723 94544 08-Apr-2002 dougm

PR: Obtained from: Submitted by: Daniel Lopez <daniel@covalent.net> Reviewed by: dougm, rbb add optional fixup hook to proxy

9d3fdc3bb8077a46851080e17ef9f16c83720c8f 94541 08-Apr-2002 trawick

Remind the admin about the User and Group directives when we are unable to set permissions on a semaphore. PR: 7812

0d24ea1c99d2267096caaf0843c7e5a1ac6b7c0b 94531 08-Apr-2002 mjc

Fixup product name PR: Obtained from: Submitted by: Reviewed by:

219472ea2d5f1563509321d8b8a91b116792bf7a 94527 07-Apr-2002 dougm

PR: 7802 Obtained from: Submitted by: Reviewed by: fix compilation problem in ssl_engine_kernel.c if SSL_LIBRARY_VERSION >= 0x00907000

c048b545f06921f53ceb830b30f99aed7b369d95 94526 07-Apr-2002 dougm

noteworthy since yesterdays change actually fixes the problem

0ea12b5dcb3d1d399f9bff6f56fb445d80205f9d 94520 07-Apr-2002 striker

Update CHANGES to reflect the mod_dav change.

621bd763d2e4d32f19013ac8b76b375b5a01851f 94515 07-Apr-2002 dougm

fix ProxyPass when frontend is https and backend is http

3eb95d6629bb326ae90e5eec693b7e628951751b 94475 06-Apr-2002 rbb

Bump after the tag and roll

cba0728e3535ee87e89cdb3cb54ce91eda18f6cc 94465 05-Apr-2002 aaron

Update mod_rewrite to use the new APR global mutex type.

a45de374fb215f294eb1369d4406ac79d6596ee1 94458 05-Apr-2002 brianp

Document the mod_include fixes from yesterday

7f14bcf6b594703df385ce84ba2ee3cdf3ccbae4 94442 05-Apr-2002 trawick

implement FOREGROUND for perchild and beos MPMs too

0007bb1e01dd762bde7280beb57113309c1715a3 94441 05-Apr-2002 trawick

worker MPM: add -DFOREGROUND option to use when you want the parent process to run in the foreground (NO_DETACH is a special mode for running under programs like daemontools) the existing flag -DDEBUG turns on FOREGROUND now instead of NO_DETACH

a1be7357e2c08b9dfe52c277063d212d65b15fee 94434 04-Apr-2002 jim

Added support for Posix semaphore-based mutex locking (AcceptMutex posixsem). It's between pthread and sysvsem in the DEFAULT priority ranking. This makes it the new default for Darwin, and adds support for it for other platforms as well (like Solaris). PR: Obtained from: Submitted by: Reviewed by:

6682df9b639663c50f447e5690dd62cce7b1c086 94432 04-Apr-2002 trawick

AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE environment variables in the envvars file.

51c0f0fe0a49a180389009442a83f74b1916f96a 94420 03-Apr-2002 trawick

worker MPM: Don't create a listener thread until we have a worker thread. Otherwise, in situations where we'll have to wait a while to take over scoreboard slots from a previous generation, we'll be accepting connections we can't process yet. Don't let the listener thread clobber the scoreboard entry of the first worker thread.

7e8bc9ca9d1e752f6ca6debec6be8addae8bd72e 94417 03-Apr-2002 trawick

Allow worker MPM to build on systems without pthread_kill(). Submitted by: Pier Fumagalli (and mangled by Jeff)

ecb511c254d5affe7cc018482d53c19aaf145878 94368 02-Apr-2002 jerenkrantz

Prevent ap_add_output_filters_by_type from being called in ap_set_content_type if the content-type hasn't changed. Reviewed by: Ryan Bloom

60b83cd8f9427809082340cfd7581091990962f5 94366 01-Apr-2002 jwoolley

And it only took me what, 10 months? :)

e93624301705e3dc68992e3b488a764389eb8b98 94358 01-Apr-2002 trawick

Don't allow initialization to succeed if we can't get a socket corresponding to one of the Listen statements.

f33c2c86b419be97248c5289b71738b5f0c7ab0a 94355 01-Apr-2002 dirkx

Made AB's use of the Host: header rfc2616 compliant as reported by Taisuke Yamada <tai@iij.ad.jp> PR: Obtained from: Mailing list Submitted by: Taisuke Yamada <tai@iij.ad.jp> Reviewed by: Dirk-Willem van Gulik

d56d6753a75f5b915120c797aedbfcf13bb14c8b 94353 01-Apr-2002 rbb

A bunch of Perchild changes.

4aaf7088758ca56823e585969320f2405a7cc5fc 94348 31-Mar-2002 dougm

it is sunny and warm in tahoe, still plenty of snow on the mountains

4da4d1ae427ee8827c2325dd121ac05a83afd579 94347 31-Mar-2002 wrowe

Roll these changes into 2.0.34

e0596968fe84a2bdaebe0192d8d64d2e9856d4d6 94344 31-Mar-2002 brianp

Removed the single-byte header reads from mod_cgid

383a9c6af58f5a670e8ef8b7f222ce71dbb7bee5 94315 29-Mar-2002 dirkx

Removed email address on request - as obviscation was slammed down on the list - and Google is your friend in any case

c5fdaba2e790a0a351d796b5fe3dcfb585be1ba2 94306 29-Mar-2002 jim

The old, legacy (and unused) code in which the scoreboard was totally and completely contained in a file (SCOREBOARD_FILE) has been removed. This does not affect scoreboards which are *mapped* to files using named-shared-memory at all. This implies that scoreboards must be based, at some level, on native shared memory (mmap, shm_open, shmget, whatever), but the code has assumed that for quite awhile now. Having the scoreboard be *based* on a file makes no sense today. PR: Obtained from: Submitted by: Reviewed by:

2fc50921b88defeb7127985dfe4b4130175e069e 94304 29-Mar-2002 jwoolley

BUCKET FREELISTS Add an allocator-passing mechanism throughout the bucket brigades API. From Apache's standpoint, the apr_bucket_alloc_t* used throughout a given connection is stored in the conn_rec by the create_connection hook. That means it's the MPM's job to optimize recycling of apr_bucket_alloc_t's -- the MPM must ensure that no two threads can ever use the same one at the same time, for instance.

CHANGES STATUS include/ap_mmn.h include/http_connection.h include/http_protocol.h include/httpd.h modules/arch/win32/mod_isapi.c modules/cache/mod_file_cache.c modules/dav/fs/repos.c modules/echo/mod_echo.c modules/experimental/mod_cache.c modules/experimental/mod_case_filter.c modules/experimental/mod_case_filter_in.c modules/experimental/mod_charset_lite.c modules/experimental/mod_deflate.c modules/experimental/mod_disk_cache.c modules/experimental/mod_ext_filter.c modules/experimental/mod_mem_cache.c modules/filters/mod_include.c modules/filters/mod_include.h modules/generators/mod_asis.c modules/generators/mod_cgi.c modules/generators/mod_cgid.c modules/http/http_core.c modules/http/http_protocol.c modules/http/http_request.c modules/mappers/mod_negotiation.c modules/proxy/proxy_ftp.c modules/proxy/proxy_http.c modules/ssl/ssl_engine_io.c modules/test/mod_bucketeer.c server/connection.c server/core.c server/error_bucket.c server/mpm/beos/beos.c server/mpm/experimental/perchild/perchild.c server/mpm/mpmt_os2/mpmt_os2_child.c server/mpm/netware/mpm_netware.c server/mpm/perchild/perchild.c server/mpm/prefork/prefork.c server/mpm/winnt/mpm_winnt.c server/mpm/worker/worker.c server/protocol.c server/util_filter.c
47638f4a67ce38e5a83e7a303d6f2d5c9ff47b4e 94295 29-Mar-2002 brianp

Document the variable expansion enhancements for mod_include

82630c4a04be47f39298d3284b2c596244fb509b 94284 29-Mar-2002 brianp

Fixes for three problems in mod_include: * The ctx->tag_length computation in find_end_sequence() was a bit broken in cases where there was a "false alarm" match on a partial "-->" * The ap_ssi_get_tag_and_value() function needs to avoid walking off the end of the string. After debugging this some more, I ended up using Cliff's original patch. * Infinite loop in is_only_below()

35d682920b0b7073bb9ff8c8794f0f73e3ee1a47 94272 28-Mar-2002 slive

Update Redhat layout to v7. PR: BZ-7422 Submitted by: Joe Orton

a2d4f1da4e19836b2d6a673f80f33381a926a8bd 94241 27-Mar-2002 dougm

add entry for sslc compat layer changes

30b4a330a5f651eb5198fa93dbb9f3d3594564c9 94240 27-Mar-2002 stoddard

Add a new parameter to the quick_handler hook to instruct quick handlers to optionally do a lookup rather than actually serve content. This is the first of several changes required fix several problems with how quick handlers work with subrequests.

983988ac7b8faaf037f4df0ab29729cd047a3ffd 94232 27-Mar-2002 trawick

worker MPM: get MaxRequestsPerChild to work again by allowing the main thread of a child to be interrupted by one of the other threads in the process this should get graceful termination to work after encountering one of the various possible error conditions in the listener and worker threads

7a64b871b8b5e5a427b570e90f0e38e88266c783 94221 27-Mar-2002 jim

Document the APR change that bubbles up to affect Apache. The default ordering of the accept metux method has been changed to match 1.3

17895aa4b66b8af02d8788b15cb92e1f6a8ecafc 94191 26-Mar-2002 wrowe

Up to .35 [no need to call out .35-dev in changes, that's just silly.]

c25203fdca093d4504c51b4cd974ff60d5aa4fb1 94190 26-Mar-2002 wrowe

Ready for .34 evaluation.

a736bac16e58d5e96945f35ee3c43a2cd2f5d37e 94188 26-Mar-2002 jerenkrantz

Ensure that the build directory is created when using VPATH. Previously, configure would try to write config_vars.mk into build without ensuring that that directory existed first.

797d596a95d4f9900e83ec18295b4ca4951bf763 94187 26-Mar-2002 jerenkrantz

Add text/xml, audio/mpeg, video/quicktime support to mime magic file. (Justin changed the audio/mpeg sequence to match file(1)'s listing.) Minor style changes in nearby areas. PR: 7730 Submitted by: Linus Walleij <triad@df.lth.se> Reviewed by: Justin Erenkrantz (forward ported from revision 1.5 of apache-1.3/conf/magic)

f8daf64667c8f58631844cb460099333eabfe68b 94184 26-Mar-2002 gregames

make it harder for spammers to harvest this email address in the future.

5842e6b336b1cc0252b6cc2944dd81c7d3a19a1b 94151 24-Mar-2002 brianp

Changed mod_cgi to not do single-byte reads to consume the script headers

2532433e80d73506f7bcc18bd0dab686f1c39397 94133 22-Mar-2002 minfrin

When a proxied site was being served, Apache was replacing the original site Server header with it's own, which is not allowed by RFC2616. Fixed. PR: Obtained from: Submitted by: Reviewed by:

c148bc6b4eea544af816783400362f741c5f5fc2 94116 22-Mar-2002 trawick

Fix a mod_cgid problem that left daemon processes stranded in some server restart scenarios. It relied on getting SIGHUP to die, but it wasn't careful about establishing the SIGHUP handling it needed so after apachectl restart, SIGHUP was ignored since the new cgid daemon process inherited a signal(SIGHUP,SIG_IGN) done by the MPM during its restart logic.

9d432e23f6025b78322cbee43e8e89262a108e5e 94108 21-Mar-2002 aaron

Added exp_foo and rel_foo variables to config_vars.mk for all Apache and Autoconf path variables (like --sysconfdir, --sbindir, etc). exp_foo is the "expanded" version, which means that all internal variable references have been interpolated. rel_foo is the same as $exp_foo, only relative to $prefix if they share a common path. This will be used in apxs.in and apachectl.in to allow Apache installs to be relocated as long as the same relative directory structure remains. Currently this is only possible if you use the Apache layout, but not with other layouts or any overridden --foodir paths.

6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8 94106 21-Mar-2002 trawick

Don't drop connections during graceful restart. Previously, worker threads could exit even though there were connections waiting in the queue. Now, for a graceful restart the worker threads won't exit until they are told that the queue has been drained and no more connections will ever be added.

10306ac2c175f420e6989568f4c8535a5dbc1349 94083 21-Mar-2002 minfrin

Change the header merging behaviour in proxy, as some headers (like Set-Cookie) cannot be unmerged due to stray commas in dates. PR: Obtained from: Submitted by: Reviewed by:

b4e4d76bf454e1b603b410110356dbcf12f3bc42 94055 20-Mar-2002 jim

Bring 2.0 up to parity, a bit, with how much info we provide to the admin regarding valid values for AcceptMutex. Should also tell 'em what "default" actually maps to, but that can wait. PR: Obtained from: Submitted by: Reviewed by:

adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4bece 94052 20-Mar-2002 trawick

Get nph- CGI scripts working again by avoiding filters that can't possibly deal with a script that generates the protocol header. PR: 8902, 8907, 9983

71f891073f6fa0209870791f64cbbf28d77ffdc1 94049 20-Mar-2002 brianp

Updated version of the PCRE lib under httpd-2.0/srclib

2864362ca8266097928e84f101010bdf814ffa08 94028 20-Mar-2002 stoddard

Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType filters during call to ap_rset_content_type()

893c106ae59d8e96d921524b123ae26dea8ad37f 94023 19-Mar-2002 gstein

Bump ap_mmn for the M_INVALID change. Add a note to CHANGES. Submitted by: Dale Ghent <daleg@elemental.org>

3aa6444bcee4e9fc32ec8860d832ff83a15784ef 94019 19-Mar-2002 ianh

my i key is broken PR: Obtained from: Submitted by: Reviewed by:

fe3985bdae620017e65c680bcadfbfbf456b9a3d 94018 19-Mar-2002 ianh

remove sock_enable_linger (unused function) PR: Obtained from: Submitted by: Reviewed by:

e2bdfd25d9d0461e0a3ab18ceff2113215e3e115 94014 19-Mar-2002 brianp

Forgot to document this when I committed the patch yesterday...

b9fe73991e7c592a634242a7e11f924689f58e1f 94004 18-Mar-2002 gstein

A little mgmt overhead for the mod_dav API change.

d9fcdb415d8661cbd9451df8f88e003a1aa04ce9 93999 18-Mar-2002 trawick

Fix a hang condition with graceful restart and prefork MPM in the situation where MaxClients is very high but much fewer servers are actually started at the time of the restart. The way we notify an entire generation to die at once is changed so that we don't have to use the pod (and deal with the ease of filling the kernel pipe buffer).

81b8d0f83e9d0bc2bf6900fc680737e0cac439a2 93984 17-Mar-2002 brianp

Added a note about mod_include optimizations

b5033962c73a470b6f36a3ac796c542a6ab4ddf6 93977 17-Mar-2002 brianp

Use the "recent time" cache to optimize timestamp generation for the httpd error log Background: According to some profile data that we collected on Solaris, half the run time of ap_log_rerror() was spent in localtime(3). With this change, the recent-time cache ensures that the error logger won't cause more than one localtime() call per second, no matter how high the error rate is.

d7856f850b9b51165f23ae381a891bda894e1373 93963 16-Mar-2002 ianh

Solaris 8 doesn't have a thundering herd problem according to the sun experts

d75626f0952c6152a99acd013a4f127d46f0f9ed 93952 15-Mar-2002 trawick

Allow URIs specifying CGI scripts to include '/' at the end (e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs which ignore '/' at the end of the names of non-directories). PR: 10138

ab2053f3cdda69cfa5e4ce0800ea7af203cc6d5d 93942 15-Mar-2002 dougm

PR: Obtained from: Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: dougm implement SSLSessionCache shmht and shmcb based on apr_rmm and apr_shm

6f0dd808a674b7c09a625b36f320030f4e339f8f 93937 14-Mar-2002 aaron

This was fixed last week but I didn't notice the bug report or the STATUS entry until today. The bug report had to do with recursively removing all CVS directories from a person's home directory. PR: 9993

88ecd979f1112454432371f55a1420240fae3743 93923 14-Mar-2002 trawick

Fix apxs -g handling. Move config_vars.mk from the top build directory to the build directory. Get build/rules.mk cleaned up for distclean/extraclean. PR: 10163 (This is the 2nd of two commits for that PR. The first was to apxs.in -- rev 1.35.)

548e06e26f5377b2efbb7e0dab20f536e5e24160 93916 13-Mar-2002 trawick

Fix some mod_include bugs which broke the evaluation of some expressions. There are a few instances of the same basic problem which are not yet fixed and which I have marked with /* XXX.*FUBAR*/. PR: 10108

c02a689f2274966ed5d1c16207f74b5128c35c86 93901 13-Mar-2002 trawick

fix the calculation of request time in mod_status (currently nobody sets the start/stop times so this fix isn't immediately apparent) Submitted by: Stas Bekman Reviewed by: Jeff Trawick

f51dbb1f5b66d94b5c190bfcd444aa73bdc2b176 93900 13-Mar-2002 trawick

Fix the calculation of thread_num in the worker score structure. Submitted by: Stas Bekman Reviewed by: Jeff Trawick

aa202cda00837ed5381d5f67254e08c565a5c3a8 93889 13-Mar-2002 stoddard

Enable mod_mem_cache to use apr_atomic operators in managing cache_object reference counting. Enabled by default via the USE_ATOMICS preproc directive. This compiles cleanly and serves pages on Windows. Not compiled or tested on any other OS.

94f4821a5444a4fe782f772aef5db4d8b839675d 93818 09-Mar-2002 jerenkrantz

Add a missing manualdir entry in the Debian layout. Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz

2a49e30bae376c9744b96c8681ab88122ccaa46c 93816 09-Mar-2002 jerenkrantz

Stop copying APR's libtool. And pass enough parameters to apr's subconfig so that it can figure out where we would like libtool to be installed.

afef080e47ef499a5cbceb7ad7fadbb3abca0b48 93811 09-Mar-2002 minfrin

New directive ProxyIOBufferSize. Sets the size of the buffer used when reading from a remote HTTP server in proxy. Modify receive/send loop in proxy_http and proxy_ftp so that should it be necessary, the remote server socket is closed before transmitting the last buffer (set by ProxyIOBufferSize) to the client. This prevents the backend server from being forced to hang around while the last few bytes are transmitted to a slow client. Fix the case where no error checking was performed on the final brigade in the loop. PR: Obtained from: Submitted by: Reviewed by:

c49200a2bdbb8fa1f2e5c3b87cc497ecdeefa8fe 93810 09-Mar-2002 minfrin

Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change CacheMaxExpire and CacheDefaultExpire to use seconds rather than hours. PR: Obtained from: Submitted by: Reviewed by: Bill Stoddard

103005439776bb7aeccb95ebf4761ebfef3f9c39 93788 08-Mar-2002 ianh

new directive SSIUndefinedEcho. this allows webadmins to change the default '(none)' to something a bit more presentable (eg <!-- undef -->) PR: Obtained from: Rex (the hack he had to fix this was so ugly I was forced to do this) Submitted by: Reviewed by:

92d311b27a6182c2eed67317990c8c168584ee75 93787 08-Mar-2002 trawick

implement a common function for getting a socket and trying to connect to the target host; use that common function for proxy HTTP and proxy CONNECT In that new function, fix this problem: Proxy HTTP and CONNECT: Keep trying other addresses from the DNS when we can't get a socket in the specified address family. We may have gotten back an IPv6 address first and yet our system is not configured to allow IPv6 sockets. An example host is www.ipv6.org. The first address I get back is an IPv6 address, but my machine may not be configured to allow an AF_INET6 socket. Before the fix: The apr_socket() failure was fatal. After the fix: When apr_socket() fails, we go to the next address from the resolver, successfully create a socket in the specified family (AF_INET), and all is well. (an unrelated fix in this commit was to pass a server_rec in a broken ap_log_error() call)

744ecbcc06a9128fc4730d1334cc180bf7fc521c 93767 07-Mar-2002 aaron

It is bad to recursively remove every CVS directory in a person's home directory. Bad bad bad. Make sure the variable was set to something before cd-ing to blank and ending up in their $HOME.

59511de77b389ced52253d055fc470ecfedfcd99 93765 07-Mar-2002 aaron

Mention adding a missing errordir entry in the Debian config.layout.

b5cdec7910a44654cb254b99c5a39d7c180c4bca 93758 07-Mar-2002 jerenkrantz

Oh Yoko!

6c2dc61d4760fa5e356f95c4b1685eec7f1d75dc 93739 06-Mar-2002 aaron

Fix a problem in the new --enable-layout functionality where it wouldn't allow overrides from variables like --prefix, --bindir, etc. Mention my fix to the core input filter for the AP_MODE_EXHAUSTIVE case.

3a9c3ec5357b36fc34766cb8166168311af3562f 93737 06-Mar-2002 rbb

bump after the tag.

393bfaab1beb2410959a4a5e91f58446f01bac09 93734 06-Mar-2002 rbb

Push for a new tag. PR: Obtained from: Submitted by: Reviewed by:

01e8aca9299a0b872414c24c8b7724d6f88ae665 93733 06-Mar-2002 ianh

apr-utils rename apr_ansi_time_to_apr_time and apr_exploded_time_t. PR: Obtained from: Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Ian Holsman

f783dff0c8b69344a6b67e97f16b91f8b0790799 93621 28-Feb-2002 dougm

PR: Obtained from: Submitted by: Reviewed by: add note about ssl restart changes. s/mod_perl/mod_ssl/ in bill's note.

6362515725d2b6d66ac3b26531f8c53ac75f8c20 93608 27-Feb-2002 wrowe

I hope this explanation is simple enough - comments welcome. When you touch CHANGES - remember they are for the 'common man', not just us :-) Legibility is important.

98ae9b96926a3dd99b195d7628c7e527e720f6ac 93600 27-Feb-2002 aaron

Fix --sysconfdir and --localstatedir, which were being ignored. Fix --enable-layout to work. showstoppers-- Note: As far as we can tell, autoconf will not let us override our layout settings from paramers like --prefix, etc. This is unfortunate, but we will not let this get in the way of --enable-layout working. This will be made clear in the docs. PR: 9124, 9873, 9885, 9888

9379749d811388a7d0e3410940ddd6743a33d330 93597 27-Feb-2002 jim

Add the ProxyRemoteMatch directive to the mod_proxy code. Doccos to be done soon

b8c2b4dfc363e33a8a1c2464802c3fb05cab86bb 93589 27-Feb-2002 wrowe

Clarity on a snowy night in Illinois.

f37499bf7da81cd6b697d4667233137957426428 93588 27-Feb-2002 jerenkrantz

Don't set bytes_sent to be 0 when r->assbackwards since this screws up logging. The content length filter seems to track bytes_sent properly regardless of HTTP version. The HTTP header filter knows not to send C-L (or any headers) to this client. showstoppers--; (Also fix typo of my last name in CHANGES...)

421dc1d123c9adda60e024f93fb614bfada8b9e5 93587 27-Feb-2002 wrowe

Whoh boy that's rough... We sometimes like to answer SIGHUP in the parent process, don't we? This -was- post-fork() in 1.3, but with the massive restructuring, we inadvertantly now whack the parent process.

83d91d60d00dc345bfbcbc48ff206db4a6b23b2e 93584 27-Feb-2002 aaron

All the work on the lock APIs probably deserves a little note, and besides the module authors will appreciate the note directing them to the new APIs. showstoppers-- Also, fast_redirect is lame, toss it.

c10fe96ac7d024918e26af6c8ba5470273b75bb2 93564 25-Feb-2002 jwoolley

Forward port of changes in mod_ssl for Apache 1.3 up through mod_ssl version 2.8.7-1.3.23.

83ca150ef902e9692972aa923e893bc6406d20f1 93553 23-Feb-2002 ianh

make it work with flushes make the false alarm not as generic PR: Obtained from: Submitted by: Reviewed by: Ian, Brian, Justin

7a8a0744e378f2343c3ee6787fac0f8f959d2141 93544 23-Feb-2002 brianp

Added ap_get_input_filter_handle() and ap_get_output_filter_handle() Submitted by: Ryan Morgan Reviewed by: Brian Pane

f5ce2873c97c12a34d6b03d2771b9250b7bbfe55 93537 22-Feb-2002 wrowe

Good things for beta testers to know have been fixed.

73cba74a34576f7ece4bd98fd58c8a932a178e6d 93536 21-Feb-2002 aaron

Mention the -DNO_DETACH changes (to implement apr_proc_detach prototype change). This removes a non-showstopper "nice-to-have". :)

29c30db45f6a469017e16b606611e460cc1a1f2c 93533 21-Feb-2002 aaron

Convert mod_auth_digest to use the new apr_global_mutex_t type. Added some comments that will help us make this more portable. tmpnam() is not portable to platforms that will not inhereit the process, so we need to pull the lock filename from somewhere shared, like a configuration directive.

095071bbd0b3ccccd6883edc7cd10f13cac71160 93532 21-Feb-2002 ianh

fix problem where a unmatched tag was not sent if it was at the end of a bucket Obtained from: Alla Teper noticed it Submitted by: Reviewed by: Cliff/Justin

a322a82f79b790fb7ddcd7df4459d20725450fa7 93530 21-Feb-2002 trawick

Convert the ap_queue_foo routines to return apr_status_t as appropriate.

21644b4d1b09d0531911a8c9a891819a261480f8 93527 21-Feb-2002 minfrin

Some browsers ignore cookies that have been merged into a single Set-Cookie header. Set-Cookie and Set-Cookie2 headers are now unmerged in the http proxy before being sent to the client. Fix a problem with proxy where each entry of a duplicated header such as Set-Cookie would overwrite and obliterate the previous value of the header, resulting in multiple header values (like cookies) going missing. PR: Obtained from: Submitted by: Reviewed by:

bf5cf58cc30750e9f9764cc830aff426ced288f9 93523 21-Feb-2002 aaron

Placing the thread-limit and server-limit values, those which define the size of internal structures in the scoreboard, actually into the scoreboard allow third-party applications to access those structures. Submitted by: Adam Sussman <myddryn@vishnu.vidya.com> Reviewed by: Aaron Bannert

7cdc36a99b42a3c5e36ac47726ad41c9c7b039ce 93520 20-Feb-2002 ianh

Fix segfault in proxy PR: Obtained from: Submitted by: Reviewed by:

cbfbf9598d686b11afc7a9f9d91a8facfdfa7216 93518 20-Feb-2002 trawick

on OS/390, instdso.sh should just use libtool, since libtool for OS/390 is very Apache-friendly and doesn't play with the names of DSO files

fe808620434aa59b796e8b60cd6eec65a32dfc2d 93503 19-Feb-2002 stoddard

More info for folks searching the CHANGES file

e37c657172940f82d9b28a45fc1304140eb0b1d7 93502 19-Feb-2002 stoddard

This fixes a bug in mod_status on Windows where restart time was not properly initialized. Move ap_restart_time into the scoreboard global area so the child process on non-forking platforms can have access to it.

5f08a022a210f4e511561e89f500621a15e6177d 93494 19-Feb-2002 trawick

fix a v4-specific INADDR_ANY check that kept name-based virtual hosts from working with IPv6

6db5333c9461942b8af724b101e687af541d4d4c 93490 19-Feb-2002 jerenkrantz

Introduce AddOutputFilterByType directive. AddOutputFilterByType DEFLATE text/html (I will add docco soon, I promise. If someone beats me to it, cool...)

d4fcf63a5d9171d50c0d04e05a35ec6bf1f85100 93474 18-Feb-2002 jerenkrantz

Fixup DEBUG_CGI code paths to compile and not leak fds. PR: 9670, 9671 Submitted by: David MacKenzie <djm@pix.net> Reviewed by: Justin Erenkrantz

dee6a8bde4d598087dc4b3ebf3d4dd06809d2dd7 93473 18-Feb-2002 jerenkrantz

Cite PR 9669 submitter.

edd6c1f4be1aa23fc99134802941397f7f31b3d5 93441 16-Feb-2002 jerenkrantz

If the file specified by SSLMutex cannot be created (because the directory does not exist for example), children will segfault on init without giving any reason that the user can figure out. This happens because the module init in the parent never checks to see if the mutex intialization succeded. This patch adds this check and a user-friendly error message. (Justin made one formatting change to this patch.) Submitted by: Adam Sussman <myddryn@vishnu.vidya.com> Reviewed by: Justin Erenkrantz

d7d551e53cdfb3288eb651447d7209599c40d17e 93439 15-Feb-2002 stoddard

Add a reference counter to the mem_cache_object_t and code to manage deleting the cache_object after the reference count drops to 0. Not fully tested yet..

956a1511249b1fec73aaee0fb7d69c8492aa1368 93437 15-Feb-2002 aaron

Change the verbage on the ScoreBoardFile in our default configs. Also change the default to be commented out (unspecified) so we get anonymous shared memory by default.

d0e4ca9bfd8bf44bea574733965851bfee939d95 93436 15-Feb-2002 aaron

Fix a nice-to-have non-showstopper -- change the semantics for how we create a scoreboard from the ScoreBoardFile directive.

a4b3fb28f3d2e0983b15b4c6828c6980f2fc9b15 93428 15-Feb-2002 jerenkrantz

- Unset content-length in mod_deflate so that the network-layer filters are free to do what they want and that no C-L is improperly returned. - Allow non-GET requests and non-html responses to be compressed. Submitted by: Sander Striker <striker@apache.org> Reviewed by: Justin Erenkrantz

548b2980e83f609186a76e98fb245d02e8547bc3 93425 15-Feb-2002 jerenkrantz

Fix ap_directory_walk() per-dir merge bug seen when no <Directory /> is present. showstoppers-- Kudos to Jeff for finding it. Kudos to BrianP for leading us in the right direction. Kudos to OtherBill for pointing out the right way to fix this.

e54b09d79ca9bc18ea5ae33367fd907473621dce 93422 15-Feb-2002 jerenkrantz

Just toss these debug messages since so many people use httpd with LogLevel 'debug' and complain if they see anything that says "error" in it. This case isn't even interesting unless you are hard-core.

edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79e 93414 14-Feb-2002 jerenkrantz

Welcome to .33-dev.

3dacbb0a9d24ff7178be1d79846225549719c0c7 93412 14-Feb-2002 jerenkrantz

Bump for .32

6a84843726dac1fabd13c38a0cbc76c7a533defa 93411 14-Feb-2002 jerenkrantz

Temporarily remove changes that aren't in JRE_1 (aka .32) tag.

1ecda3fde491718356a809741b967ad878a9f7b9 93407 14-Feb-2002 aaron

Take care of a couple quickies -- mod_cgid shutdown and signals in the worker MPM (one_process case).

3264438575d967c19e5fab7f18f9487a1e4860b5 93386 13-Feb-2002 brianp

Performance optimization: updated the worker MPM to recycle per-transaction pools instead of destroying them. Based on Ian's benchmark testing, this reduces CPU utilization by about 1% on Solaris.

1582553026e5e3a1921a34222eaee923fddee9b9 93384 13-Feb-2002 wrowe

Spell out some changes

0733b4ac1b339822a5b506be8a28fea6e384cbfe 93362 11-Feb-2002 trawick

style/spelling tweaks

bd214bbc8d9db9d6d1dcb6b24462e6d1da8e8bbb 93360 11-Feb-2002 stoddard

Make apache -k shutdown an alias for apache -k stop. "shutdown" maintained for backward compatability.

08698b2e73e9301c834d6d1213a3fa3df724c6ba 93359 11-Feb-2002 stoddard

Get apache -k restart -n apache2 working reliabily again.

ae513479ef15ec9f76aa7b0ecb618ecfcdeb211c 93358 11-Feb-2002 rbb

Remove all signal handling from the worker MPM's child processes. Instead, we use the pipe of death for all communication between parent and child.

064448ce15afe798e3c1dc0445fe2a30eb256bf6 93356 10-Feb-2002 gregames

prefork shouldn't be killing its parent if a child runs out of resources.

762c82a23cc3ddaac92f941b2f871e94efdf4e6b 93334 08-Feb-2002 gregames

update CHANGES for an input side seg fault fix. also, get rid of a mainframe term that somehow leaked into a comment which might confuse people.

fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefc 93331 08-Feb-2002 aaron

Allow statically linked support binaries with the new --enable-static-support flag, and enable this behavior in the binbuild script. Also add a new --enable-static-htdbm flag. BTW, this takes care of 7/8th of a showstopper.

d56c38bfb6293bfff7c980858b19e32039106618 93329 07-Feb-2002 jerenkrantz

Allow mod_autoindex to serve symlinks if permitted and optimize our stats so that only one stat() is needed. If we get APR_FINFO_MIN bits, lookup_dirent won't do a repeated stat() call. So, let's do it here. Also, if we see a symlink, expand it. (Technically, we don't *have* to expand the symlinks - the resolve_symlink fix handles that, but we can't really assume that.) Since we know that dirent will be rr->finfo anyway, go back to relying on dirent only for APR_DIR checks.

7c301a1818939f85da8f3629cc3e9b5588610ef0 93328 07-Feb-2002 jerenkrantz

Fix resolve_symlink to save the original symlink name if known. We would previously receive APR_INCOMPLETE on symlinks if wanted has FINFO_NAME set because it isn't supported via apr_stat(). Furthermore, we don't care what the real name is anyway (even if it apr_stat returned .name) - we want to call it by the name the symlink says it is.

a7fb6d64e059872d5410e873b7f492d62a5cf916 93296 06-Feb-2002 rbb

Be a bit more sane with regard to CanonicalNames. If the user has specified they want to use the CanonicalName, but they have not configured a port with the ServerName, then use the same port that the original request used. Submitted by: Ryan Bloom and Ken Coar

a985ccb3ebd4be0fda23a0ce9ad95fd233089463 93262 05-Feb-2002 trawick

In core_input_filter, check for an empty brigade after APR_BRIGADE_NORMALIZE(). Otherwise, we can get segfaults if a client says it will post some data but we get FIN before any data arrives.

b38e777d859d8cfaa91820b03705cf86c0143d96 93256 05-Feb-2002 jwoolley

Vetoed by Ken

20736c8304f3c099043df4e691afc16ee7df7d8d 93250 05-Feb-2002 jwoolley

List files that would result in HTTP_UNAUTHORIZED in addition to successes and redirections, since there's a chance the client will actually have the proper authorization to retrieve them. Reported by: Stas Bekman

af262486b3d1c33299307195a715bd1e373f99af 93227 04-Feb-2002 rbb

Not being able to bind to a socket is a fatal error. This makes all MPMs treat it as such. We now print a message to the console, and return a non-zero status code.

628ce9384209a460022be952ccdcc8538ad3ca84 93223 04-Feb-2002 slive

suexec: Allow HTTPS and SSL_* environment variables to be passed through to CGI scripts. PR: 9163 Submitted by: Brian Reid <breid@customlogic.com>, Zvi Har'El <rl@math.technion.ac.il> Reviewed by: Joshua Slive, Lars Eilebrecht, Martin Kraemer

2b9a9a94658c0febcad2f76621b2d5ab856edc6a 93184 02-Feb-2002 trawick

binbuild.sh: Make sure that we use the expat from our source tree so that there aren't any surprises on the target machine.

f6f453bf03007f391d347dc821e507cdd924d1bf 93170 01-Feb-2002 trawick

mod_cgid: Add retry logic for when the daemon can't fork fast enough to keep up with new requests. Start using HTTP_SERVER_UNAVAILABLE instead of HTTP_INTERNAL_SERVER_ERROR when we can't talk to the daemon.

205f4595abf32ae208958d7f8abea68b335c9f39 93168 01-Feb-2002 trawick

apxs: Let the LTFLAGS environment variable override the default --silent flag. Previously you had to edit the generated apxs to get rid of --silent.

ec27fa24eb4c7287899f158c2dab67d8a6ef042a 93165 01-Feb-2002 ianh

bloody tags sorry for the spam PR: Obtained from: Submitted by: Reviewed by:

1078b2c97bb39352bae929d2ed3f290a420470a7 93164 01-Feb-2002 ianh

and back to 32-dev PR: Obtained from: Submitted by: Reviewed by:

b6135e7458bf348c694157b042786562d2b86e18 93163 01-Feb-2002 ianh

push the scoreboard patch into .31 PR: Obtained from: Submitted by: Reviewed by:

611e46c801a6bd62e58a7f68abe1d2bbba473a92 93160 01-Feb-2002 aaron

Create the scoreboard (in the parent) in a global pool context, so it survives graceful restarts. This fixes a SEGV during graceful restarts.

449efc4dc68e42cc4421d15498a689618aab5dc3 93143 31-Jan-2002 coar

If the RedirectMatch target is an abs_path, make it an absoluteURI

a877b7d5d03f91d6c93076d9ccf14469c70c648d 93137 31-Jan-2002 coar

Fix RedirectMatch so it won't emit invalid Location fields.

c112fe124337b13198d6e7c527d3991540744bf1 93124 31-Jan-2002 jerenkrantz

A LF here, a CR there, a CRLF for all else...

a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9 93123 31-Jan-2002 ianh

32-dev is now it PR: Obtained from: Submitted by: Reviewed by:

fcef0136828a2525b702f4a2ac465bd789cc5686 93122 31-Jan-2002 ianh

its tag time v31 is being tagged

4224d5789080ea5586d49420da1e1996f5653bb5 93117 30-Jan-2002 ianh

add a ProxyTimeout directive

2d2e3667d789f527a04ce6a0089621470c8143cc 93109 30-Jan-2002 martin

Describe the proxy_ftp changes: FTP directory listings are now always retrieved in ASCII mode. The FTP proxy properly escapes URI's and HTML in the generated listing, and escapes the path components when talking to the FTP server. It is now possible to browse the root directory by using a url like: ftp://user@host/%2f/ (ported from apache_1.3.24) Also, the last path component may contain wildcard characters '*' and '?', and if they do, a directory listing is created instead of a file retrieval. Example: ftp://user@host/httpd/server/*.c

9b0141308bc27f61d82742c198356975aa6b488a 93096 30-Jan-2002 brianp

Added logic to the worker MPM to skip the poll before accept if there's only one listener socket (based on the implementation in the prefork MPM). This also enables us to do single-listener unserialized accept

fd3fa792f04fc9c4e8f5f83dceb0fc34e71f8570 93089 29-Jan-2002 ianh

new directive 'ProxyPreserveHost' which allows the incoming host line to be sent to the proxied server. Submitted by: g.russell@ieee.org (1.3 version) Reviewed by: Ian Holsman/Graham Legget/Chuck Murcko

22d348febc3c258df246ac93e37945398dbf0348 93086 29-Jan-2002 ianh

configuration change. allow a '!' directive to stop proxying these requests eg. ProxyPass /services/images/ ! ProxyPass /services/ http://service-machine/services/ which will stop requests to /services/images/ from being proxied Submitted by: Jukka Pihl <jukka.pihl@entirem.com> Reviewed by: Ian Holsman, Graham Legget, Chuck Murcko

62af8654f682ca4913636bae099bec0befab985c 93071 29-Jan-2002 trawick

Don't let the default handler try to serve a raw directory. At best you get gibberish. Much worse things can happen depending on the OS. This can happen when autoindex isn't loaded. On AIX, I had a directory file which was reported to be 1536 bytes in size. mmap() failed so we went to the fall-back logic. The first read() got 624 bytes and the next read() got 0 (supposedly EOF). This confused us greatly, we kept allocating buffers and reading and exercised the paging space. Reviewed by: Bill Rowe

1e557a77c091a1d2f2872872a7c20e9f2ffccbc1 93064 29-Jan-2002 aaron

Mention the pre_config prototype change, and fix some grammar.

5e98e52df07f59be456af01ebf46d81defef2385 93060 28-Jan-2002 trawick

Fix some unix socket descriptor leaks in the handler side of mod_cgid (the part that runs in the server process). Whack a silly "close(-1)" in the handler too.

7a95e47ff0d0e4306df0901d56131b49dca5691e 93055 28-Jan-2002 trawick

fix the problem where a scoreboard init failure could leave mod_cgid stranded a pre_mpm hook can now return failures, so problems in ap_create_scoreboard percolate back to a place where Apache can exit cleanly

b393bdb2e1eabbe4b9b37c5eaeeeca799b2eb324 93050 27-Jan-2002 stoddard

Remove the create_connection hook and put the client_socket back into the conn_rec. The create_connection_hook has a design flaw that prevents it from making decisions based on vhost information.

3cd826b00280881e5a2f03d8ec1f8d55802b93de 93045 27-Jan-2002 wrowe

Which PR? I can't count them all. Get QUERY_STRING and PATH_INFO working again. Also rounds out our fix to work around negotiated directories which Greg Ames fixed; this addition in request.c simply shortcuts all further processing.

435c423bdcfa61ff871a9e289d1140f2bac839b8 93039 27-Jan-2002 brianp

Added new functions ap_add_input_filter_handle() and ap_add_output_filter_handle() There are many places in the core modules where we do ap_add_input_filter() or ap_add_output_filter() on a hardcoded filter name (e.g., "CORE" or "BYTERANGE"). This requires a string-to-filter mapping that wastes CPU time. (Even though the string lookup uses a trie for speed, it still ranks as a big consumer of CPU time because of the large number of filters added per request.) The new ap_add_*_filter_handle() functions will allow us to skip the string-to-filter mapping in cases where the module adding the filter happens to have the ap_filter_rec_t* for the registered filter (e.g., because it's the same module that registered the filter in the first place).

bf9e1eb04f8b0af835d15ac1d0ebcd8a154474cf 93032 25-Jan-2002 jerenkrantz

Grammar police coming through

e93cea6246ce30bf9791530a15c56f9e2eecf9cb 93031 25-Jan-2002 ianh

ta da

f65342c1467751310036d4f9d75f554eaaf01cc6 93027 25-Jan-2002 wrowe

No. I don't like this patch. I like what it does [shared scoreboard for Windows, finally] but not how it's implemented. However it works, and is equally crufty to what already exists for win32 listeners and other exposed data within scoreboard.c. To do this right, we need to drop all the external references to data within the scoreboard, and add an accessor for remaining bits (such as Win32's need for direct access to the apr_shm_t.) And within Win32, we need to stack all this _within_ the pre-mpm hook. But those are missions in and of themselves.

960eba6c6d512880c3ed0516f5d15c6e7bc7581a 93017 25-Jan-2002 jerenkrantz

I Heard It Through The Grapevine...

45613d36b9466a48def0498cffa07f48980720f8 93011 25-Jan-2002 jerenkrantz

Rewrite ap_rgetline to remove the need to have an "internal" brigade stored in the core_module structure by using the AP_MODE_SPECULATIVE filter mode to determine if MIME-continuation should occur. Notes: - ap_rgetline has a new prototype. - ap_rgetline returns APR_ENOSPC when we are out of buffer space. All direct callers of ap_rgetline are now adjusted to handle this new API. ap_getline will mimic the old API for now. Reviewed by: Ryan Morgan

6f912b4ad14f622aa8d57f887c8c745e13ff6dbf 93010 25-Jan-2002 jerenkrantz

Remove mod_auth_db since we've received enough votes (Justin, Ian, and Lars) and ample warning has been posted to dev@httpd. mod_auth_dbm should be able to take over all functionality of mod_auth_db with the AuthDBMType directive.

1abe6003aeb198cc97263503bceed457a6c2cb4a 92979 23-Jan-2002 aaron

Currently pcre/config.h and pcre/internal.h are getting installed - it seems they aren't used, and adding a rogue config.h into the include path can cause problems for a module which picks it up. (Better late than never -- this patch was submitted Fri, 7 Dec 2001.) Submitted by: Joe Orton <joe@manyfish.co.uk> Reviewed by: Aaron Bannert

cbd8d35ca8d9780f1081f30ebfe4abda44cab7eb 92956 21-Jan-2002 ianh

These changes are to allow caching of subrequests via a quick_handler. * Change SUBREQ_CORE so that it is a HTTP_HEADER (20) filter instead of a content filter (10) this allows subrequests to add content filters properly * Change subreq handling of 'handle-include' so that it splits/passes the brigade before the subreq is created. (This allows quick_handler to push content back from this phase)

3ad5a1fa75e728431fa7b8e3d8a74bcadcd79d4d 92938 20-Jan-2002 lars

Rename BeOS MPM directive RequestsPerThread to MaxRequestsPerThread.

3fde4c273ea649d1320ec9c51e7d096cd9340a94 92928 19-Jan-2002 jerenkrantz

Input filtering prototype change: Socket blocking type should be separate from the input filter mode type. We also no longer look at readbytes to determine the method of filter operation. This makes the use of filters more obvious and allows a wider range of options for input filters modes. To start with, the new input filter modes are: AP_MODE_READBYTES (no more than *readbytes returned) AP_MODE_GETLINE (old *readbytes == 0 case) AP_MODE_EATCRLF (old AP_MODE_PEEK) AP_MODE_SPECULATIVE (will be used in a future ap_getline rewrite) AP_MODE_EXHAUSTIVE (old *readbytes == -1 case) AP_MODE_INIT (special case for NNTP over SSL) The block parameter is an apr_read_type_e: APR_BLOCK_READ, APR_NONBLOCK_READ This also allows cleanup of mod_ssl's handling in the getline case. Reviewed by: Ryan Bloom (concept), Greg Stein (concept)

75eee56d2eaac9c27d32fc46b90bb6b1eac85359 92914 18-Jan-2002 trawick

Fix a segfault in mod_include which was found by Sander Striker using an APR_POOL_DEBUG/ElectricFence build.

741a54303329728b27fe347447a362e1c576135e 92913 18-Jan-2002 trawick

fix a typo in a recent entry

0dc14774d2c21baf6123fcafdb853af5be1d97ed 92901 18-Jan-2002 wrowe

Footnote on this chapter. A cold and bitter Chicago night tonight.

9f62694a8b4e2b88994a14555d144b3836b311cf 92894 17-Jan-2002 stoddard

On HPUX 11.x, the 'ENOBUFS, No buffer space available' error occures because the accept() cannot complete. You will not see ENOBUFS at 10.20 because the kernel hides any occurrence from being returned from user space. ENOBUFS at 11.0 TCP/IP is quite possible, and could occur intermittently. As a work-around, we are going to ingnore ENOBUFS. Submitted by: madhusudan_mathihalli@hp.com Reviewed by: Bill Stoddard

52489511342e4ff3fe399e57f29d38e5c4227bc8 92882 17-Jan-2002 trawick

Fix a problem in the parsing of the <Proxy foo> directive.

8864d6f5f4744b5d2b638e2a53e2660bcf8b5ab5 92873 17-Jan-2002 dougm

rewrite of mod_ssl input filter for better performance and less memory usage PR: Obtained from: Submitted by: Reviewed by: Justin Erenkrantz

ea512a4af20e6b6e6931de4929d54d93f03a0139 92862 16-Jan-2002 ianh

quick handler now runs on subrequests as well PR: Obtained from: Submitted by: Reviewed by:

1dfb5e008f35ed13c343b7f6306675e33c399792 92849 14-Jan-2002 gstein

Note the change in the mod_dav provider API.

eadb64379834961679105b7fd4178253fbb9f95d 92841 13-Jan-2002 trawick

mention a fix that brianp committed last night

c7e917aa56886c47bfe061c5e9f603a5aaef0d87 92835 12-Jan-2002 trawick

Move a check for an empty brigade to the start of core input filter to avoid segfaults. Using prefork MPM and APR_POOL_DEBUG and ElectricFence, I found a couple of paths where weren't able to report APR_EOF all the way back up the call tree, leading us back into core_input_filter with an empty brigade. Some of the paths in core_input_filter handled it, some didn't.

b8daf4c5ea3d5bb2111b1b021de6d3cd891e403b 92830 11-Jan-2002 coar

Bring forward the FileETag directive enhancement from 1.3.23-dev. (Passes all 61 of the apache/etags.t test.) Bump MMN due to change to core_dir_config structure (new fields at end).

6b6083e6518007139257ee449c2af3032d2437d0 92827 11-Jan-2002 trawick

Fix a segfault in mod_rewrite's logging code caused by passing the wrong config to ap_get_remote_host().

88dd056b9863502bba82c2889a0c4cde9fc0ba93 92826 11-Jan-2002 trawick

Allow mod_cgid to work from a binary distribution install by using 755 for the permissions on the log directory instead of 750.

7ef3a1797818c6d25efe8c5fadb5eec3b965a6fa 92821 11-Jan-2002 brianp

Fix for a segfault in the worker MPM during graceful shutdown: The per-transaction pools in the worker MPM can't be children of the listener thread's pool, because that pool may go out of scope while some workers are still procesing requests using the transaction pools.

1e83c8de3aa48b316b28057d53995272baf1260c 92804 10-Jan-2002 wrowe

*) Split all Win32 modules [excluding the core components mod_core, mod_so, mod_win32 and the winnt mpm] into individual loadable modules, so the administrator may individually disable the former compiled-in modules by simply commenting out their LoadModule directives. [William Rowe] *) Saved Win32 module authors and porters many future headaches, by duplicating the appropriate .h files such as os.h into the include directory, including in the build tree. [William Rowe] Also noticed that version stamp resources weren't generated for proxy modules, this too is now fixed.

Apache.dsp Apache.dsw CHANGES Makefile.win docs/conf/httpd-win.conf libhttpd.dsp modules/aaa/mod_access.dsp modules/aaa/mod_auth.dsp modules/aaa/mod_auth_anon.dsp modules/aaa/mod_auth_dbm.dsp modules/aaa/mod_auth_digest.dsp modules/arch/win32/mod_isapi.dsp modules/cache/mod_file_cache.dsp modules/dav/fs/mod_dav_fs.dsp modules/dav/main/mod_dav.dsp modules/filters/mod_include.dsp modules/generators/mod_asis.dsp modules/generators/mod_autoindex.dsp modules/generators/mod_cgi.dsp modules/generators/mod_info.dsp modules/generators/mod_status.dsp modules/http/mod_mime.dsp modules/loggers/mod_log_config.dsp modules/mappers/mod_actions.dsp modules/mappers/mod_alias.dsp modules/mappers/mod_dir.dsp modules/mappers/mod_imap.dsp modules/mappers/mod_negotiation.dsp modules/mappers/mod_rewrite.dsp modules/mappers/mod_speling.dsp modules/mappers/mod_userdir.dsp modules/mappers/mod_vhost_alias.dsp modules/metadata/mod_cern_meta.dsp modules/metadata/mod_env.dsp modules/metadata/mod_expires.dsp modules/metadata/mod_headers.dsp modules/metadata/mod_mime_magic.dsp modules/metadata/mod_setenvif.dsp modules/metadata/mod_unique_id.dsp modules/metadata/mod_usertrack.dsp modules/proxy/mod_proxy.dsp modules/proxy/proxy_connect.dsp modules/proxy/proxy_ftp.dsp modules/proxy/proxy_http.dsp modules/ssl/mod_ssl.dsp os/win32/BaseAddr.ref os/win32/modules.c server/mpm/winnt/mpm_winnt.c support/win32/ApacheMonitor.dsp
7f683bb300df767164724ebc664f339ac396b434 92800 10-Jan-2002 dougm

mod_ssl adjustments to help with using toolkits other than OpenSSL: Use SSL functions/macros instead of directly dereferencing SSL structures wherever possible. Add type-casts for the cases where functions return a generic pointer. Add $SSL/include to configure search path. PR: Obtained from: Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: dougm

24766eeb1d6f38ad84a57cf1170e387e76596de5 92798 10-Jan-2002 ianh

wrowe's veto'd this.

d074c3962f27dda3f31ba07991a18d16b44f1555 92793 10-Jan-2002 ianh

oops. forgot this file PR: Obtained from: Submitted by: Reviewed by:

26dfa083a1662d57ba7cc410eec4e0696b9be469 92791 10-Jan-2002 wrowe

This patch eliminated from the _SHARED_ segment of the scoreboard all pointer math. This is required for portable scoreboards. vhost becomes the 'vhost name string' so it now survives ap_generation clicks. next was apparently never used. This patch also accounts for the changes to the apr_shm api, and gives Win32 the magic of a shared scoreboard. Breakage aplenty on non-win32 platforms, I suspect, but this radical surgery, and culling of unused functions, was really, really needed.

4760aa1f19600972cf531ad7da73c1ee5a0225ce 92789 10-Jan-2002 dougm

get SSLRandomSeed exec: working by passing the proper arguments to apr_proc_create()

87a1c79b7b37702a254920ca5214fb282a4fb085 92786 09-Jan-2002 dougm

get SSLPassPhraseDialog exec: working by passing the proper arguments to apr_proc_create() PR: Obtained from: Submitted by: Reviewed by:

6a01f2d5ec2024b68edd1d42056b41a88dc0a935 92782 09-Jan-2002 aaron

Welcome to 2.0.31

994c3fbc3335e8fe883b1ce4515efc0c85061cdf 92780 09-Jan-2002 aaron

About to tag 2.0.30

e93d563852e1fa7a8c73af3b807916b41942d2f6 92770 08-Jan-2002 dreid

Update the FreeBSD saga...

525508562a53864b78cf8da91ac13be9c072bba7 92743 06-Jan-2002 jerenkrantz

Fix a typo in mod_deflate's m4 config section. Submitted by: albert chin (china@thewrittenword.com) Reviewed by: Justin Erenkrantz

f1fe10268cdadb775eef841aa4fa7305291d35fd 92735 04-Jan-2002 trawick

for proxy CONNECT handling: don't hard-code the address family of the target; respect what the resolver told us get a new socket each time we try to connect to one of the target addresses as reported by the resolver; you can't portably attempt to connect more than once on the same socket this is the same fix committed to proxy http support yesterday

f04ad0ba7fe0eea5ea7a92f852cef75747ab2090 92727 04-Jan-2002 trawick

Fix a couple of mod_proxy problems forwarding HTTP connections: (1) PR #9190 It failed to connect to IPv6 hosts. (2) It failed to connect when the first IP address returned by the resolver was unreachable but a secondary IP address was. PR: 9190 (partly)

65a1588701f9e5d0f62261d0da85733a23edc92f 92716 03-Jan-2002 trawick

Fix the module identifier as shown in the docs for some modules. PR: #9338 Submitted by: James Watson <ap2bug@sowega.org>

d5d164b22a2004abed640cb52fc275f00ed92f69 92700 02-Jan-2002 jerenkrantz

Fix LimitRequestBody directive by moving the relevant code from ap_*_client_block to ap_http_filter (aka HTTP_IN). This is the only appropriate place for limit checking to occur (otherwise, chunked input is not correctly limited). Also changed the type of limit_req_body to apr_off_t to match the other types inside of HTTP_IN. Also made the strtol call for limit_req_body a bit more robust.

360a9d933a8c25f5975e0ddc883607a5d37e408e 92693 31-Dec-2001 stoddard

Fix mod_proxy seg fault when the proxied server returns an HTTP/0.9 response or a bogus status line. Submitted by: Adam Sussman Reviewed by: Bill Stoddard

9b8afc47122e9b0eabb860b6ba2cf9c061c6060f 92692 31-Dec-2001 stoddard

Prevent mod_proxy from truncating one character off the end of the status line returned from the proxied server. Note that buffer is NULL terminated by the call to ap_proxy_string_read() so there is no need to terminate it again. Submitted by: Adam Sussman Reviewed by: Bill Stoddard

a21148678a1459064627d917a66669e7e8d140e6 92690 31-Dec-2001 stoddard

Eliminate loop in ap_proxy_string_read(). Need to be able to handle getting an empty brigade from ap_get_brigade(). Also made sure that we always call ap_get_brigade() in readline mode. Submitted/Reviewed by: Adam Sussman & Bill Stoddard

c6a9d49433c9ba5b18b26c3d764f1bbcb9746090 92676 31-Dec-2001 wrowe

Ever tried to extract some value of QUERY_STRING from within SSI? Now you can :) Provides $0..$9 results for any regex evaluation, and strengthens the expr parser for regex expressions.

51be7fc538641ed7cb22e959eb31629f7183f70f 92660 30-Dec-2001 ianh

allow mod_include to handle different start/end tags instead of the default <!-- --> ones. PR: Obtained from: Submitted by: Reviewed by:

bb6a7fc0427d0d197c50de34b94a0d23e5732696 92656 30-Dec-2001 wrowe

New directive, new docs

0632de713e41fa3aa928a1777677b0d79843ae2b 92644 29-Dec-2001 dougm

roy requested an entry for the various ssl improvements from late november.

decd0c23bb26f6662f4b963cf86ee569613bffea 92636 28-Dec-2001 gregames

make note of mod_cgid-suexec fix

e1753aabf5df187b5b04e72a958af4b65b1a125d 92630 27-Dec-2001 aaron

Two fixes in one: - No longer calls exit() when the secret fails to initialize, instead post_config just returns !OK and lets the server bail out. - No longer fails on DSOs -- since we load-unload-reload DSOs we lose any static memory that was initialized during the first load. This patch allows us to simply pass on the first call to post_config, and then do the initialization in the second call. Tested to work on Linux from an IE5.0 client.

e57f991fe2b9a4c080cd50ca913a2a5693b096b5 92628 27-Dec-2001 aaron

showstoppers--

924c8dd40352ca7775704a31a7a77ab86dc951b4 92616 27-Dec-2001 ianh

add a 'AuthDBMType' so that users can select what type of DBM they want to use to authenticate users. I think this removes a 'showstopper' (deprecating mod_auth_db)

910df8b3f50a0515b430b999d4750de94c509f2a 92607 26-Dec-2001 trawick

Fix matching of vhosts by ip address so we find IPv4 vhost address when target address is v4-mapped form of that address. This problem was reported by Don Hughes.

0d628dd174dd6de13463b10d2599f6cac24e9fe8 92604 26-Dec-2001 brianp

Rearranged the code in mod_include's BNDM string-search function for faster execution. This new code short-circuits out of the inner scanning loop after a single comparison when it hits a character not in the "<!--#" pattern. Compared to the previous code, this version does more work for characters in the pattern and less work for characters not in the pattern. In practice, the net result seems to be a speedup for typical shtml files, where characters in the pattern are less common than characters not in the pattern.

2fee4fe267fa3577fd71d8c314fe9b527e2b90c0 92603 26-Dec-2001 brianp

Added an update covering misc performance fixes in 2.0.30

7bf77d70b6830636bc36e6b76a228c301be23ff7 92599 25-Dec-2001 brianp

Fixed a segfault that occurred during startup if a VirtualHost directive had a port but no address Reported by: Don Hughes <support@sannotes.org>

185b73b1f914e5d8f99f31225cc656b882dcbf73 92591 24-Dec-2001 ianh

allow htdbm to work with multiple DBM types by using a new option '-T' ps.. why doesn't this program use apr_getopt??

6ef713e25735887d4a59a879b97a68bd575ecb92 92583 23-Dec-2001 trawick

add ThreadLimit/ServerLimit to perchild

cef5cb47e2ea4c174c01762d4430613db0f41e5c 92551 20-Dec-2001 stoddard

Add note to CHANGES about apr_sendfile fix in APR. This will likly fix several bugs reported against Apache 2.0.28 on Windows 98

1eb1f02a23de724c105b2c6c9fbd469a611059c6 92530 19-Dec-2001 trawick

Add directives to worker and preform MPMs so that the admin can set the equivalent of HARD_SERVER_LIMIT/HARD_THREAD_LIMIT at startup.

8abd60101b9794e224795ccf68b8ba984efbc94a 92522 18-Dec-2001 stoddard

Win32: Fix bug that could cause CGI scripts with QUERY_STRINGS to fail. Gotta allocate enough space for that NULL string terminator :-)

ca47a2b6bcea23e8af185c68f256dcbbfd2a0f9d 92512 18-Dec-2001 trawick

Change core code to allow an MPM to set hard thread/server limits at startup.

CHANGES include/ap_mmn.h include/http_connection.h include/httpd.h include/scoreboard.h modules/http/http_core.c server/connection.c server/core.c server/mpm/beos/beos.c server/mpm/beos/mpm_default.h server/mpm/experimental/perchild/mpm.h server/mpm/experimental/perchild/mpm_default.h server/mpm/experimental/perchild/perchild.c server/mpm/mpmt_os2/mpm_default.h server/mpm/mpmt_os2/mpmt_os2.c server/mpm/mpmt_os2/mpmt_os2_child.c server/mpm/netware/mpm_default.h server/mpm/netware/mpm_netware.c server/mpm/perchild/mpm.h server/mpm/perchild/mpm_default.h server/mpm/perchild/perchild.c server/mpm/prefork/mpm_default.h server/mpm/prefork/prefork.c server/mpm/spmt_os2/mpm_default.h server/mpm/spmt_os2/spmt_os2.c server/mpm/winnt/mpm_default.h server/mpm/winnt/mpm_winnt.c server/mpm/worker/mpm_default.h server/mpm/worker/worker.c server/mpm_common.c server/scoreboard.c
26d590c0e5338f66ca1aad6f925374843fac5121 92500 17-Dec-2001 stoddard

Win32: The async AcceptEx() event should be autoreset upon successful completion of a wait (WaitForSingleObject). This eliminates a number of spurious setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.

d472f67198d6b15dd1270136f180cca9c9263243 92490 15-Dec-2001 trawick

Move any load library path environment variables out of apachectl and into a separate environment variable file which can be more easily tailored by the admin. The environment variable file as built by Apache may have additional system- specific settings. For example, on OS/390 we tailor the heap settings to allow lots of threads.

a3bb95a3600153c7f09f62749e32093658943c32 92482 14-Dec-2001 brianp

Use the new APR pool code to reduce pool-related lock contention in the worker MPM. Submitted by: Sander Striker Reviewed by: Brian Pane

b760518cc17e7124ba546ed63063603f1ab82a40 92437 13-Dec-2001 aaron

Fix a bug in how we select the IP for the POD to connect to for dummy connects (dislodging a doomed child from the accept mutex). No longer do we assume that the child is listening to 127.0.0.1, but instead we just pick the first hostname/port from the listen rec.

23d8f62856c1531526042e1c5edf44557cadd2e5 92412 10-Dec-2001 trawick

get worker MPM to respect the LockFile setting

705c8ed3ef608706c91ca12483d7b54ff9007cc9 92387 08-Dec-2001 jerenkrantz

Fix segfault when restarting worker MPM. We can not examine the POD as a normal listener. There was an additional bug than what Ian submitted to fix listen.c (i.e. check sa for null): make_pipe_of_death does not zero out lr->bind_addr (since it uses apr_palloc). So, on Solaris, the first time through, bind_addr was probably 0, but the second time, not (pools!). (This caused Aaron's analysis that the patch worked the first time, but not the second time.) Submitted by: Ian Holsman Reviewed by: Justin Erenkrantz, Aaron Bannert

c6741d11357aace4c9ba39535d3cb2d751f46114 92376 07-Dec-2001 trawick

make sure mod_foo.so is installed by apxs -i also, it is the .so file that needs to be executable, not the .la file

ef154948c97c53cdc1ad5329cb83c32ad26cf416 92374 07-Dec-2001 aaron

Fix bug that could potentially prevent perchild from working with more than one vhost/uid.

7230f1eb017a35b7d20e0e9ec0d234766f2a732d 92370 07-Dec-2001 trawick

Do special install processing for Apache DSO modules on HP-UX, Tru64, and AIX so that we get mod_foo.so installed instead of the stuff that libtool installed.

86a5d34400b7f586ad2cca97c8b33b2f55bac61b 92343 05-Dec-2001 trawick

separate logic specific to building Apache DSOs from logic needed when anybody's DSOs should be built (e.g., via apxs) so that on a few platforms with special issues third-party modules can be loaded as long as mod_so is built into httpd

6b477c0a238733ca8fd156629310513d29dc7e02 92327 05-Dec-2001 trawick

Allow apxs to be used to build DSOs on AIX without requiring the user to hard-code the list of import files. (This should help on OS/390 and BeOS as well.) Trivial change: just stick the value of SH_LDFLAGS on the libtool --mode=link line.

2b31ac2c6342d2afcf67b7b0f08c928a87f98c74 92301 03-Dec-2001 wrowe

Resolved segfault in mod_isapi when configuring with ISAPICacheFile. PR: 8563, 8919

557eb8d48357657fa898250560f089c65539c634 92299 03-Dec-2001 gregames

get binbuild working when apr, apr-util, and expat are built shared in directories that are not well known to the loader. How it works: * libtool figures out the name of this system's library path environment variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr configure time (existing code) * save this variable name in SHLIBPATH_VAR in APRVARS * substitute this name when apachectl is created * uncomment the lines containing this variable during binbuild * install_bindist.sh updates the path to lib/ when the binary is installed (existing code) not done yet, but a good idea: * create a file or directory containing all environment variable settings for apachectl. Others env vars need to be tweaked, at least on AIX and OS/390, so keeping them separate should reduce headaches long term.

25b715e9687f82ea055fdea2a9761c7e5f1ac6ee 92276 01-Dec-2001 trawick

Get shared builds of libapr and libaprutil, as well as Apache DSOs, working on AIX. Submitted by: a cast of many, reverse engineering libtool to figure out how to work around its oddities/limitations/ bugs on AIX (Jeff Trawick coded these changes but it took a lot of help)

51ced3b28ef430a96586284d4320f7dbdaf7225e 92275 01-Dec-2001 brianp

Fix the handling of SSI directives in which the ">" of the terminating "-->" is the last byte in a file (previously, the output of the directive was lost in this case).

a222035458f89e2db231450ba6d5fae8052da5f5 92255 30-Nov-2001 aaron

Add back in the "suEXEC mechanism enabled (wrapper: /path/to/suexec)" message that we had back in apache-1.3 and is still scattered throughout our docs. Unfortunately, when mod_suexec is a DSO we're going to get this thing twice in our logs. I believe as a side effect of the load-unload-load cycles of our DSOs we're losing the static data segment, which is where the "didn't we already report this" flag lives.

4a872628ca5bf20847f442a625c255b643120db0 92239 29-Nov-2001 wrowe

Prevent Apache from continuing to start when it's encountered a parsing error in the Win32 mpm's argv[] review. Reported by Grif Rosser <grifr@covalent.net>

74528257888620220641cd28366731539a37e1f3 92226 28-Nov-2001 ianh

make the proxy code spit out an error to the error log. This bit me when I included a 11th file no error message, nothing.

adb8c5e5291be5943122bbff404bc1018c79d555 92205 27-Nov-2001 ianh

welcome to .30

0cc82c261350ab8dc8a9992cad7197c4d22d597e 92202 27-Nov-2001 ianh

About to tag 29

855e263a93fde2e30d10a48a9ffc047039bfc9d9 92198 27-Nov-2001 brianp

Added an entry for the core_output_filter buffering improvements

54b3b7946d22324cea615d7c8a4ff0c9eadd1f8c 92164 24-Nov-2001 rbb

Fix the installation target to make sure that the manual is installed in the correct location. PR: 8851 Submitted by: Yoshifumi Hiramatsu <hiramatu@boreas.dti.ne.jp> and Gomez Henri <hgomez@slib.fr>

e28c02dc08247d3fcb71e81791cac2311a248dfd 92150 24-Nov-2001 rbb

Fix the cmd command for mod_include. When we are processing a cmd command, we do not want to use the r->filename to set the command name. The command comes from the SSI tag. To do this, I added a variable to the function that builds the command line in mod_cgi. This allows the include_cmd function to specify the command line itself. PR: 8772

f9f506f0686ad065b4c6fe14dd962cdd478350db 92149 24-Nov-2001 ianh

change open_logs hook to return a value, allowing you to flag a error while opening logs Obtained from: Doug MacEachern

9d0665da83d1e22c0ea0e5f6f940f70f75bf5237 92144 23-Nov-2001 ianh

Modify post_config hook so that it can return a error, causing the server not to start. previous method was to call exit(1) which would not fail gracefully PR: Obtained from: Submitted by: Reviewed by: (Idea only Jeff Trawick)

47c2fb4c1f155ddb6954e46e7f6d125eef78b3bb 92135 22-Nov-2001 aaron

Mention the new --with-suexec-bin parameter.

9ca934cec0a1cc3c425fde5dc51956bce6cd3183 92130 22-Nov-2001 brianp

fix segv in worker MPM following check_pipe_of_death() call

0cdca1e056a05a09fe16fe736abcf79969c9767e 92108 21-Nov-2001 jerenkrantz

Add mod_deflate (formerly known as mod_gz) to experimental. mod_deflate supports gzip transfer-encoding as an output filter. Initially coded by Ian, but Justin made a number of improvements to the coding style and its use of filters. We have 7 binding +1s and no vetos in STATUS for addition.

f2afeedf074acc1a698a9527154eacd138e6c5a1 92098 21-Nov-2001 trawick

Bail out at configure time if an invalid MPM was specified. Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com> Reviewed by: Jeff Trawick

0a2d57d962bef3a8898723925b3fb02d2e836994 92072 21-Nov-2001 dougm

Prevent segv in ap_note_basic_auth_failure() when no AuthName is configured PR: Obtained from: Submitted by: John Sterling <sterling@covalent.net> Reviewed by: dougm

06461d67f387ea068187e6dfa036875a8205c04c 92057 20-Nov-2001 jerenkrantz

apxs should be using sbindir not bindir for the path to the httpd binary. Committed with some minor changes. Submitted by: GOMEZ Henri <hgomez@slib.fr> Reviewed by: Justin Erenkrantz

900127764fb985c340ee4979cac97146a330c694 92054 20-Nov-2001 trawick

Get IPv6 vhosts working (again ?). There were a couple of bogus IPv4-specific comparisons which prevented the data structures from being built correctly in ap_fini_vhost_config(). One of these (INADDR_ANY) can be easily rewritten to work with IPv6. The other (DEFAULT_VHOST_ADDR) isn't necessary for IPv6. Note that this is because we don't support the various flavors of _default_ that Apache-1.3+KAME-patch supports. PR: 8118

1a6a0072a95887164091e366ba0e89c2b39a954a 92048 20-Nov-2001 brianp

optimized away some pointer arithmetic in the inner loop of the BNDM string-search function in mod_include

6f4c27ba6e152792f3729069e8d8313ebc87cc60 92040 19-Nov-2001 jwoolley

Fixed the behavior of the XBitHack directive. PR: 8804 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley

23ce412bd50a47accab4dd26019b78810bbf46eb 92036 19-Nov-2001 trawick

Get rid of threaded MPM. This commit has the actual code changes. The deletes come next.

6865813dee5d3c1ebf12dd810368171792a0190a 92032 19-Nov-2001 trawick

APR-ize the resolver logic in mod_unique_id. This fixes a bug in logging the error from a failed DNS lookup. Note: For a funky error scenario to work right (huge host name), this requires a tweak to apr_gethostname() which I have not yet committed.

97719ad970d779ac48af9364ab0ea9fdcc27470a 92026 18-Nov-2001 jwoolley

Don't know why these were missing... just an oversight, I'm guessing?

5ad238c42b1e159ee8f164515e0c4ee6c727c2fd 92019 17-Nov-2001 trawick

Get mod_cgid killed when a MPM exits due to a fatal error. Presumably other such processes are affected to. Now we give main() a chance to clean up.

ba00c3b7c20f00ce631b89ae3b1cd3bae8d1b165 91963 15-Nov-2001 rbb

Fix a file descriptor leak in mod_include. When we include a file, we use a sub-request, but we didn't destroy the sub-request immediately, instead we waited until the original request was done. This patch closes the sub-request as soon as the data is done being generated. This passes all tests in the test suite. Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Ryan Bloom and Cliff Woolley

6e954603b02f2b7d4ad80af17d9b3cc6f0bacf69 91916 13-Nov-2001 rbb

Allow modules that add sockets to the ap_listeners list to define the function that should be used to accept on that socket. Each MPM can define their own function to use for the accept function with the MPM_ACCEPT_FUNC macro. This also abstracts out all of the Unix accept error handling logic, which has become out of synch across Unix MPMs. The code flow is much easier now for different transports: 1) During pre-config, post-config or while parsing the config file, add a socket to the ap_listeners list, making sure to define an accept function at the same time. 2) MPMs find the correct listener, and call the accept function that was defined in step 1. 3) That accept function returns a void pointer, which is passed to the create_connection hook. 4) create_connection adds the correct low-level filters.

fa449f5bc87c5d87c4c60e778c9c882e7254de7e 91900 13-Nov-2001 jwoolley

Fix a bug which would cause the response headers to be omitted when sending a negotiated ErrorDocument because the required filters were attached to the wrong request_rec. Submitted by: John Sterling <sterling@covalent.net> Reviewed by: Justin Erenkrantz, Cliff Woolley

227d23a7db41dd89f52391c9356dbb1adcd675e0 91898 13-Nov-2001 jwoolley

I was originally just going to s/commans/commas/, and then I got carried away and rewrote half the paragraph. <sigh>

1c0b7c3bdace07946457fa7ba04b7f97b6599792 91896 13-Nov-2001 rbb

Remove commas from the end of the macros that define directives that are used by MPMs. Previous to this patch, you would use these macros without commans, which was unlike any other directives. Now, after the macro, you must have a comma. This makes the macros look more like the rest of the directives. I know this is cosmetic, and I was going to leave it alone, but when I found out that it bothered Cliff too, I decided to fix it after all. Submitted by: Ryan Bloom and Cliff Woolley

17bc0e8f2e3816e25bc8fd3fadf39357340aebd0 91895 13-Nov-2001 jerenkrantz

Document the new 'redirect-carefully' option.

e6cc28a5eb3371ba0c38e941855e71ff0054f50e 91887 13-Nov-2001 rbb

Begin to abstract out the underlying transport layer. The first step is to remove the socket from the conn_rec, the server now lives in a context that is passed to the core's input and output filters. This forces us to be very careful when adding calls that use the socket directly, because the socket isn't available in most locations.

cf233fb4b439415a2bf7bab7e622afd994e0bebf 91881 12-Nov-2001 trawick

threaded: Fix the resetting of MaxClients when it isn't a multiple of the number of threads per process.

ae64f3e7385f21ca9d4f30cc7f8702a9ac1034b6 91880 12-Nov-2001 trawick

Really reset the MaxClients value in worker when the configured value is not a multiple of the number of threads per child. We said we did previously but we forgot to.

2a20a2f8432a15b530e0a6b0998c32f40aef82a8 91879 12-Nov-2001 gregames

restore post-2_0_28 changes following tag bump

8d49090fd56a8ce06c7f7135f19e5ff8e24b5ff3 91877 12-Nov-2001 gregames

account for the mod_cgid fix being bumped into 2_0_28. The other changes will be restored soon.

270609308f247c5e934b400b5f1691c2cca16c61 91852 11-Nov-2001 jerenkrantz

apr_file_gets returns an apr_status_t not a char* and it returns APR_SUCCESS when it reads something (which is 0). Two of the cases were doing while apr_file_gets > 0 which would cause it to loop when it returned APR_EOF. So, the valid check here is to loop while we are receiving APR_SUCCESS. Fix all of the other apr_file_gets to check APR_SUCCESS explicitly so that it is obvious that we are checking an apr_status_t. Yes, 0 == APR_SUCCESS, but it obviously wasn't clear to someone what it was returning. Submitted by: Dale Ghent <daleg@elemental.org>, Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz

270d8fd6f87ff3ea1ab12aa0e934663217ee69ee 91851 11-Nov-2001 jerenkrantz

Add Debian Layout Submitted by: Daniel Stone <daniel@sfarc.net> Reviewed by: Justin Erenkrantz

fd4bb69e9a252501018469bab6961a329fabd171 91844 11-Nov-2001 jerenkrantz

If shared modules are requested and mod_so is not available, produce a fatal config-time error.

d081979209689f7816b4520b0e0fe093566a9b7f 91835 10-Nov-2001 rbb

Improve http2env's performance by cutting the work it has to do. Submitted by: Brian Pane <bpane@pacbell.net>

8d89aea1726567c698b5c24e82b4a951f498e588 91825 10-Nov-2001 ianh

use the new 'apr_hash_merge' function to do the overlays. In our testing this resulting in a large performance win (>5%) Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Ian Holsman

f99bffd6087564cf9c05cc29d1c6b38d94e0ed30 91808 08-Nov-2001 gregames

advancing release numbers to 2.0.29-dev after tag

45eb0a4c23c7eef8b3884f492d43f4e308eac632 91807 08-Nov-2001 gregames

about to tag 2.0.28

644be6f54749d2d9950d2c4d2ac448f7af016d26 91798 08-Nov-2001 martin

Fixed previous patch to reflect what Apache-1.3 did regarding self- referential uri's, and updated the manual accordingly. XXX There is a kludge here: XXX the port number from the client's Host: header used to be tossed, and there is no clean mechanism to pass it (in the request_rec) to other consumers. As the unparsed_uri structure (which could avoid repeated parsing of URI, Host, Port etc) seems to be mostly unused currently, I used that to pass the port.

8458877c9ba0af86acd590eea531476adde3d02d 91797 08-Nov-2001 martin

When no port is given in a "ServerName host" directive, the server_rec->port is now set to zero, not 80. That allows for run-time deduction of the correct server port (depending on SSL/plain, and depending also on the current setting of UseCanonicalName). This change makes redirections work, even with https:// connections. [Martin Kraemer]

b30b04f639d479b96cc08c43ffa34c92ba275676 91790 07-Nov-2001 ianh

Why can't babies wake up at 7am like normal people?

c4fbc4018fd2b6716673a38ee27eeb36cba41c5d 91777 07-Nov-2001 jwoolley

Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and AP_MPMQ_MAX_REQUESTS_DAEMON macros. Better to do it now rather than later. **WARNING** This will of course break the compile on any third-party MPMs you might have floating around, but it's a really quick change to make.

f4e4643c309e5b5da60e13f9a25984d54b307caa 91767 06-Nov-2001 wrowe

Submitted by: Mladen Turk <mturk@mappingsoft.com> htdbm provides a compiled interface to dbm authentication databases, using the compiled-in dbm manager and auth schema. Resolves the hassles of grabbing the appropriate cpan package for md5 and fixing the dbm engine for dbmmanage.pl.

2548497d480c4f3e9b3fe14711bd510aa2157434 91750 05-Nov-2001 gregames

replace 2.0.28-dev info after bumping the tag to 2.0.27

ccb5c3af2d491a7cd1c246cd23f0fb083da417fa 91748 05-Nov-2001 gregames

temporary commit to reflect ssl-std.conf being bumped into 2.0.27. Submitted by: Roy Fielding, Cliff Woolley

0e58e92812f2f679d6bf2ff66cbcfa6c1d1e14bb 91746 04-Nov-2001 jerenkrantz

This patch optimizes away some strlen and strcat calls in ap_directory_walk. The strlen calls, in particular, had ranked as a top bottleneck in the usr-space code in recent performance profiling. Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz

da6e93dca0222159650783802e23172e3160605e 91738 02-Nov-2001 gregames

restoring description of a post-2.0.27 change after bumping the tag.

e5f18d761853a41e7f744707a0f21c6faa2728a5 91737 02-Nov-2001 gregames

moving the description of this fix to 2.0.27. I bumped the tag on that fix, and will do so on this file in a sec, then re-commit this file.

c927e13f298c42251296d33cc1fa3eb8232b843d 91712 31-Oct-2001 aaron

One down...

0c516b9e02efc85c28e00b85a36f57032f0ba4fe 91707 31-Oct-2001 wrowe

Introduce an Apache mod_ssl initial configuration template (ssl.conf, generated from ssl-std.conf). [Ralf S. Engelschall] Revised Cliff's intro paragraph to point folks at docs until docs are provided. [Will Rowe]

cc74c371855cf2980f44bda6ddc622ba5a7bb0a2 91701 31-Oct-2001 gregames

bumping release number to 2.0.28-dev after tag

7dc0120bb19f36ebe066af107ad1d7c170aca4e2 91700 31-Oct-2001 gregames

bump release number to 2.0.27

9126ed10455a2a98a3a51c68ed1b356e1873e8e6 91683 29-Oct-2001 aaron

Via: header truncation bugfix.

fa3ca21e09bac0dbc2045e9f53963ba46cfed5b1 91674 27-Oct-2001 trawick

Some syntax errors in mod_mime_magic's magic file can result in a 500 error. Log the error so that it isn't so darn mysterious.

18acb2c0df442ead1d075a1a2207cbb197725b14 91670 26-Oct-2001 coar

Document the addition of checkgid to 2.0

617f972690d850a52cd4e9ef2f32d356e0fae715 91658 24-Oct-2001 aaron

Two more mod_so configure-time fixes: - Treat --enable-so=yes as "static" (this includes --enable-so, etc). - An explicit --enable-so=shared issues an error. Put in a note about the last condition that I'm not as sure how to fix: If the user doesn't explicitly request mod_so, but instead gives a mass-enable parameter like --enable-modules=most or --enable-mods-shared=most then it is still possible to enable a bunch of modules while mod_so itself is not buildable (ie no APR_HAS_DSO or other build dependency failure).

9278d5393ef084f4fc6d7ec8641af5959442c157 91657 24-Oct-2001 jwoolley

I guess this does deserve a CHANGES entry since the problem spanned versions...

022cff78006f698453640e0a0e97cc5f8c9de59d 91648 23-Oct-2001 rbb

Fix the reporting for child processes that die. This removes all of the non-portable W* macros from Apache. Submitted by: Jeff Trawick and Ryan Bloom

526a776292f420ffeea0d081c61971ed381fad20 91646 23-Oct-2001 stoddard

Win32: Track and display "Parent Server Generation:" in mod_status output. The generation will be bumped at server graceful restart, when the child process exits by hitting MaxRequestsPerChild or if the child process exits abnormally. [Bill Stoddard]

62ddc9851530478919d169ba9c34b80f60cf7718 91632 22-Oct-2001 trawick

Fix some bungling of the remote port in rfc1413.c so that IdentityCheck retrieves the proper user id instead of failing and thus always returning "nobody." Submitted by: Dick Streefland <Dick.Streefland@xs4all.nl> Reviewed by: Jeff Trawick

904d7bf799c6216beb34519463596b4fce630308 91612 21-Oct-2001 wrowe

Thread saftey lock for mod_rewrite's cache... I'm sure others will have some 'better ideas' but this will work for now. Submitted by: Brian Pane <bpane@pacbell.net>

17a4c6968b2fa692ff4dde12fe305230ee6b0421 91581 20-Oct-2001 aaron

Ugh, at least this got me away from the AIX build system for awhile...

83b031099aa3dc8a5fd2f708e397818cbd16c9aa 91572 19-Oct-2001 jerenkrantz

King of Love seems to be playing on my xmms right now...

01e77cadbd9ad4962993380245bcc033dde523e4 91508 16-Oct-2001 rbb

Remove all of the ldap modules. These have been moved to their own repository, httpd-ldap, and they now form their own sub-project of the httpd project.

8ea9794272347cfdd92861f46295406649f01afa 91494 16-Oct-2001 trawick

Exit when we can't listen on any of the configured ports. This is the same behavior as 1.3, and it avoids having the MPMs to deal with bogus ap_listen_rec structures. This also backs out some circumventions I and Greg Ames had added to prefork; these are no longer necessary because of this change.

b900452c9c36031434d318880f023c0fb9143325 91486 16-Oct-2001 rbb

Cleanup the proxy code that creates a request to the origin server. This change adds an optional hook, which allows modules to gain control while the request is created if the proxy module is loaded. The purpose of this hook is to allow modules to add input and/or output filters to the request to the origin. While I was at it, I made the core use this hook, so that proxy request creation uses some of the code from the core. This can still be greatly improved, but this is a good start.

452d2fd15cebd2da9331d5d765558a60b488c1a9 91485 16-Oct-2001 rbb

Bump after the 2.0.26 tag.

43053faf24ffe7657bb32bc06d4058dedf3ef053 91484 16-Oct-2001 rbb

Bump the versions for the 2.0.26 tag.

c453a141db60a5b19649eac508f4851a8729c556 91483 16-Oct-2001 rbb

Port the MaxClients changes from the worker MPM to the threaded MPM.

8b91dcac0e1ef7796c72d16b0962267313cac486 91436 11-Oct-2001 jerenkrantz

Teach mod_proxy to live with the new filtering scheme. Tested with www.yahoo.com (Conn: Close), www.apache.org (CL), and www.apple.com (TE: Chunked).

6ce942b017db75b559a42bdc2d7b8ea9e869a956 91419 11-Oct-2001 wrowe

Close the mod_mime file extension matching issue by (as Ken Coar suggests) allowing users to continue to rely on the old 1.3 behavior of matching Any extensions, the strict behavior of matching NegotiatedOnly arguments, or including Handlers and Filters with the MultiviewsMatch directive for mod_negotiation control. Unfortunately, the component matching occurs in mod_mime, so that's where this option must reside.

7dfed2b71c9c4223996cbd7c5c0c85c7c8fef2a4 91415 11-Oct-2001 rbb

Fixed the configure script to add a LoadModule directive to the default httpd.conf for any module that was compiled as a DSO. Submitted by: Aaron Bannert <aaron@clove.org>

574f6ff9ee80ef4f772649c5c8319b764a8abe42 91414 11-Oct-2001 jerenkrantz

This is the mod_ssl input filtering rewrite. Lots of stuff here. I also changed some of the style issues within the filtering code to conform to the rest of the server. Various incarnations of this patch have been posted to dev@httpd without feedback. Now that it passes all of the httpd-test cases (with the exception of module/negotiation test which fails without mod_ssl anyway), it is time to check it in. Please review and test. We are under C-T-R rules, so I'm going to take advantage of that and commit it now. I have tested this about as much as I can and it seems to work from everything I can give to it. Considering that mod_ssl was broken before this commit, this is an improvement.

6d7d70dbda8e461d87f2d41e323755496ae3ebc7 91399 10-Oct-2001 trawick

prefork: Don't segfault when we are able to listen on some but not all of the configured ports. Other points to ponder: why no log message for the segfault? similar change would seem to be needed in other MPMs... we may be adding bogus entries to the poll set

22a25f3393393b781e214f4abef17950bcb8bbe3 91395 10-Oct-2001 jerenkrantz

Foo != Bar.

de63b1eeff87cd19cf42bb83cca85381026965dd 91394 10-Oct-2001 jerenkrantz

Remove ^M character. Someone thinks they are in DOS land.

a310497ca9c5112d759871e1b7d9f6a40fb78bcf 91377 09-Oct-2001 wrowe

Uhmm... time for a note about this.

8bda0627eb2aca9e678c1303a0423d33069388df 91343 07-Oct-2001 wrowe

Time to give up for the day, and grab a beer

f00bc25ff5027f3a40e9cd0ade782641bd0bf1d0 91337 06-Oct-2001 wrowe

Good to note

e36ef0d081aa59867688bcbb3da65952ec16fae3 91293 04-Oct-2001 rbb

Remove the Port directive. In it's place, the Listen directive is now a required directive, which tells Apache what port to listen on. The ServerName directive has also been extended to accept an optional port. If the port is specified to the ServerName, the server will report that port whenever it reports the port that it is listening on. This change was made to ease configuration errors that stem from having a Port directive, and a Listen directive. In that situation, the server would only listen to the port specified by the Listen command, which caused a lot of confusion to users.

52df98b165194a0ad68885f49f81fdaf56ece568 91292 04-Oct-2001 wrowe

Just passing through

2c294c31addd5c957bafe6e78c4a30d423ad6e80 91262 03-Oct-2001 rbb

Fix --enable-mods-shared processing. If most is specified, then all modules that can be compiled as shared modules are. This was done by adding a module config specifier, static, which denotes that a module can not be compiled as a DSO. Submitted by: Aaron Bannert <aaron@clove.org>

7e44dd5082cd865068285e8f915bb5f045e0bb80 91247 02-Oct-2001 lars

Update mime.types file. Map video/vnd.mpegurl to mxu according to ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/video/vnd.mpegurl and audio/x-mpegurl to m3u, because it is commonly used. Submitted by: Heiko Recktenwald <uzs106@uni-bonn.de> Reviewed by: Sander van Zoest, Lars Eilebrecht

44a4ee1140769173da7bc2b42d1a686e3260ad84 91244 02-Oct-2001 wrowe

Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).

e379fc6d7f79163700290d92ce75deb4f3005301 91211 30-Sep-2001 jerenkrantz

Kill two autoconf-related birds with one commit. - substr used in APACHE_MODULE for the help string did not parse correctly with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING. - Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+ (actually not 2.13 - look at the regex call) or do our custom variation of it. This function can't have any extra spaces or it will be returned in the help string. So noted. If anyone can figure out how to insert a line break like 2.50+ does when we go over the 26th column, I'd appreciate it. I tried and I'm way too tired to figure it out now. Adding this would greatly simplify two or three HELP_STRING uses. - Switch all of those annoying WITH and ENABLE functions to use the APACHE_HELP_STRING. This makes everything consistent now. I've always had to go through and keep aligning everything every few months or so because I'm the only one who cares. No more. I refuse to do it any more! Use APACHE_HELP_STRING or be crucified. Looks decent with autoconf-2.13 and autoconf-2.52.

978faa9e29e0f0c42e66c07240e562325a4717b0 91193 29-Sep-2001 jerenkrantz

Something Happened

976501adbc040220270f7d1d77c4b8373033be69 91184 28-Sep-2001 wrowe

Nice to remove more than I add, some days.

10a00688adcf1df367b1243810beedaabe6b1abe 91173 28-Sep-2001 minfrin

No fear of commit-ment. PR: Obtained from: Submitted by: Reviewed by:

8a3a703eae0e35f674b189181609545c6fc77a09 91167 28-Sep-2001 rbb

Allow support programs to be compiled against a static version of libapr. This allows the smaller support programs to be relocated. Submitted by: Aaron Bannert <aaron@clove.org>

9af1ccb223d0669b3c3a43eed070d815afde9084 91145 26-Sep-2001 mjc

Update the mime.types file to the registered media types as of 2001-09-25, and add mapping for xsl extension PR: Obtained from: Submitted by: Reviewed by:

9d41fafe32b324c197f25224207fc6ce34f085bf 91122 24-Sep-2001 rbb

Fix MaxClients in the Worker MPM, so that it specifies the maximum number of clients that can connect at the same time, instead of specifying the maximum number of child processes. Submitted by: Aaron Bannert <aaron@clove.org>

889d9c84f8b1ad850f977a6d8e548696994f8f86 91101 21-Sep-2001 jerenkrantz

Switch proc_pthread to pthread for the AcceptMutex directive.

8c83461e53ca7d204e1d634f0c78199d60320d7b 91083 19-Sep-2001 jerenkrantz

The call to apr_explode_localtime() in mod_log_config is one of the more expensive operations in the httpd. This patch attempts to reduce the overhead by caching the result for 15 seconds. Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Cliff Woolley, Ryan Bloom, Dean Gaudet, Justin Erenkrantz

8e5842bc05146bb5c171e53b00b24063d17c666c 91080 19-Sep-2001 jerenkrantz

Fix case where an included file may change but the shtml file has not - since we returned Last-Modified/ETag headers, we said that it was possibly cacheable. Wrong. See RFC 2616 13.3.4 for more details (these are SHOULD/MAY clauses, so I think we can discard them when we are dealing with dynamic data). (Justin cleaned up the comment to cite RFC 2616.) Submitted by: Ian Holsman <ianh@cnet.com> Reviewed by: Justin Erenkrantz, Aaron Bannert, Brian Pane

cdb15137887e284797e9510029098dc725b4dacf 91079 19-Sep-2001 jerenkrantz

This patch fixes a nasty bug in the worker MPM where the state of the worker threads was not being reported back to the scoreboard, and eventually all the threads running in the children would be reported as being in the "C -- closing connection" state. This would wreak havoc on the idle_server_maintenance() routine. Since these threads would never be counted as idle, the server would spawn children as fast as possible. Submitted by: Aaron Bannert <aaron@clove.org> Reviewed by: Justin Erenkrantz

798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4 91078 19-Sep-2001 jerenkrantz

This patch eliminates the wasteful run-time conversion of method names from strings to numbers in places where the methods are known at compile time. (Justin fixed the va_end() call to be correct.) Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz

abaaa634d7cee882b7c4bf078ded749ebf11997e 91077 19-Sep-2001 rbb

Turn the worker MPM's queue into a LIFO. This may improve cache-hit performance under some conditions. Submitted by: Aaron Bannert <aaron@clove.org>

0aa8e8fd5a242948518655f2296b3c76386754e5 91076 19-Sep-2001 jerenkrantz

Switch back to SIGUSR1 for graceful restarts on all platforms that support it. This defines a symbol called AP_SIG_GRACEFUL in ap_config_auto.h which will have the appropriate signal value. All direct references to SIGWINCH have been replaced with AP_SIG_GRACEFUL. On Linux 2.0, use SIGWINCH instead since SIGUSR1 is used by glibc 2.0's user-space threading library to control threads. All later versions of Linux/glibc don't have this problem. (Not to mention the security holes in older Linux versions which make it unsuitable for use as a web server.) If your platform doesn't have SIGUSR1, use the appropriate mojo in configure to define what your graceful restart signal should be. In theory, a configure switch could be added to allow the admin to specify the appropriate signal that should be used. This is left as an exercise to the reader for now. The docs need to be updated. Since the signal is now configurable, just saying SIGUSR1 for graceful restart isn't completely true. Also, the apachectl functionality needs to be moved into httpd - this is what Win32 does and it makes us consistent across platforms. Roy issued a veto against use of SIGWINCH by default, so this should resolve that veto.

de3abad1fe263e577bb11e99b358836bd901397c 91075 18-Sep-2001 rbb

Cleanup the worker MPM. We no longer re-use transaction pools. This incurs less overhead than shuffling the pools around so that they can be re-used. Remove one of the queue's condition variables. We just redefined the API to state that you can't try to add more stuff than you allocated segments for. Submitted by: Aaron Bannert <aaron@clove.org>

0a549489abdb309ef25483431e1e5610ed4ba7a8 91068 18-Sep-2001 gstein

I always forget this file...

14c6f2e13d97a4fafac1fbc247a274a298d5b418 91058 17-Sep-2001 wrowe

Remove the Win32 script-processing exception from mod_cgi, and roll build_command_line/build_argv_list into a unified, overrideable ap_cgi_build_command optional function. Eliminates a ton of Win32 cruft from core.c for registry parsing. Win32 (through the default handler, and newest changes to the apr_proc_create fn) continues to serve .bat/.exe files. This is in preparation for adding modules/arch/win32/mod_win32 for scripts. Please review the mod_cgi.c behavior very carefully.

f00d1e76bae896c2f6a520eec69b1d0d802d4108 90940 07-Sep-2001 jerenkrantz

Make find_start_sequence use the BNDM search algorithm. We handle edge cases via the old slow mechanism. Previously, find_start_sequence would be responsible for ~25% of the usr CPU time in tests (as performed by Ian). No more.

58097d7d8d1a394092374b9f6ddf76b7993724a4 90929 06-Sep-2001 rbb

Fix a seg fault in mod_include. When we are generating an internal redirect, we must set r->uri to "", not a bogus string, and not NULL. [Ryan Bloom]

2f6cebd6b8bf0b044f6579d23117a4a3c364a554 90926 06-Sep-2001 wrowe

Rambling on

070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24 90886 04-Sep-2001 rbb

Back out the 1.45 change to util_script.c. This change made us set the environment variable REQUEST_URI to the redirected URI, instead of the originally requested URI. PR: 7580 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

7c19ce86bbd72bba1d018522250f5f315ffbc0af 90872 02-Sep-2001 jerenkrantz

Make mod_include do lazy evaluation of potentially expensive to compute variables. Tested with httpd-test's printenv.shtml. (Justin threw in one or two unrelated formatting nits) Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz

2264fbcbab4c796c4222c30393c0b218c98b6bef 90870 02-Sep-2001 rbb

Fix logging of bytes sent for HEAD requests. %b and %B should log either - or 0, before this patch, they were both logging the file size. PR: 8021 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

e099672a13ea4ff4a11f130406f1baecba5949ba 90869 02-Sep-2001 jerenkrantz

Make mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis rather than on a per-character basis. A significant amount of time was spent checking the limit. A better place to check for the threshold is when we read the bucket in not as we read each character in the bucket. If a bucket manages to be 200MB, it is not this code's problem as it is a mere filter. I ran this with the mod_include stuff in httpd-test and it looks good from here. Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz, Ryan Bloom, Greg Stein, Cliff Woolley, Paul Reder, etc, etc, etc...

9b29e0cfeb2c89a047806cc4a2a764afed6bb170 90834 31-Aug-2001 wrowe

Move the ap_run_insert_filters to consistently occur in ap_process_request_internal. This allows the sub_req handler to alter the filters before the subreq is actually run.

441bd066858500e75e4f63ef149120bcf523de58 90825 30-Aug-2001 jerenkrantz

Fix a segfault with mod_include when r->path_info is not set (which is the case with mod_proxy). My only question about this is whether we should place some value (such as <UNKNOWN>) when path_info isn't set. Submitted by: Ian Holsman <ianh@cnet.com> Reviewed by: Justin Erenkrantz

d6a93816bfaa5b3de5f2e6cb0d172cbe20dd056e 90824 30-Aug-2001 jerenkrantz

Add -X functionality back to httpd. - Updates upgrading.html - Reverts Aaron's earlier docco patch (sorry...) - Adds -X to all mpms in the tree

c839614b4216fe34f6346668ad646aca2c0f23c6 90805 30-Aug-2001 wrowe

* configure.in: added Cygwin specific APR_SETVARs. * os/config.m4: added Cygwin specific values for $OS and $OS_DIR. $OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things clean as with 1.3.20. * support/logresolve.c: added OS specific #ifdef statement to define h_errno as extern __declspec(dllimport); it's imported from the cygwin1.dll itself. Submitted by: Stipe Tolj <tolj@wapme-systems.de>

117e2968318323d2ad2187fcd4de379d2eca245c 90799 30-Aug-2001 wrowe

Changed syntax of Set{Input|Output}Filter. The list of filters must be semicolon delimited (if more than one filter is given.) The Set{Input|Output}Filter directive now overrides a parent container's directive (e.g. SetInputFilter in <Directory /web/foo> will override any SetInputFilter directive in <Directory /web>.) This new syntax is more consistent with Add{Input|Output}Filter directives defined in mod_mime. Also cures a bug in prior releases where the Set{Input|Output}Filter directive would corrupt the global configuration if the multiple directives were nested. [William Rowe]

e9fa5a00f39f6aabbc5dcd776c5bc6bd0638f955 90796 30-Aug-2001 wrowe

Fix mod_mime skipping over mime.types when some _other_ field was set with mod_mime, but not AddType. Why is everybody always breaking my local CHANGES file ;-?

de419544885a5c64589dddf1b8517672ee17c1fe 90789 30-Aug-2001 minfrin

Added some bulletproofing to memory allocation in the LDAP cache code. PR: Obtained from: Submitted by: Reviewed by:

8b666e1fb772b6fe45de3604b224f3e1f2cfd620 90785 29-Aug-2001 rbb

Bump after the tag.

df14f0d3a5191cdd7c4bb5b03acd135d43a6f51b 90783 29-Aug-2001 rbb

Forgot to bump these numbers before the tag. Re-tagging these three files only.

9c4321d9cc4eecbb0c5d568aea53d5e6812c7b96 90781 29-Aug-2001 martin

Finish documenting /manual location change

956c6100798467199833e7159a00506ee879d772 90775 29-Aug-2001 minfrin

Add specified user attributes to the environment when using mod_auth_ldap. This allows you to use mod_include to embed specified user attributes in a page like so: Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you? PR: Obtained from: Submitted by: Reviewed by:

47697533fd7ced2259f9150677ea5efa583b6c13 90771 28-Aug-2001 rbb

Fix a performance problem with the worker MPM. We now create transaction pools once, and re-use them for each connection. Submitted by: Aaron Bannert <aaron@clove.org>

7ba1a2c8babfd7c7c46bb03567a868d51e1023db 90757 28-Aug-2001 wrowe

Version 1.338 of mod_mime also tightened the mod_negotiation behavior. See changes for a complete description. Because (in the example) the .Z extension doesn't affect negotiated behavior, the files index.html and index.Z.html couldn't be distinguished, and the user would get an error 406 NOT ACCEPTABLE, which is the _wrong_ answer.

b2c2c8a4bc977c0a6bb937af995efc56dc3879a3 90756 28-Aug-2001 wrowe

Introduces mod_mime AddInputFilter and AddOutputFilter filter ext syntax. Significantly refactored the code to maintain single functions for the add_extension_info hash and remove_extension_info table processing. The AddInputFilter/AddOutputFilter could have been plural, as they accept a semicolon delimited list of filters (e.g. you need to stack two different filters based on a single extension.) I expect that the plural could confuse users, though, as they might expect AddInputFilters foo bar var to add foo and bar to the extension var, which it definately doesn't do!

67869a9db2967cb50405e51b1d6d1ebab1219e03 90736 27-Aug-2001 trawick

Fix a growing connection pool in core_output_filter() for keepalive requests. We were allocating a brigade out of the connection pool; the number of these brigades allocated per connection was theoretically unlimited.

4d003677925ceb0abefb9c95355b4c9e9e502899 90735 27-Aug-2001 rederpj

Moved split_and_pass_pretag_buckets back to being a macro at Ryans's request. Removed the return from it by setting and returning a return code instead. Updated the code to check the return code from teh macro and do the right thing.

0db1b9810f06c0e3c537e0e0dfbc30160c308526 90734 27-Aug-2001 trawick

Fix a segfault when a numeric host (e.g., "Host: 123") was specified. apr_parse_addr_port() assumes that if there is just a number it must be a port, but here we need to assume that it is a host. todo: pass a flag into apr_parse_addr_port()? unclear whether or not that is cleaner overall

78e8198247420a3efeb21e38b42c423e5863cbb0 90728 27-Aug-2001 jwoolley

The consensus now is that mod_include should just butt out of any decisions about what to do with different request methods. It's true that mod_include in 1.3.x did not allow POST, but back then it was a handler. Now it's a filter and can be used to filter the output of dynamically generated responses, even ones resulting from a POST request. So if mod_include is in the filter stack, it should just blindly parse the brigade regardless of request method. This still fixes the security problem, it just fixes it by being more flexible rather than less so.

13bac43a0f21d8c6401debc1baa76be984474074 90724 27-Aug-2001 rbb

Allow mod_ssl to send back an error message if an HTTP request is sent over an HTTPS connection. This also adds an ap_remove_input_filter function, which should be used to remove the SSL input filter in this case, as soon as this code is stressed a bit more. For right now, we are sending the same message that we used to send in mod_ssl for Apache 1.3.

053497224246c4dbef9af594cacf5c00ed271e6c 90713 27-Aug-2001 wrowe

Clean up location_walk, so that this step performs a minimum amount of redundant effort (it must be run twice, but it will no longer reparse all <Location > blocks when the request uri hadn't changed.) The location walk block is refactored, with some significant changes in variable names for legibility. Cooler still, it uses pool data instead of 'notes' for the important cache info :) Note the patch builds the <Location > per dir config from _nothing_, and then merges it into the per_dir_config. When the underlying per_dir_config changes between passes, the location_walk can simply tack back on this preconstruct onto the new per_dir_config.

ac06e54654494445fd3d39e90bd23b436b4f84cc 90684 26-Aug-2001 wrowe

Eliminate proxy: (and all other 'special') processing from the ap_directory_walk() phase. Modules that want to use special walk logic should refer to the mod_proxy map_to_location example, with it's proxy_walk and proxysection implementation. This makes either directory_walk flavor much more legible, since that phase only runs against real <Directory > blocks. On a technical note, this patch also forces the Directory to be canonical (unless it is "/" or a regex.) It also allows us to be more explicit when declaring <Directory > block errors.

314b1f3fac7a0b556146ef055f37df00020604d0 90668 26-Aug-2001 jwoolley

Fix a security problem which would allow an SSI document to be passed to the client unparsed. Reported by: Brian Pane

a2a0abd88b19e042a3eb2a9fa1702c25ad51303d 90665 26-Aug-2001 wrowe

Introduce the map_to_storage hook, which allows modules to bypass the directory_walk and file_walk for non-file requests. TRACE shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c. A seperate patch to mod_proxy is required to short circuit both the TRACE and directory_walk/file_walk stuff. That patch is next.

a906160166014e14adc01c87a956d89de0d79918 90655 25-Aug-2001 rbb

Add the ability for mod_include to add the INCLUDES filter if the file is configured for the server-parsed handler. This makes the configuration for .shtml files much easier to understand, and allows mod_include to honor Apache 1.3 config files. Based on Doug MacEachern's patch to PHP to do the same thing.

7f66c5be12d3b48b1ebfa79033c099e4f91ff302 90654 25-Aug-2001 dougm

force OpenSSL to ignore process local-caching and to always get/set/delete sessions using mod_ssl's callbacks PR: Obtained from: Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: dougm

e00ae6859667e293a4c40108f524408ae1289f2f 90635 24-Aug-2001 rbb

Make the worker MPM shutdown and restart cleanly. This also cleans up some race conditions, and gets the worker using pools more cleanly. Submitted by: [Aaron Bannert <aaron@clove.org>]

d94fd18ee21dc9b8c1f422144a881e941687d41f 90612 24-Aug-2001 dougm

Implement CRYPTO_set_locking_callback() for mod_ssl PR: Obtained from: Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: dougm

53b8cdb3621b11b897438d8990d20e0b78f0d4b7 90554 23-Aug-2001 rederpj

Fix for mod_include. Ryan's patch to check error codes put a return in the wrong place. Also, the include handler return code wasn't being checked. I don't like macros with returns, so I converted SPLIT_AND_PASS_PRETAG_BUCKETS into a function.

a1373889aeb316ed9d1b0f24a715e919d02a4d99 90506 22-Aug-2001 dougm

fix segv in mod_mime if no AddTypes are configured PR: Obtained from: Submitted by: John Sterling <sterling@covalent.net> Reviewed by: dougm

6b025bd5a034790b2bb31236092265e154d6a565 90503 22-Aug-2001 dougm

Enable ssl client authentication at SSL_accept time PR: Obtained from: Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: dougm

d0af34e0d69afb8195eee403c60357d59ac046e1 90486 22-Aug-2001 trawick

Fix a segfault in mod_include when the original request has no associated filename (e.g., we're filtering the error document for a bad URI). Reported by: Joshua Slive

91cbefdfe308c93892b52045a5f0253506432cd0 90466 21-Aug-2001 trawick

Fix a storage leak in mod_mime_magic. Trivial to reproduce: . enable mod_mime_magic . copy "apache_pb.gif" to "picturefile" . set breakpoint in magic_rsl_printf() . request "picturefile"

598ce99543701a45a31bb01bf73c83d894592491 90418 20-Aug-2001 rederpj

The prefork and OS/2 MPMs are overwriting the pid file when a second copy of httpd is started and shuts down due to socket conflict. Moving the call to ap_log_pid solves the problem.

fa687651463b68c7cc0dda80341712d1ef9543ef 90417 20-Aug-2001 wrowe

*) Changed the late-1.3 log_config substitution %c to %X (logs the status of the closed connection) as it conflicts with the far more common, historical ssl logging directive %...{var}c.

7680ff9dd09d8feb9db31d23f33458d0464e92f1 90413 20-Aug-2001 wrowe

Now to wait and see if I broke anyone (apologies in advance!)

c760d13cffeef40df3f8c5a798e40a064dc80067 90355 19-Aug-2001 bjh

Note addition of mpmt_os2.

78980330fa2be5f42eb3a9c9b73a71a5168944e6 90352 19-Aug-2001 minfrin

Added a default commented-out mod_ldap and mod_auth_ldap configuration to httpd-std.conf and httpd-win.conf PR: Obtained from: Submitted by: Reviewed by:

1fff95696a94273a1629649652cbc5d2e9e8ce39 90346 19-Aug-2001 minfrin

Added documentation for mod_ldap and mod_auth_ldap. PR: Obtained from: Submitted by: Reviewed by:

90ad571a3ddd07e9b96f06b6b425295e1ec93da0 90340 18-Aug-2001 minfrin

Enabled negative caching on attribute comparisons in the LDAP cache. Fixed a problem where the default cache TTL was set in milliseconds not microseconds causing the cache to time out almost immediately. PR: Obtained from: Submitted by: Reviewed by:

10dd882bd22449ec6c1b8fb0c5227727e2232ba8 90338 18-Aug-2001 minfrin

Fixed all the #if APR_HAS_SHARED_MEMORY checks within the LDAP module code to follow APR. PR: Obtained from: Submitted by: Reviewed by:

89342f4a895e67868f8fe37a0ac77f1dd9f91868 90336 18-Aug-2001 minfrin

Fixed LDAP cleanup on graceful restarts. LDAP connections are now cleaned up when the connection pool pool is cleaned up. PR: Obtained from: Submitted by: Reviewed by:

7a027a168069a89ca0946e04294f5130d9cbe3b8 90329 18-Aug-2001 rederpj

Fix a minor issue with Jeff Trawick's mod_include patch. Without this patch, the code will just allocate more bytes in get_combined_directive than are needed.

29caf394750ea44e25d289a9aa7b92b9823faa8a 90325 18-Aug-2001 minfrin

Update the CHANGES file PR: Obtained from: Submitted by: Reviewed by:

330e5149d05dc4f5121b30964753167e43690afd 90316 18-Aug-2001 rbb

I have bumped the tag, now put the CHANGES file back.

9222dcffcfe8d92f94c85d4e857af7b63264c9dc 90314 18-Aug-2001 rbb

Bump the changes tag

bb5c04f1ab6c2913d49b263e26302c748a1aa70b 90306 17-Aug-2001 trawick

mention some mod_include fixes (currently in 2.0.25-dev) and some previously unacknowledged Win32 stuff in 2.0.24) when we decide if mod_include is fixed for the time being we may move back the mod_include fixes

855aa233fcb7b51d738fca5c36585646ae1960c3 90261 17-Aug-2001 jerenkrantz

Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest by allowing a module to disable itself if its prerequisites are not met. This introduces the subtle nuance that if you request a module and you don't meet its prerequisites, it'll refuse to build itself. mod_ssl exits if its prerequisites are not met.

bfad8636cb9e52b309679a90dadc91b635ecfe2a 90244 16-Aug-2001 trawick

check for timeout on socket read when we check for ECONNRESET and eof previously, we'd die on an assert() (really nasty for threaded MPM) when we hit a keepalive timeout for a browser like netscape which keeps the connection open

5ba9b0e6d4e69e3daaad80eba67774408a2355f2 90240 16-Aug-2001 wrowe

Replacing label after pushing tag

50e228f0b8429c27e411611f4863fafaba403b47 90239 16-Aug-2001 wrowe

Push back CHANGES to document the complete mod_mime segfault solution. Rounded out the mod_mime Add/Remove pairs by adding RemoveLanguage and RemoveCharset directives, and rolled in the remove_items handling. This is (effectively) my complete patch, sans pool optimizations. [William Rowe]

48cb3f1f94e7af1fb941d9d4b74950238cc1647c 90217 16-Aug-2001 rbb

Bump after the tag.

cf22bcbbfb741439c0c571333caf5647552372e4 90216 16-Aug-2001 rbb

Bump for a 2.0.24 tag

7ba58e7e63da9a8b84f6160c476a0c9d639c81e9 90213 16-Aug-2001 trawick

The Unix MPMs other than perchild now allow child server processes to use the accept mutex when starting as root and using SysV sems for the accept mutex. Previously, this combination would lead to fatal errors in the child server processes. perchild can't use SysV sems because of security issues. translation: steal apache 1.3 code to call semop(IPC_SET) on the semaphore to set permissions and uid/gid

0315d8e436a65aa1fd145ce0a84f6c0f21e304c0 90210 16-Aug-2001 wrowe

Just rambling

22d41dd622ae45958da09d4afd1163fd1923f7dd 90191 16-Aug-2001 jwoolley

Fix a few tiny typos

416713f4130a31ae7317885c4638b3753c40a5e9 90190 16-Aug-2001 jwoolley

Merge in changes from 2.0.23 branch

6270ac7f45156afd9d798dc28f1c6e1d09e040c1 90189 16-Aug-2001 rbb

Fix ap_rvprintf to support more than 4K of data. Submitted by: Cody Sherr <csherr@covalent.net>

5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7 90182 16-Aug-2001 coar

Whoops, forgot attribution

496dc24432cc5c9f95a627865879d4b83dca1055 90180 16-Aug-2001 coar

Add CookieDomain directive to allow setting of the Domain= cookie attribute; add CookieStyle to allow specification of cookie syntax: Netscape (default), Cookie or RFC2109, or Cookie2 or RFC2965. We have historically supported only the obsolete Netscape syntax. PR: several against 1.3 Obtained from: brought forward from 1.3

622f0f22cd52de0e9904b218defdeb3181e113f3 90167 15-Aug-2001 trawick

Tweak server/Makefile so that the rules for generating exports.c are compatible with make utilities which don't expand wildcards in a dependency list (e.g., OS/390 make, certain levels of GNU make).

e83476358ef015a1959284421fdc25ab18a7aa02 90145 14-Aug-2001 rbb

Install the SSL header files. Submitted by: John Sterling <sterling@covalent.net>

7b4c4bb891261e613de39a021d7554fd08132fc5 90132 13-Aug-2001 rbb

Begin to sanitize the MPM configuration directives. Now, all MPMs use the same functions for all common MPM directives. This should make it easier to catch all bugs in these directives once. Everybody should check their favorite MPM to ensure that it still compiles, and that these directives work. This is a big patch, and although it looks good, and things compiled for me, that is no garauntee that it will work on all platforms. :-) Submitted by: Cody Sherr <csherr@covalent.net>

4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5 90131 13-Aug-2001 rbb

Close a major resource leak. Everytime we had issued a graceful restart, we leaked a socket descriptor. The listening sockets should not be set inheritable, at least not at this point. We only want some of the httpd children to inherit the socket. Namely, those that will be actually serving requests. Any other child process (piped logs), should not be inheriting the sockets. PR: 7891

0917cf91e713579b7ee0b03e499a08d7c3ec2d88 90091 11-Aug-2001 rbb

Forgot the CHANGES comment with my last commit.

251b60354534e12b004603ecf2a83f32756dc885 90066 10-Aug-2001 rbb

Fix a bug in mod_expires. Previous to this patch, if you told mod_expires to add 604800 seconds to the last-modified time, it actually added 604800 usec's to the last-modified time, so that when looking at the response it looked like nothing had been done. The root of the problem was that we always compute time in usec's, but we ask users to input sec's. This means we need to convert to usec's before using those values. CS: Obtained from:

12348d5b520522b6581d907ef9c1ceda029fbc05 90065 10-Aug-2001 rbb

The worker MPM now handles shutdown and restart requests. It definately isn't perfect, but we do stop the servers correctly. The biggest problem right now is that SIGHUP causes the server to just die.

6ec6024750b98a233c703d41208e56adfdc04a31 90052 09-Aug-2001 jwoolley

This change was moved into 2.0.23. The problem therefore both began and was fixed in 2.0.23, so no CHANGES entry is necessary.

1db4beaed4a5cab64368f9dc155a2e99ec8f9f2c 90048 09-Aug-2001 trawick

Fix a restart problem when cgid is used. Code in the parent httpd process was trying to clear a pool which is now only initialized in the child.

b6965b6d1a8cddc6bb8662cab6ac3e060b083f8b 90020 08-Aug-2001 jwoolley

Bump to 2.0.24-dev after tag

a3b2a05c4c0f6a29e75c9349b85640192f6a8bfe 90018 08-Aug-2001 jwoolley

Bump for 2.0.23 tag

d65b067e7797b56d6678b0ddcd0aa9258cd55e64 90007 07-Aug-2001 trawick

Use the prefork MPM by default on Unix.

f947ecf8a772cbfcce0315feb68ad88e84299ad0 90001 07-Aug-2001 trawick

mod_rewrite: Fix the line ending on some non-Unix systems for messages written to the rewrite log. Submitted by: Richard Labennett <rlabenn@us.ibm.com> Reviewed by: Jeff Trawick

82efd02118af953c3840478fa5e979a4194a579f 89981 07-Aug-2001 wrowe

All mod_autoindex query parsing is now quietly quashed with the IndexOption IgnoreClient. The IndexOption SuppressColumnSorting still drops the column sort <a href>'s for the column headers, but IgnoreClient is required to ignore these Query options entirely. Introduced new mod_autoindex query argument parsing for F=[0|1|2] to allow the client to select plain, FancyIndexing or HTMLTable formatting, V=[0|1] to inhibit or enable version sorting, and P=pattern to return only specific files. The old Query Arguments were reorganized as C=f for sorting column 'f' (same N, D, S, or M as before), and O=A|D for ordering ascending or descending. Docs and an Example are provided in mod_autoindex.html

ff2fef0d709ee06646b3462cd3ef39648a54c7f7 89980 07-Aug-2001 jwoolley

Fixed an error in ap_ssi_get_tag_and_value(). It was not placing the null terminator in the right spot for the tag_val if the value contained backslashes. This caused #if, #elif, and #else expressions with backslashes to be incorrectly evaluated.

77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbc 89979 07-Aug-2001 wrowe

Formatted output changes only... Introduced new mod_autoindex IndexOptions flags; SuppressIcon to drop the icon column and SuppressRules to drop the <hr> elements. These are necessary for HTML 3.2 final formatting rules. Introduced HTMLTable to create rudimentary HTML table listings (implies FancyIndexing). Necessary for alternate charsets, since the columns are borked by multibyte characters. Re-Introduced the mod_autoindex IndexOptions flag TrackModified from Apache 1.3.15. This is needed for two reasons, first, given multiple machines within a server farm, ETags and Last-Modified stamps won't correspond from machine to machine, and second, many Unixes don't capture changes to the date or time stamp of existing files, since these don't modify the dirent itself. [Originally for 1.3 by me] Re-Introduced the mod_autoindex InextOptions flag FoldersFirst and DirectoryWidth options from Apache 1.3.10. [Originally for 1.3 by Ken Coar]

dc96a5e6f9af3c514df4c61ab9468fcf97f9846f 89963 07-Aug-2001 wrowe

Mumblings

731c41a39b8273a6c4b8b87b6fd0ba5c7f3f9e2b 89957 06-Aug-2001 wrowe

Per Silve's request, some docs that I was messing with these.

cd32ea298a494089c6886c8de0e8ad13ddc7ee6c 89932 06-Aug-2001 wrowe

Multiviews and mod_negotiation will already handle this case, it never belonged in mod_cgi itself.

af2bf35f47aaa3f1a3b1fe8336b9d20efad5b7e9 89928 05-Aug-2001 gregames

Speed up the server's response to a spike in incoming workload or restarts. New processes aren't able to start all their threads right away if other dying processes share the same scoreboard real estate. So give empty process slots in the scoreboard top priority.

e49758465fbf67f29f9aeda996d09f7cc6fa9fe5 89872 02-Aug-2001 rbb

Add a handler to mod_includes.c. This handler is designed to implement the XbitHack directive. This can't be done with a fixup, because we need to check the content-type, which is only available in the handler phase. PR: 7751

81e5d74ef38fbf76853e1fbdd95c117e130e473f 89870 02-Aug-2001 rbb

Make the includes filter check return codes from filters lower in the filter chain. If a lower level filter returns an error, then the request needs to stop immediately. This allows mod_include to stop parsing data once a lower filter recognizes an error. PR: 8102

62db15de4c1f335a64d45821796ae197cff94ef8 89869 02-Aug-2001 rbb

Add the ability to extend the methods that Apache understands and have those methods <limit>able in the httpd.conf. It uses the same bit mask/shifted offset as the original HTTP methods such as M_GET or M_POST, but expands the total bits from an int to an ap_int64_t to handle more bits for new request methods than an int provides. Submitted by: Cody Sherr <csherr@covalent.net>

f2e16ea0697f128c32da623a0b2b9d0f81c5ebca 89865 02-Aug-2001 wrowe

Solve the merge bugs, by storing a copy bit to save us a ton of reallocation in the merge config phase. Should keep most of the savings realized by moving to tables. Need others to vet this code, please! Look at this and the prior patch as a single diff (-r n -r n-2) to see the overall changes.

3463e3fe80229b9cded9130e8bd13e961ad2ad2c 89826 31-Jul-2001 wrowe

Ok, this looks better to me this morning, and suggests others who have dabbled a bit.

7ff254655b6cb0516fa27409470a98554bbec706 89824 31-Jul-2001 wrowe

If I forgot anyone, please holler.

f8b7801ea5717ef22cc0d02bffacfd5f9e48f898 89821 31-Jul-2001 gregames

don't count workers in processes which aren't actively serving requests. it is necessary to check for the generation as well as "quiescing", in the case of a restart where no workers have seen the PoD yet.

286129112dc6bfee53f0db4f945d3352d4d5bed7 89788 30-Jul-2001 stoddard

Win32: Get exec cgi tag working. finfo.protection == 0 on Windows from the apr_stat() call in directory walk (because discovering the permissions on Windows is ridiculously expensive). All we really need to know is whether the file exists.

571760de5e60c0b459cb11be45507b923cd023ee 89787 30-Jul-2001 jwoolley

Yet another rainy day

b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6 89781 30-Jul-2001 rbb

Add the worker MPM. The name is probably horrible, but I couldn't come up with anything better. This is a multiple-worker/single listener MPM. This MPM is definately not complete, but it is a first step in the right direction.

06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ff 89761 29-Jul-2001 gregames

Fix a problem where the threaded MPM stalls after restarts or segfaults. Also prevent multiple active processes from using the same scoreboard slot.

eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712 89760 28-Jul-2001 wrowe

Now that the version is bumped... time to log some new efforts.

4e136881902ae5dfba3c59a23db7aa09345cea3a 89756 28-Jul-2001 wrowe

Uh... whats with that -dev?

6529086e53a38486d6cf0eac256b96548b6ef299 89755 28-Jul-2001 wrowe

That's it for that version...

9876642ec8126175f143702d7b949643f8128fdf 89735 26-Jul-2001 trawick

Fix a segfault in threaded.c caused by passing uninitialized apr_thread_t * to apr_thread_join(). Now we clear the array of apr_thread_t * initially so we can track which threads we actually created. Other changes: don't clobber storage by passing bogus array entry as 1st parameter to apr_thread_create() to create the start_threads() thread join up with the start_threads() thread at termination so that it is cleaned up and so that no worker threads are still being created

263dbbd9c2a6952e756973b3dde9beeaf8eff6b7 89686 25-Jul-2001 gregames

Reduce CPU consumption in conv_10 function, used to format "%d" by apr_*printf This includes two changes to APR: * new functions apr_itoa, apr_ltoa, and apr_off_t_toa that provide itoa-type functionality based on pools * Inline code in inet_ntop4 to replace sprintf for converting binary IP addresses into dotted-decimal format and two changes to Apache: * use the apr_itoa functions in setting the content length, in place of apr_psprintf * use the apr_itoa functions to replace frequent uses of 'sprintf("%d",...)' in mod_log_config. Submitted by: Brian Pane Reviewed by: Dean Gaudet, Greg Ames

0f2ac39337f7543f197db8b040f596123167eb2d 89676 24-Jul-2001 stoddard

Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp> where HEAD response headers were being repeated twice for files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This problem in the http_header filter was exposed by the recent rewrite of the content_length filter. [Taketo Kabe, Bill Stoddard] PR: 8037

5183e10e45a86e2dd1112a4d71c24db3facbbc9a 89661 23-Jul-2001 gregames

commit CHANGES file for patch to server/scoreboard.c

afab3e893c3fecabf2e3cac4e37ada58db984cea 89651 23-Jul-2001 rbb

Fix a cosmetic problem with mod_include. Non-existant SSI vars used to appear as '(none', without the closing paren. Submitted by: G�nter Knauf <eflash@gmx.net>

612ea048caf897cb6e69dc296d2b143a08ba83a0 89647 21-Jul-2001 rbb

Improve the exports generating awk script. In the past, we had work around problems in the awk script by avoiding some #if and #ifdefs. This has bitten us many times in generating the exports.c file. This improvement allows corrects the header file parsing. Submitted by: Sander Striker <striker@apache.org>

4ff47e3535a6da266acc3f0cf743046dbf16a856 89626 19-Jul-2001 rbb

Bump after the tag.

67e81f5f6ddfe2e3d1f1208a04b8ccd368c658fa 89625 19-Jul-2001 rbb

Bumps for the release. The tag will be moved to this version.

30309f86bfd564437654aa822a19cd0cb29ca6f8 89614 19-Jul-2001 wrowe

Truncate the working set in ab by introducing a connection pool.

65db4f712167a3498de73cee5c08032a8aa6a010 89608 18-Jul-2001 rbb

Make scoreboard creation a hook. This allows management modules to have access to the scoreboard at the time that it is created, and at every restart request. Submitted by: Cody Sherr <csherr@covalent.net> Reviewed by: Ryan Bloom

ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60a 89604 18-Jul-2001 rederpj

Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest daemon index actually used in the scoreboard. I also updated the pertinent calls. Paul J. Reder

c8af62b87a118cbbc25414eb9459219f338b1b0f 89547 13-Jul-2001 stoddard

Win32: Prevent listening sockets from being inherited by the Apache child process, CGI scripts, rotatelog process etc. If the Apache child process segfaults, any processes that the child started are not reaped. Prior to this fix, these processes inherited the listening sockets which sometimes prevented the restarted Apache child process from accepting connections (ie, the server would hang). The Sleep(1000) is a bit of a hack but it is sufficient I believe. All that is really necessary is for the parent to give up its quantum and allow the child to run. I could not get WaitForInputIdle to work properly. Will investigate alternative solutions later.

c981632de03d61667b7a6dda3e1f0a80fd5973b1 89541 12-Jul-2001 gregames

Provide vhost and abbreviated request strings on ExtendedStatus displays.

8f43c3299e44dc11a4cd68acc93b578a0318daaf 89539 11-Jul-2001 trawick

Fix an issue with the pod and prefork: when the parent process wakes up a server process via connect(), use an APR timeout on the connect() so that we don't hang for a long time if there aren't server processes around to do accept()

688f7d0bc138bb02f92288017920468e7e314f23 89535 11-Jul-2001 stoddard

Performance improvement to mod_mime.c. find_ct() in mod_mime, spends a lot of time in apr_table_get calls. Using the default httpd.conf, the tables for languages and charsets are somewhat large, so the time spent scanning them on each request is significant. Replacing the tables with hash tables provides a nice speedup. [Brian Pane <bpane@pacbell.net>] Had to handmerge a lot of this patch so please review! Dean had some suggestions for improvement which are not currently implemented. Submitted by: Brian Pane Reviewed by: Bill Stoddard

3b8937baf1826c625c1ca90d220453a5e4b499ed 89532 10-Jul-2001 rbb

Add two functions to allow modules to access random parts of the scoreboard. This allows modules compiled for one MPM to access the scoreboard, even if it the server was compiled for another MPM. Submitted by: Harrie Hazewinkel <harrie@covalent.net>

448a83963e3ec557bc9f9020ab44f9681595d1ee 89519 09-Jul-2001 rbb

We are tagged, so bump the numbers everywhere.

9180a5933673ffb1af633c255ceee029340f3b1e 89518 09-Jul-2001 rbb

Update to prepare for 2.0.20 release

e654452796751e21828a4078767e075eccf3b232 89503 06-Jul-2001 stoddard

Reimplement content length filter to fix problem where all output from CGI scripts was being buffered in the brigade before any of it was written to the network. cl filter now honors flush and implements a buffer threshold.

4670899d8a45ac6add3105181adf1976a1fae109 89501 05-Jul-2001 stoddard

Do non-blocking reads from pipes in the content-length filter.

cbed27f4c149736a6319a790c81aa8acc491fa18 89493 02-Jul-2001 jwoolley

How do YOU spell "threshold"? =-)

f91cd1fc44d2588d82a56570b1005e7310dfc970 89492 02-Jul-2001 jwoolley

Move the heading for 2.0.19 down to where it goes and add a note about having fixed the threaded MPM bug that killed 2.0.19 in the first place.

cf293fe6e2515d89788ec515ce6266ad6f13a724 89491 02-Jul-2001 stoddard

Missed this yesterday...

85986096003221e8eb135ad1fda59a57c3d0528b 89469 28-Jun-2001 rbb

Bump after the tag/roll

bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3 89467 28-Jun-2001 rbb

Bump a couple things for the tag and roll!!!!

7537a55be7520037878a521d4ec8c8eb2d44a288 89466 28-Jun-2001 rbb

Fix the big issue with the threaded MPM. We no longer stop dead if all processes are busy serving one long-lived request.

de0fbde2191d651a2dd0296e0fd4c449fa9f1d39 89465 28-Jun-2001 wrowe

Ummm... is that all I accomplished :-?

01f404bacecbd1354af8f04c23a28acef5044e73 89438 27-Jun-2001 jwoolley

*) Account for the new pool parameter to apr_bucket_file_create() and apr_bucket_file_make(). *) Simplify mod_file_cache's sendfile_handler by taking advantage the new ability of file buckets to handle files opened in XTHREAD mode. [Also inlined some of the brigade construction stuff in mod_file_cache's handlers to save a palloc() or two.]

54f7f1c85247dad29d8fa275866cea31d465b392 89422 26-Jun-2001 stoddard

Fix problem handling FLUSH bucket in the chunked encoding filter. Module was calling ap_rwrite() followed by ap_rflush() but the served content was not being displayed in the browser. Inspection of the output stream revealed that the first data chunk was missing the trailing CRLF required by the RFC

3af8fbdd62c9495c8f879eef1eb952a638a18a7a 89392 20-Jun-2001 dougm

apxs no longer generates ap_send_http_header() in the example handler

e14ec68ef48bbf6c3dc567900f9e087eaf0bc931 89383 18-Jun-2001 trawick

The patch fixes 2 things. * apr_terminate now has the right declaration so it can be used directly in atexit * Win2K gets a divde by zero error when heartbeatres is zero (reproduce via support\Debug\ab.exe -k -c 6 -n 100 localhost/ Submitted by: Ian Holsman <ianh@cnet.com> Reviewed by: Jeff Trawick

227e0bfd39e7c757d3618c8ada78d80cd1143d32 89381 18-Jun-2001 wrowe

Allow index.html.en and Index.html.FR to both be considered in negotation on case insensitive platforms, only.

8ff9257331986cb3646442ab61703fcc02158046 89375 15-Jun-2001 trawick

Fix brokenness when ThreadsPerChild is higher than the built-in limit. We left ap_threads_per_child at the higher value which led to segfaults when doing certain scoreboard operations.

d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2a 89354 12-Jun-2001 gregames

Fix seg faults and/or missing output from mod_include. The default_handler was using the subrequest pool for files and MMAPs, even though the associated APR structures typically live longer than the subrequest.

4192c91889a84b18aec0b046a94a2b2863be204c 89353 12-Jun-2001 stoddard

Extend mod_setenvif to support specifying regular expressions on the SetEnvIf (and SetEnvIfNoCase) directive attribute field. Example: SetEnvIf ^TS* [a-z].* HAVE_TS will cause HAVE_TS to be set if any of the request headers begins with "TS" and has a value that begins with any character in the set [a-z]. [Bill Stoddard]

7af2fcad9e14a79d7020a33766fbd3a4dfd088dc 89341 11-Jun-2001 orlikowski

Make the processor unbinding/re-binding stuff on AIX work again.

7cc9511b8f1fff69439041327dc55e3423ccf439 89331 10-Jun-2001 stoddard

Fix look in htdigest. Reimplemented getline to work properly with APR. Shuld consider adding apr_file_getline() to APR. Should also consider changing apr_file_getc() to return characters rather than apr_status.

b9d82dd4bc49204d9c2c5523e36b3109da298c04 89328 10-Jun-2001 wrowe

Two duplicate working cvs copies down, several to go.

141c0f61e9a56fbf31abeb85d541949717128bf7 89322 09-Jun-2001 orlikowski

WooHoo! (Only limitations - mod_proxy and mod_dav, soon to be corrected).

1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2 89288 07-Jun-2001 orlikowski

Generate httpd.exp on the fly. This should allow DSOs to work on AIX, without the headache of maintaining the httpd.exp file. This is adapted from OS/2's generation of ApacheCoreOS2.def. There exist a few bugs still: 1) mod_dav and mod_proxy may not yet work, due to certain namespace issues. 2) Some symbols may need to be added, a la core_header.def Once these have been fixed, the old httpd.exp file will be deleted.

58ee6774c3a05a3dbe0f8691227b64e1eac7b477 89286 07-Jun-2001 trawick

back out bogus "fix" for subrequest buckets using wrong pool Submitted by: Greg Stein

c7df7ebaea770e4e5e4119c9c080316cba27b04b 89285 07-Jun-2001 trawick

the subrequest pool issue wasn't recent breakage so mention it in CHANGES subsequent fixers feel free to overlay may name with yours :)

a7318397b355119d990d1f311b951dea2aafc53a 89281 07-Jun-2001 rbb

Add a new request phase, for allowing management modules to forward error logs to their management agents.

3f4d7fdb598d64d80ab8656852276246f2f3b502 89279 06-Jun-2001 rbb

Make mod_echo use filters for all communication with clients. Submitted by: Ryan Morgan <rmorgan@covalent.net>

fd709745f1226d683c57ad9bbcdd05971d214d0c 89271 05-Jun-2001 stoddard

Extend mod_headers to support conditional driven Header add, append and set. Use SetEnvIf to set an envar and conditionally add/append/set headers based on this envar thusly: SetEnvIf TSMyHeader value HAVE_TSMyHeader Header add MyHeader "%t %D" env=HAVE_TSMyHeader If the request contains header "TSMyHeader: value" then header MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response. Update mod_headers.html.

55069cedbbaf2768c1f317c80129c6f869890fb9 89269 04-Jun-2001 rbb

Fix the reset_filters function. If we set r->output_filters to NULL, then we also have to reset the connection's filters. Submitted by: John Sterling <sterling@covalent.net>

6206099ac06c8fcc8c342e993e5d47d3dfb95d8d 89256 02-Jun-2001 minfrin

Optimise reset_filter() in http_protocol.c PR: Obtained from: Submitted by: Greg Stein Reviewed by:

0530cd68803616cfba0456038f2e679d41ebecb1 89253 01-Jun-2001 minfrin

Add a check to ap_die() to make sure the filter stack is sane and contains the correct basic filters when an error occurs. This fixes a problem where headers are not being sent on error. PR: Obtained from: Submitted by: John Sterling Reviewed by:

b9d75184a83c325dc6cdf5488b0b1a4adec27506 89251 01-Jun-2001 stoddard

Update doc with info on Header echo directive

2a7df37e1fa5276b519eb1f04827b96204ba8873 89217 23-May-2001 trawick

include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H. This prevented the inclusion of apr_compat.h. PR: 7773 Submitted by: Oleg Broytmann <phd@phd.pp.ru>

864c5615d55b8ebbde24e72043f6325741335a74 89198 22-May-2001 fielding

Moved util_uri to apr-util/uri/apr_uri, which means adding the apr_ prefix to all of the uri functions (yuck), changing some includes, and using APR error codes instead of HTTP-specific error codes. Other notes to test this patch: - You need to delete the util_uri.h file - exports picks up on this. - I'd like to remove the apr_uri.h from httpd.h, but that might increase the complexity of this patch even further. Once this patch is accepted (in some form), then I can focus on removing apr_uri.h from httpd.h entirely. I need baby steps (heh) right now. - I imagine that this might break a bunch of stuff in Win32 or other OS builds with foreign dependency files. Any help here is appreciated. This is a start... -- justin Submitted by: Justin Erenkrantz Reviewed by: Roy Fielding

ff33056d9ea71f35e6fb3c17d53a18931be70a99 89197 22-May-2001 minfrin

Ring in the CHANGES... PR: Obtained from: Reviewed by:

ba4c566c200c2436dae841b7c811807c80cd712a 89170 20-May-2001 fielding

Change directive HeaderOut back to Header and HeaderIn to RequestHeader.

ea92d0ffcb30b186010a2c8ca2c80d2ac09e34da 89165 19-May-2001 stoddard

Reimplement mod_headers as an output filter. mod_headers can now add custom headers to inbound requests using the HeaderIn directive and to responses using the HeaderOut directive. The Header directive has been deprecated in favor of the HeaderOut directive. Submitted by: Graham Leggett Reviewed by: Bill Stoddard

342e2ae0f9ab3e3a56c2f37be6ec6c9c44f9ef48 89150 18-May-2001 trawick

Fix command-line processing so that if a bad argument is specified Apache will exit.

cb5d3f2f217d457dada4883addb1dc9f3f17bb85 89140 18-May-2001 fielding

Change the make targets and rules to be consistent in all of the Apache-owned source trees. Sanity is a good thing.

82c7b60981923b89fb4ab4483d2aebcf206e9ee8 89138 17-May-2001 trawick

Fix processing of the TRACE method. Previously we passed bogus parms to form_header_field() and it overlaid some vhost structures, resulting in a segfault in check_hostalias(). [Greg Ames, Jeff Trawick] Note: Not being familiar with the TRACE method I compared the 2.0 output with 1.3.9 output. The only difference is that with 2.0 we get a Content-Length header field.

7c60e4e710c92b3c4a0eb831bc6dd65368c599bc 89134 17-May-2001 stoddard

Win32: Enable reliable piped log support.

0c7d8ecf301c2a3f99deff385bdda0c21ac60af5 89127 16-May-2001 stoddard

Do not start piped log processes during the config file preflight. This change also circumvents a problem on Windows where the rotatelog processes created during preflight was not getting cleaned up properly.

0e161c3b556697af1dd88b719c05d3af239682d5 89116 15-May-2001 dougm

add "Request Phase Participation" info to mod_info PR: Obtained from: Submitted by: dougm Reviewed by: gstein

aa616c3b5a4aa59867472cddf7d8e63693808f0e 89115 15-May-2001 rederpj

Make first phase changes to the scoreboard data structures in preparation for the rewriting of the scoreboard per my posted design notes. [Paul J. Reder]

bacd210652b4559c2597f62e1d41ccbde92acdfa 89095 12-May-2001 fielding

I woke up too early this morning.

80e9324586de2fa55e2da4df409e6a85885ea659 89094 12-May-2001 fielding

Fix httpd's definition of LTFLAGS to be consistent with that of apr and apr-util, allow it to be overridden by the configure command-line (default="--silent") and introduce LT_LDFLAGS to replace what we were formally abusing as LTFLAGS.

4682cf97ee2eca42a7222e0113ebacf5ef70c4ef 89091 12-May-2001 rbb

Cleanup the reporting of incorrect end tags for container directives. PR: 7617 Submitted by: Barrie Slaymaker <barries@slaysys.com>

9f7fc4627b7d98f6f6955ad6cf0cec5a3e1c4deb 89081 11-May-2001 fielding

Simplify the configuration process by moving all libtool stuff to APR and moving the last bits of hints.m4 inline. Now we only run every test four times instead of five. One down, three to go.

1702068419e130e99f021228659597c1ec658edc 89078 11-May-2001 chuck

Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types of functions used by mod_proxy for export in DLL Submitted by: Ian Holsman <IanH@cnet.com> Reviewed by: Chuck murcko

01f61931c658183042469eb02fd3f61e4e643a6a 88975 02-May-2001 trawick

Prevent a hang when a cgi handled by mod_cgid tries to read a request body from its stdin but no reqest body is being written to the cgi.

7ae8bc63caa2292341a22235223ff1ed17ac02ae 88974 02-May-2001 stoddard

mod_log_config: %c connection status incorrectly logged as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.

23851fdc3ee2eac45ebb85f400a5d719656dfa22 88964 29-Apr-2001 rbb

Create Files, and thus MMAPs, out of the request pool, not the connection pool. This solves a small resource leak that had us not closing files until a connection was closed. In order to do this, at the end of the core_output_filter, we loop through the brigade and convert any data we have into a single HEAP bucket that we know will survive clearing the request_rec. Submitted by: Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>, Cliff Woolley

b90c64e517df3fe1c97806830f84a30362187f0a 88962 29-Apr-2001 fielding

Remove some obsolete macros and rename one that wasn't name protected.

105475009f541187ba7a14a367547d9404c578be 88960 29-Apr-2001 fielding

Completely revamp configure so that it preserves the standard make variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving the configure additions to EXTRA_* variables. Also, allow the user to specify NOTEST_* values for all of the above, which eliminates the need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM. Fix the setting of INCLUDES and EXTRA_INCLUDES. Check flags as they are added to avoid pointless duplications. Fix the order in which flags are given on the compile and link lines.

6ff63662058d5891fc110f8b357a3604d7f7deb3 88955 27-Apr-2001 trawick

Get mod_tls to compile/work better on Windows. PR: 7612 Submitted by: Bernhard Schrenk <b.schrenk@improx.com> Reviewed by: Jeff Trawick

c4be1ca9db22140f3788166f0195304e2fe4743b 88941 26-Apr-2001 gregames

Fix shutdown/restart hangs in the threaded MPM. After removing mod_cgid from my build (thanks, Jeff), I can do: * apachectl graceful, followed by * apachectl restart, followed by * apachectl stop ...and get the results you would expect. Submitted by: Jeff Trawick, Greg Ames, Ryan Bloom

8019a211b7453e80e6e22db6d41fe68dd7f8c4b8 88938 26-Apr-2001 fielding

Removed the keptalive boolean from conn_rec because it is now only used by a single routine and can be replaced by a local variable. Submitted by: Greg Stein, Ryan Bloom, Roy Fielding

a70c3ad07126101795f5a988e86c88a699b297ce 88935 25-Apr-2001 rederpj

Yeah, well, like the entry says, fixed prefork to handle signals properly (mostly SIGTERN).

a7d24462734bb8a75340a5e119da23cbc62f3466 88924 24-Apr-2001 gregames

back out my quiesce limit change altogether from the threaded mpm until it learns how to go away nicely (shouldn't be too bad actually :-)

357b3c68d77f4187bf6be49c248b90ba50b98f4a 88913 23-Apr-2001 gregames

Limit the threaded mpm to quiescing one process at a time. This is to fix a problem where the scoreboard is filled with quiescing processes and no working processes can start, triggered by MaxRequestsPerChild. perform_idle_server_maintenance could theoretically cause it as well.

a3a9ceac1bc30598c594c89e1382609496b7752b 88912 23-Apr-2001 rbb

At the hack-athon we decided to change the way that input filters determine how much data is returned to the previous filter. Prior to this change, we used a field in the conn_rec to determine how much to return. After this change, we use an argument to ap_get_brigade. This makes it much more obvious how things work at all levels, so that module authors can easily determine how much data is supposed to be returned to them.

25e17566bc9005778707317c8919c610513a4418 88904 20-Apr-2001 stoddard

Fix seg fault at start-up introduced by Ryan's change to enabl modules to specify their own logging tags. mod_log_config registers an optional function, ap_register_log_handler(). ap_register_log_handler() was being called by http_core before the directive hash table was created. This patch creates the directive hash table before ap_register_log_handler() is registered as an optional function. Submitted by: [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>] Reviewed by: Jeff Trawick, Bill Stoddard

44ea927aaaa7c419de1c824beb01b26216f387c3 88902 20-Apr-2001 dougm

Add ap_set_int_slot() function PR: Obtained from: Submitted by: John K. Sterling <sterling@covalent.net> Reviewed by: dougm

a601a32cec653022741d22b5d692b6afd6c4dc55 88901 20-Apr-2001 trawick

Under certain circumstances, Apache did not supply the right response headers when requiring authentication. [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114 (This is a port of the change that went into Apache 1.3.19.)

73579c435f9f6c2670c4391114368a2eedaf8ebf 88888 18-Apr-2001 rbb

Allow modules to specify their own logging format specifier. Basically, mod_log_config has registered an optional function, that other modules can use to specify a function to be called. This is analogous to the way that mod_include works. This also allows http to do the connection logging itself, without exposing HTTP specific pieces to other modules.

6202bc12656548c624a235bf43d6c866719b2b06 88873 16-Apr-2001 rbb

If a higher-level filter handles the the byterange aspects of a request, then the byterange filter should not try to redo the work. The most common case of this happening, is a byterange request going through the proxy, and the origin server handles the byterange request. The proxy should ignore it. Submitted by: Graham Leggett <minfrin@sharp.fm>

bf6fc76bb2af745a68396e793d5d51a135a35f54 88859 14-Apr-2001 rederpj

Changed the threaded mpm to have child_main join to each of the worker threads to make sure the kids are all gone before child_main exits after a signal (cleanup from perform_idle_server_maintenance). This is an extension of Ryans recent commit to make the child_main the signal thread. But then thats what the new entry in the file says...

4f110a6b1eb8b6a88a2a0c804cf699062f67f708 88852 13-Apr-2001 rbb

Forgot the CHANGES file.

7aae0c3ef8e7f18f57e2712815c7b48358e5ff68 88836 13-Apr-2001 rbb

Do not install the binaries from the support directory twice. PR: 7490 Submitted by: jun-ichiro hagino <itojun@iijlab.net>

d353d275978f11f5221110e8f954d09d03ec5e3a 88832 12-Apr-2001 rbb

The ap_f* functions should flush data to the filter that is passed in, not to the filter after the one passed in. The fixes a bug, where one filter is skipped when using ap_f*. Submitted by: Ryan Morgan <rmorgan@covalent.net>

20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449 88819 12-Apr-2001 fielding

Make ab work again by changing its native types to apr types and formats. Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com> Reviewed by: Roy Fielding

66f62d70d05d9011c6ac59d5cd10a24e452fa1b3 88815 12-Apr-2001 rbb

When I initially pulled the BYTERANGE filter into the core, Greg Stein told me I was wrong. I was wrong, and Greg was right. This commit just moves the byterange filter and its related functions out of the core, and puts them back in the HTTP specific module. Submitted by: Greg Stein

9832ee60b23ca2a3faa403bbe88720815969a9fe 88809 11-Apr-2001 fielding

Make clean, distclean, and extraclean consistently according to the Gnu makefile guidelines. Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com> Reviewed by: Roy Fielding

dd6d55810261b3c26c4a2ec2e089c031beb1d44d 88806 11-Apr-2001 gregames

commit the CHANGES file, too. This is for fixing the mixup in the naming of the apr_threadattr_detach_xxx functions. (I hope subversion won't make us back up a directory in a few cases...)

ee25ccdf4aa79a7a7f2dfc13fc118f0a343422fc 88794 10-Apr-2001 wrowe

Toss the float nonsense from c-l, and cast atof as a (float), which I will argue is a totally appropriate use of a cast :-)

90a8cab05f4d949dd1317df7e19a2f787c46a5f6 88776 10-Apr-2001 rbb

Remove BindAddress from the default config file, because it is no longer a valid directive. PR: 7539 Submitted by: giles@nemeton.com.au

6c3ee5153fd311a5fc6dd718dcc704487ac7d2a3 88772 09-Apr-2001 rbb

Allow modules to be added to the server at configure time. The syntax is: --with-module=module_type:/path/to/module module_type is the directory under modules/ that the module should be copied to. Currently, this only adds static modules

da3e32612f06d3082e41ba709919c996c89b8c06 88742 06-Apr-2001 rederpj

Update CHANGES file to include the prefork idle child cleanup fix.

faddcd7b25c99228b9ee1c3c3c992818c2fd7d86 88712 04-Apr-2001 rbb

Back out the 2.0.17 stuff. We'll just re-tag the one file in 2.0.16 and re-roll.

a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cd 88711 04-Apr-2001 rbb

Update for 2.0.17. The only change was in APR-util, but APR and APR-util aren't at a point that they have their own release strategy, so this means a new tag for Apache. :-(

decf1efd1558ed0d2562e2f4f2dd741dcc0c392c 88707 04-Apr-2001 rbb

Working in 2.0.17-dev now.

734ab810a1c5028776ed5d6c54b2ef974b75d397 88705 04-Apr-2001 rbb

Update the CHANGES and ap_release files.

0d9c389e9c63d02edb068917d49af2fa8012af91 88692 03-Apr-2001 marc

- change inconsistent use of logdir and logfiledir all to logfiledir, to make the config.layout file work properly. - change default layout to be "Apache", as defined in config.layout, instead of duplicating (some of) that layout in configure itself. - change default installation path to /usr/local/apache2 PR: Obtained from: Submitted by: Reviewed by:

ae416a3cdff7a12665838a2184183299dcee6ec9 88679 03-Apr-2001 bjh

Note OS/2 loadable module support. I've really got to get into the habit of adding these....

b0bb6f215e43a79342c422bc9b0c258add88ca51 88673 03-Apr-2001 stoddard

Get MaxRequestsPerChild working on Windows.

99cec2acb38d6a2fb2d4a9d437db7b50ef5b208a 88667 03-Apr-2001 wrowe

Here they are, real working examples [well, perhaps working.] [Ben Laurie, Will Rowe]

4d83a32b74579903e90aa1cb8574b5b97404d0c4 88649 02-Apr-2001 trawick

Fix segfaults for configuration file syntax errors such as "<Directory>" followed by "</Directory" and "<Directory>" followed by "</Directoryz>"

7c2d1ecc95b2213a3fd449b2549999ed6f19f6be 88647 02-Apr-2001 rbb

Fix --enable-layout processing on NetBSD. This makes us use a consistant location for the config.layout file, and it makes us a bit more portable. PR: 7482 Submitted by: jun-ichiro hagino <itojun@iijlab.net>

51469a0d2057aa24107b6f5a04e145824e10da1f 88628 02-Apr-2001 dirkx

Commit early and often. This should merge all changes into ab from 1.3 into 2.0. SSL work not completed; I need to move some of the autoconf detection of mod_wtls to a more central place first. Any suggestions appreciated :-) PR: Obtained from: Submitted by: Reviewed by:

6d8d0dd6604f823aadbe3a18c3cff4eca584bda8 88611 29-Mar-2001 trawick

Fix a storage leak in mod_cgid... the temporary pool created for each request was not cleaned up. This removes the nastiest symptom of some excess pipes being created (i.e., we don't run out of file descriptors), though something additional is needed to keep from creating the pipes to begin with.

73cd9876e07c696a3e3563277a1d4e3173861af6 88596 27-Mar-2001 stoddard

Performance: Add quick_handler hook. This hook is called at the very beginning of the request processing before location_walk, translate_name, etc. This hook is useful for URI keyed content caches like Mike Abbott's Quick Shortcut Cache.

f0484231f96a9d95f5044c1c8cb33b322d6f9bcb 88582 26-Mar-2001 dougm

top_module global variable renamed to ap_top_module

2281907b9a2a509aa0eabdc0b1d21424018dbbdf 88580 25-Mar-2001 rbb

Move ap_set_last_modified to the core. This is a potentially controversial change, because this is kind of HTTP specific. However many protocols should be able to take advantage of this kind of information. I expect that headers will need one more layer of indirection for multi-protocol work, but this is a small step in the right direction.

2ca377182c951f9895cd5e7a350b442a39c8eb23 88578 25-Mar-2001 rbb

Enable mod_status by default. This matches the docs and what 1.3 does. Submitted by: Ed Korthof

1217c8c05f7e3ac0cac8c8dc0c6e7979326c977a 88575 25-Mar-2001 rbb

Add a ScriptSock default to the defualt config file. This is only enabled when the mod_cgid module is used. PR: 7408 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

15ecbdb46249bbd3ac51fdacaff3b3ac4d179ffa 88574 25-Mar-2001 rbb

We are working on 2.0.16 now.

b6873e2c00ff7b0af18d837ef4c3cd58cf6b54c5 88572 25-Mar-2001 rbb

Prepare for the next roll

893328ef6ff86d0ca27774778d84410353789fb0 88570 24-Mar-2001 fielding

Untangled the buildconf script and eliminated the need for build's aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other libtool muck that is now under srclib/apr/build. More to follow.

274de94b0b59f4ee126dca1726624980828d0cd0 88566 23-Mar-2001 stoddard

Win32: Don't accept more connections that we have worker threads to handle. This is specific to NT/2000.

85d733e70c94a57c9ff893ed05d8b9cfcd0f083f 88564 22-Mar-2001 stoddard

Exit the child main thread in make_child on child exit. This fixes a problem where the child main thread was looping in make_child() forking errant processes.

3f0dd56fa6b79fe389f20738369b290e2f3e9201 88561 22-Mar-2001 trawick

Fix a major security problem with double-reverse lookup checking. Previously, a client connecting over IPv4 would not be matched properly when the server had an IPv6 listening socket. PR: 7407 Submitted by: Taketo Kabe <kiabe@sra-tohoku.co.jp> Reviewed by: Jeff Trawick

70b83609159f247f5920421a890dc27a0718d63a 88556 21-Mar-2001 dreid

Add a not to the CHANGES file now that I've had confirmation that the changes made last night actually work :)

a1033a770bfee276def7d4cb9759856f69293e48 88552 20-Mar-2001 trawick

Empty out the brigade shared by ap_getline()/ap_get_client_block() on error exit from ap_getline(). Some other code got upset because the wrong data was in the brigade.

bd2d582e0f0708b6e8e258a9a5f9a15445752087 88540 19-Mar-2001 trawick

Handle ap_discard_request_body() being called more than once. Add a debug assertion to verify that c->remain is zero when a new request starts. ap_http_filter() does the wrong thing otherwise.

adb8ad10ffc20ed06ec6cfab6cd7933ab429ea7d 88538 19-Mar-2001 trawick

Fix a problem in mod_mime_magic where file descriptor 2 would be inadvertently closed. This logic was in the uncompress child in 1.3 but was in the parent in 2.0. uncompress_child() was renamed to create_uncompress_child() to reflect a change in use since 1.3. A note was added about missing 1.3 logic for doing something with the stderr of the uncompress process.

b45c1c292ff1fa635004ae81fa691f8cb3cdda85 88532 18-Mar-2001 rbb

Add a hook, create_request. This hook allows modules to modify a request while it is being created. This hook is called for all request_rec's, main request, sub request, and internal redirect. When this hook is called, the the r->main, r->prev, r->next pointers have been set, so modules can determine what kind of request this is. Currently, this is only used by the core module, but protocol modules are going to need to have the ability to affect the request while it is being read.

86f191e8221867df8c9cd22271e7d54204f39186 88530 17-Mar-2001 rbb

Cleanup the build process a bit more. The Apache configure script no longer creates its own helper scripts, it just uses APR's. Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>

962f339c5f0f61adde79936f610fb05ce0854d6e 88528 16-Mar-2001 chuck

Stops the forced downgrade of the connection to HTTP/1.0 for proxy requests. Submitted by: Graham Leggett Reviewed by: Chuck Murcko

853a0c44563b056e40e9cffe911190f554e63ec3 88527 16-Mar-2001 chuck

This is a fix that went into v1.3 quite a while back, but not into v2.0. It sorts out the problem when a password protected reverse proxy URL sends a Proxy-Authenticate to a browser instead of a WWW-Authenticate. This patch covers the changes to the httpd-2.0 tree. Submitted by: Graham Leggett Reviewed by: Chuck Murcko

157e6980a24a44e4719173b1c555133caecbc172 88523 16-Mar-2001 stoddard

Avoid using sscanf to determine the HTTP protocol number in the common case because sscanf is a performance hog. From Mike Abbot's Accelerating Apache patch number 6. Submitted by: Mike Abbot <mja@trudge.engr.sgi.com> Reviewed by: Bill Stoddard

171f8c636ff1374e3a3dfff333211becda355b98 88522 15-Mar-2001 trawick

Fix a security exposure in mod_access. Previously when IPv6 listening sockets were used, allow/deny-from-IPv4-address rules were not evaluated properly (PR #7407). Also, add the ability to specify IPv6 address strings with optional prefix length on Allow and Deny. Note: A bit more of PR #7407 remains dealing with a problem with double-reverse lookups when an IPv6 listening socket is used.

faa6e5d8b210456ae4dad0398dfa40a19fd89d59 88511 13-Mar-2001 coar

Enhance customisability of rotatelogs: strftime(3) formatting of filename and offset from UTC. Reviewed by: Greg Stein, David Reid, OtherBill

ed105ee460bbaf479f0aa0f59d3951da85066e27 88498 12-Mar-2001 stoddard

*) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling DuplicateHandle on an IOCompletionPort (a practice which MS "discourages"). The new model does not rely on associating the completion port with the listening sockets, thus the completion port can be completely managed within the child process. A dedicated thread accepts connections off the network, then calls PostQueuedCompletionStatus() to wake up worker threads blocked on the completion port. [Bill Stoddard]

bae64a3e5bf7b96d8379e24f13273f26b3b29e16 88493 12-Mar-2001 coar

Bring forward the suexec umask setting option from 1.3, and also fix some configure.in bits that would define macros that needed to be numbers as strings instead. Obtained from: Apache HTTP Server 1.3

330c042543440d0987244c94c65d14eeb7af0868 88491 11-Mar-2001 rbb

OtherBill told me last night that I never bumped for 2.0.15. Whoops.

c7fe488773cf6f50a1b2d9211c2f30a2ace8b67c 88483 09-Mar-2001 coar

Bring forward the -V option for suexec from 1.3.20-dev. It looks like the umask() option needs to be brought forward, as well. Is this still 2.0.14-dev?

27338fc39af80f2f0e4a8dbdc90c8a8179a5b2e4 88477 08-Mar-2001 rbb

Always clear the C-L if we are going to try to parse the file. It is impossible for us to determine if there is going to be an SSI tag in the file until we have actually scanned it all. By that time, it is likely that the first chunk of data, and the headers have been sent to the client, and it is too late to clear the C-L. If we are parsing the file, we have to just assume we are going to change the content.

2368638f2d161ef697d6150807e2430a52cf905a 88465 07-Mar-2001 rbb

Bump for version 2.0.14

f1fa5e69040a3a72054d185f6087a7d1592b83e8 88464 07-Mar-2001 rbb

Fix content-length computation. We ONLY compute a content-length if We are not in a 1.1 request and we cannot chunk, and this is a keepalive or we already have all the data.

30e3e9b782c701f885583b7d13d8e46c37d7e1dd 88461 06-Mar-2001 trawick

Report unbounded containers in the config file. Previously, a typo in the </container> directive could result in the rest of the config file being silently ignored, with undesired defaults used.

27faa3af8a50c1dc2dc6cb3049722378f85e5517 88454 05-Mar-2001 rbb

Make the old_write filter use the ap_f* functions for buffering the data. This has been tested with a couple of directory listings, but it could probably use a bit more testing before being declared stable.

141b1a93f508248cbc0e9a124cc38041eb3e2562 88449 04-Mar-2001 rbb

Move more code from the http module into the core server. This is core code, basically the default handler, the default input and output filters, and all of the core configuration directives. All of this code is required in order for the server to work, with or without HTTP. The server is closer to working without the HTTP module, although there is still more to do. I tried to fix Windows, but somebody should probably make sure I did it correctly.

865980dc9aeb61741e586502440f0c0fea4835c6 88446 03-Mar-2001 trawick

mention the changes to Apache for PR #6980 PR: 6980

9a0d076511763b559a755133f6a182e6c24ef643 88437 02-Mar-2001 rbb

Allow modules to query the MPM about it's execution profile. This query API can and should be extended in the future, but for now, max_daemons, and threading or forking is a very good start. Non-Unix MPM's do have the MPM query function, although there is no garauntee that the information is perfect, please check. Submitted by: Jon Travis <jtravis@covalent.net>

b42a7e46e4f80282bd27e96d43c9510b14ccb9aa 88417 02-Mar-2001 rbb

Modify mod_include to send blocks of data no larger than 9k. Without this, mod_include will wait until the whole file is parsed, or the first tag is found to send any data to the client. Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>

6501b757f710f75d47c950300d8110aca67dc0b0 88416 02-Mar-2001 rbb

Fix mod_info, so that <Directory> and <Location> directives are not displayed twice when displaying the current configuration.

dfd4950edac888e671b96f62ff5382b7cb350d48 88346 26-Feb-2001 rbb

Add config directives to override the DEFAULT_ERROR_MSG and DEFAULT_TIME_FORMAT. PR: 6193 Submitted by: Dan Rench <drench@xnet.com> Reviewed by: Ryan Bloom

a6d4b3f8d54aaf14d8ee5dda3a09bf8b6370dfa4 88343 26-Feb-2001 wrowe

cold and damp in Chicago tonight, turning colder and frozen.

c9a95767fbf0f5fb0976a06b97a256033925e433 88341 26-Feb-2001 rbb

Begin to move functions from the http module to the core. The goal is to have only functions that are HTTP specific in the http directory.

21b8c3cb46cea2b31a585a95ce9f93f4f6abc35b 88327 25-Feb-2001 rbb

2.0.13 is tagged, so bump everything for 2.0.14

d8d839738b1e80b0f9c54e83677b3f2c46c22705 88320 25-Feb-2001 rbb

Don't assume that the byterange filter will always be called more than once. It is perfectly legal to call the byterange filter one time, with all the data. Without this patch, that case will seg fault. Submitted by: Ryan Morgan <rmogran@covalent.net>

9635d7ffbd8ca441f85051f9a3adba17142d0b20 88318 25-Feb-2001 rbb

Move the error_bucket definition from the HTTP module to the core server. Every protocol will need this definition, so it belongs in the core.

0415e5e1b9b6eba6899a2e5ef18f8facb8db0cfb 88292 23-Feb-2001 stoddard

Modify mod_file_cache to save pre-formatted strings for content-length and last-modified headers for performance. Submitted by: Mike Abbot <mja@trudge.engr.sgi.com> Reviewed by: Bill Stoddard

1374444b4fab1475091e12a81663f379b73005ef 88282 23-Feb-2001 rbb

Namespace protect IOBUFSIZ since it is a public symbol. Submitted by: Jon Travis <jtravis@covalent.net>

3233d057ad276d823bded5c24c3fd6729ed1a736 88281 23-Feb-2001 rbb

Use "Basic" authentication instead of "basic" in ab, as the spec says we should. PR: 7294 Submitted by: Andre Breiler <andre.breiler@rd.bbc.co.uk>

9927a2a72d50103f32323b53f5fc4577c1801327 88279 22-Feb-2001 rbb

Fix a seg fault in mod_userdir.c. We used to use the pw structure without ever filling it out. PR: 7271 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> and Cliff Woolley <cliffwoolley@yahoo.com>]

82d2eed8f2152aff3f7554951c133a9d404ebbc5 88271 22-Feb-2001 rbb

Add a couple of GCC attribute tags to printf style functions. This also fixes a couple of mismatched parameters highlighted revealed by the attribute. Submitted by: Jon Travis <jtravis@covalent.net>

2e970b7ec485dde18f8fb3f494f98a3f68749859 88270 22-Feb-2001 fanf

Add the correct language tag for interoperation with the Taiwanese versions of MSIE and Netscape. PR: 7142 Submitted by: Clive Lin <clive@CirX.ORG>

a5a7ecb732cfe89bb1f8e3c61b316c2075cefe52 88267 21-Feb-2001 rbb

Make the perchild MPM use the APR signal child and apr thread functions. This allows perchild to compile and run out of CVS again.

364701a102725758f2e3a511924381e2faa93e27 88264 21-Feb-2001 rbb

Close the accepted socket before creating the CGI process in mod_cgid. This is safe, because we have already dup'ed the socket for the CGI process itself. This change allows CGI processes to fork long-lived child processes without affecting how quickly the response gets back to the broswer. PR: 7273 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> Reviewed by: Ryan Bloom

0811e8a41d152f0016a385ce1dfa44f475425b70 88256 21-Feb-2001 rbb

Remove the rest of the pthreads functions from the threaded MPM

957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70 88255 21-Feb-2001 rbb

Make mod_dir use a fixup for sending a redirect to the browser. Before this, we were using a handler, which doesn't make much sense, because the handler wasn't generating any data, it would either return a redirect error code, or DECLINED. This fits the current hooks better. Submitted by: Ryan Morgan <rmorgan@covalent.net>

e91c80d53d8ffa738283d923638fa3efd8aa6bf7 88252 20-Feb-2001 rbb

Migrate the threaded MPM to use all APR threading calls. This isn't quite perfect yet, because of the sigwait and sigmask calls. Those are going away next.

9359bd100badb53fd8a465cb3a0a90b218b30c4c 88223 18-Feb-2001 ben

Working SSL/TLS! Yay!

d0211374a981173d4537e3f919c708b5f64040fc 88219 18-Feb-2001 gstein

implement ability to do --enable-modules and --enable-mods-shared for "all" and "most". still need to tweak various config.m4 files to sort them out.

37d15e1062df9dcdd39ebee5bd2fdc75d4a6aa4a 88203 16-Feb-2001 rbb

Make the threaded MPM use APR locks instead of pthreads mutexes. This is the first step towards getting the threaded MPM to rely on APR for all of it's threading needs.

e3ec3193b69b45923c14915fa3ee3bc1f0215baf 88199 16-Feb-2001 rbb

Rename the mpmt_pthread module to threaded. This module has moved from the old mpmt_pthread directory to the new threaded directory.

138c8f7cb8254e035c6f45288e3909cd9c21be5c 88189 16-Feb-2001 martin

Rename the module structures so that the exported symbol matches the file name, and it is easier to automate the installation process (generating LoadModule directives from the module filenames). Next step is to remove the 4th argument to the APACHE_MODULE macro completely and require people to use the matching names, and to reduce the LoadModule directive to 1 argument.... Objections?

adaea88da2d103e4302e361c932b98cee86fb1c5 88179 16-Feb-2001 rbb

Note the removal of coalesce filter in the CHANGES file, and also note that we have moved on to the next minor version number.

8e7c85d6eb9bf628f081763c5bd778b784d5001c 88144 13-Feb-2001 rbb

Remove the dexter MPM. This has been replaced with the Perchild MPM. The two MPMs are basically identical, except that Perchild also allows each child process to have a unique uid/gid combination.

97ad13ce0413b573e63512b57c874ebbd41065b2 88130 13-Feb-2001 rbb

Make perchild build again

2d3a1dd65798c72b7e46593614b4e27716cc5cde 88127 13-Feb-2001 rbb

Don't disable threads just because we are using the prefork MPM. If somebody wants to compile without threads, they must now add --disable-threads to the configure command line. [Ryan Bloom]

78f2608a1583b3cb409e12be701392ad1a929653 88117 12-Feb-2001 rbb

Begin to move the code that updates the child status out of the MPMs and into the main-line code. This ensures that all MPMs can easily forget about updating their status.

c5c3b5e33fca6425dc716e1dc51c10733d9b6bc3 88115 12-Feb-2001 rbb

Allow mod_tls to compile on Unix boxes where openssl has already been installed. Submitted by: Gomez Henri <new-httpd@slib.fr> Reviewed by: Ryan Bloom

be7b08f10dc6b0be088c8b41009d89ea49ad4aca 88093 11-Feb-2001 rbb

Clean up the mod_tls configure process. This should remove most, if not all, of the hand-editing required to make mod_tls compile. I have also updated the README to reflect the current process. I have also noted that we require OpenSSL 0.9.6 to compile. I am getting all sorts of warnings from the OpenSSL header files, and I get a single error from the OpenSSL libraries, but I am assuming that is a problem with my configuration, not the mod_tls code.

2a0c3663b66c9af764267ac3c4e140e659598474 88090 11-Feb-2001 ben

First cut of TLS support.

8a76b3f3c93d39930182afa227d258218f80926b 88080 11-Feb-2001 rbb

Fix a potential segfault on all platforms. David Reid fixed this for BEOS, but this could actually happen on any platform, so we should be safe and protect ourselves. Submitted by: Cliff Woolley <cliffwoolley@yahoo.com> Reviewed by: Ryan Bloom

11d400383ba9f941cc49e1a8da562fd172d3d7c5 88046 10-Feb-2001 stoddard

Add new LogFormat directive, %D, to log time it takes to serve a request in microseconds.

528e2a7d7cf6b8879291b59dd5afd8f6c7ae1b6b 88042 10-Feb-2001 rbb

Change AddInputFilter and AddOutputFilter to SetInputFilter and SetOutputFilter. This corresponds nicely with the other Set directives, which operate on containers while the Add* directives tend to work directly on extensions. [Ryan Bloom]

1a3161b56ebbbd036730d5372d4800cc495db212 88029 09-Feb-2001 rbb

Make the header filter use the brigade buffering functions for creating the header string. This allows us to clean up the header handling a bit, because we don't need to compute the correct length before we can create the headers.

2d87d8f191175a0683f430d790d81a5604b74ec6 88028 09-Feb-2001 rbb

Allow filters to buffer data in a brigade using the ap_f* functions. These have become simple macros that just wrap the apr_brigade functions, allowing filter writers to ignore the flush function and the ctx pointer.

6bcee6b60a2fc4c96328af30e79bad4927ff30f3 88012 07-Feb-2001 rbb

Get the Unix MPMs restarting again. If we are going to register a cleanup for ap_cleanup_scoreboard, then we have to kill that cleanup with the same function. This also makes ap_cleanup_scoreboard a non-static function, and makes ap_cleanup_shared_mem a static function.

1e8d4cfede0bad3a1a33e3b2eef0ba6754746f72 88011 07-Feb-2001 rbb

Install all required header files. Without these, some modules can not be compiled outside the src tree.

5600cf225f3be88ed9b5385a0737ccde7d0775bb 88010 07-Feb-2001 rbb

Fix a bug with AliasMatch. When forward fitting a bug from 1.3 to 2.0, we forgot a single line which broke this option. PR: 6881

84b76faff9e8fa4b16b587b95d3930e36fe3c405 88000 06-Feb-2001 rbb

We have a poor abstraction in the protocol. This is a temporary hack to fix the bug, but it will need to be fixed for real. If we find an error while sending out a custom error response, we back up to the first non-OK request and send the data. Then, when we send the EOS from finalize_request_protocol, we go to the last request, to ensure that we aren't sending an EOS to a request that has already received one. Because the data is sent on a different request than the EOS, the error text never gets sent down the filter stack. This fixes the problem by finding the last request, and sending the data with that request. PR: 7165

bcef91d7068817e2e56854f5c5b22b6eb4663a85 87994 06-Feb-2001 rbb

Setup the server start time correctly. This also gets the server uptime to be reported correctly. I have also moved this code into a common location, so that individual MPMs do not need to worry about setting up the start time.

445997e06464e7625c7f0e22917f8f2d9876cfff 87984 05-Feb-2001 rbb

Move the logic for creating CGI processes from mod_include to mod_cgi(d). This removes a good deal of duplicate logic for creating CGI scripts.

a2c240fe8836beba2330b03d55569d9e31bb3358 87982 05-Feb-2001 trawick

ap_new_connection() returns NULL if an error occurred (prefork MPM and ap_new_connection() were changed last week) I have skipped putting the change into WinNT MPM and mod_proxy. I left a note in the mod_proxy code; for the NT MPM I think I can talk somebody into doing the right thing for me.

13ee9baf0119bca0739d3f17591f0bf2c64cdccc 87973 05-Feb-2001 rbb

Move the server version information out of httpd.h and into release.h. This is in preparation of the first tag with the new tag and release strategy.

5a58a10705b7b154b53294e0c0283d64eabdcb7f 87959 02-Feb-2001 stoddard

Begin restructuring scoreboard code to enable adding back in the ability to use IPC other than shared memory. Get mod_status working on Windows again. Still to do: Rename some of the function APIs. Replace all calls to reinit_scoreboard with ap_create_scoreboard. Add back in support for scoreboard files.

3568de757bac0b47256647504c186d17ca272f85 87949 01-Feb-2001 rbb

Bring mod_status for 2.0 back in line with mod_status for 1.3. This is basically a straight port of the 1.3 module to 2.0. The MPMs need to be modified a bit to work with mod_status, but prefork, mpmt_pthread, and dexter have already been changed. I will fix perchild tonight. There is a lot of common code that can be abstracted, and there seems to be a small bug with regard to what mpmt_pthread and dexter report as current connections. ExtendedStatus does work again, although until the bug mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter. Next week, I will look at allowing other modules to add data to the STATUS page and possibly to the scoreboard itself.

CHANGES include/mpm_status.h include/scoreboard.h modules/generators/mod_status.c modules/http/http_protocol.c server/Makefile.in server/config.m4 server/connection.c server/mpm/beos/Makefile.in server/mpm/beos/scoreboard.c server/mpm/beos/scoreboard.h server/mpm/dexter/Makefile.in server/mpm/dexter/dexter.c server/mpm/dexter/mpm.h server/mpm/dexter/mpm_default.h server/mpm/dexter/scoreboard.c server/mpm/dexter/scoreboard.h server/mpm/experimental/perchild/Makefile.in server/mpm/mpmt_beos/Makefile.in server/mpm/mpmt_beos/scoreboard.c server/mpm/mpmt_beos/scoreboard.h server/mpm/mpmt_pthread/Makefile.in server/mpm/mpmt_pthread/config.m4 server/mpm/mpmt_pthread/mpm.h server/mpm/mpmt_pthread/mpm_default.h server/mpm/mpmt_pthread/mpmt_pthread.c server/mpm/perchild/Makefile.in server/mpm/perchild/scoreboard.c server/mpm/perchild/scoreboard.h server/mpm/prefork/config.m4 server/mpm/prefork/mpm.h server/mpm/prefork/mpm_default.h server/mpm/prefork/prefork.c server/mpm/prefork/scoreboard.h server/mpm/spmt_os2/scoreboard.h server/scoreboard.c
98f3c8c547839251cb43e9f917114cc8b16ced9e 87942 01-Feb-2001 fanf

Correct a typo in httpd.conf. Submitted by: Kunihiro Tanaka <tanaka@apache.or.jp> PR: 7154

1a411968bb62cc88c3cbf14a53caf6587c224259 87939 01-Feb-2001 fanf

MF 1.3 the fis for the mod_rewrite stupidity.

10a2de5cee9ae5abe675ea200fbe635a54556c8f 87938 01-Feb-2001 fanf

Get the correct IP address if ServerName isn't set and we can't find a fully-qualified domain name at startup. PR: 7170 Submitted by: Danek Duvall <dduvall@eng.sun.com>

60777c94cb33363389d4848524c0809c235ba5e5 87905 29-Jan-2001 rbb

Make mod_cgid work with SuExec. This has been tested and works reliably on my machine, but since this is security related, this should be tested and scrutinized by as many people as possible.

b5140df3124b186e4a977812fd9828d1e295c080 87904 29-Jan-2001 wrowe

*) Adopt apr user/group name features for mod_rewrite. Eliminates some 'extra' stat's for user/group since they should never occur, and now resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS volumes. No-one commented on loosing the 'stat' calls, can anyone invent a scenario where they could be required? Also, I don't like the casts either, so if you have a better solution, don't whine, just fix it :)

c9dafaafc2650994e47f88f5239f643c97ec4cb3 87903 29-Jan-2001 wrowe

*) Adopt apr features to simplify mod_includes. This changes the behavior of the USER_NAME variable, unknown uid's are now reported as USER_NAME="<unknown>" rather than the old user#000 result. WinNT now resolves USER_NAME on NTFS volumes. [William Rowe] ** Also fixes yet another stat result, allowing APR_INCOMPLETE

41aef8943f349ee0b5b510dd436301b4c33c628c 87902 29-Jan-2001 wrowe

Moved several CHANGES back to APR where they belonged in the first place, Adopt apr features for simplifing mod_userdir, and accept the new Win32/OS2 exceptions without hiccuping Also note a potentially serious flaw - others please review.

bb360f1d9bdce4f55f290de07a711db006b25957 87901 29-Jan-2001 wrowe

Moving a small OS2'ism into APR, it's pw_dir excludes the username. Return the expected result. Also noted the headers/os2errno changes from early this morning.

5727f68f33838686d447f55a100309e54efb20f8 87887 28-Jan-2001 fielding

Replace configure --with-optim option by using and saving the environment variable OPTIM instead. This is needed because configure options do not support multiple flags separated by spaces.

d28c69d8e5f2e88e653d61436bb6fa6302a212b4 87885 28-Jan-2001 rbb

Fix some byterange handling. If we get a byte range that looks like "-999999" where that is past the end of the file, we should return a PARTIAL CONTENT status code, and return the whole file as one big byterange. This matches the 1.3 handling now. [Ryan Bloom]

b974a8fc59a9d6193305dcd8690992a411d88232 87883 28-Jan-2001 rbb

Make the error bucket a real meta-data bucket. This means that the bucket length is 0, and a read returns NULL data. If one of these buckets is passed down after the headers are sent, this data will just be ignored. Submitted by: Greg Stein

fa996ff928f6170678c8789c8073c368f56d770a 87882 28-Jan-2001 rbb

The prefork MPM wasn't killing child processes correctly if a restart signal was received while the process was serving a request. The child process would become the equivalent of a second parent process. If we break out of the accept loop, then we need to do die after cleaning up after ourselves.

a1bbc66131c63e718e3f73fc11a348f7552d7947 87881 28-Jan-2001 rbb

Make the Prefork MPM use SIGWINCH instead of SIGUSR1 for graceful restarts.

b31025f6f2c0392dc76eecca7f27faad0b902be0 87873 27-Jan-2001 wrowe

Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo calls to avoid ownership and permissions on Win32 when they are not required, and until they are implemented.

4783bc116b4dc37deadcc0b68ce3d3eeb6a7464a 87868 27-Jan-2001 ben

Add support for type-safe optional functions.

fcc25eda7b150e226d3c1cdaea66a943d3fdee4e 87863 27-Jan-2001 rbb

filters can now report an HTTP error to the server. This is done by sending a brigade where the first bucket is an error_bucket. This bucket is a simple bucket that stores an HTTP error and a string. Currently the string is not used, but it may be needed to output an error log. The http_header_filter will find this bucket, and output the error text, and then return AP_FILTER_ERROR, which informs the server that the error web page has already been sent.

cab10c98980b42562a7850410cecd37798e170ec 87854 26-Jan-2001 rbb

Stop using the request filters to filter an error response. This fixes a bug where we were using the byterange filter to filter an error, which caused us to close the connection before we had sent any data. Currently, we only keep the three most important filters, but we may need to add more in the future. I am mostly thinking of the charset translation filter.

71715c646d5231de578431f8961e711764b899d3 87803 24-Jan-2001 fanf

Relax the checking of Host: headers so that only character sequences that are sensitive to the filesystem are rejected, i.e. forward slashes, backward slashes, and sequences of more than one dot. This supports iDNS without compromising the safety of mass vhosting. PR: 6635

2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9 87791 23-Jan-2001 rbb

Cleanup the byterange filter to use the apr_brigade_partition and apr_bucket_copy functions. This removes a lot of very messy code, and hopefully makes this filter more stable.

8695c28e4d0bb9357f606045b37238d4f49ce8b6 87784 21-Jan-2001 rbb

Remove AddModule and ClearModuleList. Neither directive really makes much sense anymore, since we use the hooks to order modules correctly. This also removes the possability that one module will ever register the same function for the same hook twice.

5f69f46ccdf50afd8f0a23f134746e6066185e89 87779 21-Jan-2001 rbb

If --enable-suexec is specified, then we need to build suexec automatically. This bit me multiple times last night as I was trying to setup apache.org. I would make a change to the configuration, run make; make install, and it would fail. The problem was that suexec wasn't getting re-compiled ever, so my changes weren't getting picked up. This solves that problem, by making sure that suexec gets compiled if it was specified on the configure line.

e76797ee89ad6fb15ad97b0f3903ae324ac44949 87761 20-Jan-2001 wrowe

Sunny in Chicago.

a1e0709c89175c34a3f72eb4a83d7ee1621a0884 87755 20-Jan-2001 rbb

Move initgroupgs, ap_uname2id and ap_gname2id from util.c to mpm_common.c. These functions are only valid on some platforms, so they should not be in the main-line code. These functions are also not portable to non-unix platforms, so they don't really belong in APR. Since they are only used in MPMs, for right now, I am moving them to mpm_common.c

4b13b6bcdcfae61d3c58cc2569757651f28f2bbf 87754 20-Jan-2001 rbb

Remove ap_chdir_file. This function is not thread-safe, and nobody is currently using it. The proper way to do this, is to use the apr_create_process API.

34ea1d36f4e1c8d66338e691793017d105cc9c32 87743 19-Jan-2001 rbb

Fix make depend for the whole server

2c8f06bf370a44a3d0544ed5319355463c417132 87740 19-Jan-2001 gregames

missed these files on my previous commit of highperformance.conf - wrong commit incantation

db06e09891b001667974483058923b88c3258324 87738 19-Jan-2001 rbb

Stop checking to see if this is a pipelined request if we know for a fact that it isn't. Basically, if r->connection->keepalive == 0. This keeps us from making an extra read call when serving a 1.0 request. Submitted by: Ryan Bloom and Greg Stein

8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2 87723 18-Jan-2001 fanf

Bring forward from 1.3: I broke mod_rewrite by modifying strings in place when expanding them, because variable lookups can cause subrequests which cause mod_rewrite to do its stuff again including an expansion on the same string, which is then syntactically invalid. So copy the lookup keys somewhere else before using them in such a way that may cause recursion. In addition to this, my parser could also be confused by complicated nested rewrite map expansions like ${map1:${map2:key|dflt}|dflt} so fix that too by keeping track of {} when looking for |. PR: 7087

26cf4d32b4ff8807a64b0cfa6865a7d6d171c68e 87717 18-Jan-2001 fanf

Fix the RFC number mentioned when complaining about a missing Host: header. PR: 7079 Submitted by: Alexey Toptygin <alexeyt@wam.umd.edu>

f4ab6acec7b02518869ca649ce2d3ceeb92d282e 87691 15-Jan-2001 trawick

mention mod_dav in the description of the ap_http_filter() fix in case other folks were hitting a problem with mod_dav and need an excuse to upgrade

06c107289de0a0888386e0bc08ef9fc60aacd8bc 87689 15-Jan-2001 trawick

Fix an endless loop in ab which occurred when ab was posting and the server dropped the connection unexpectedly.

b0bd38b2226e5cfb86cce6ed1991723f4c9e4f68 87684 15-Jan-2001 trawick

Fix a segfault in ap_http_filter(). I hit the segfault while discarding the body of a request, but it could affect other paths.

83047afdc49c183cdca6373dba6a0c6afa638f12 87669 12-Jan-2001 gstein

I only suggested a scheme. Ryan did the work.

bf9902ea6090f94c9ee0aaddd80b419a184ffe55 87667 12-Jan-2001 jim

Document the changes in how hints.m4 works and the additional of NOTEST_*

0b34df54ff22d0ca05eb8e9d7c9610138a878c83 87661 12-Jan-2001 rbb

Stop using environment variables to set ONE_PROCESS and NO_DETACH. Now we use the -D command line argument to Apache to configure these options. Submitted by: Greg Stein

c8cc46d12794845f39fa154224075a3bbe57a4c8 87605 07-Jan-2001 ben

Note hooks->handlers change. PR: Obtained from: Submitted by: Reviewed by:

5dea9095cbfab622c65e5f2f806007aaa7d7761a 87592 05-Jan-2001 rbb

Stop copying file names that we get from apr_file_t's and apr_dir_t's. We copy the data when we store it in the structures, we can just return a pointer from there, and use const data. This puts the onus back on Apache to copy the data if it needs to modify it.

365c33fd9c0fc3ac27c0bd1d360a5a94980c576a 87576 03-Jan-2001 trawick

mod_cgi: Fix some problems where the wrong error value was being traced (errno instead of apr_status). mod_cgid: Keep some of the code in synch with the version in mod_cgi.

0ea568e49752d337d2b513cce07f2a6f4699d6ea 87573 03-Jan-2001 trawick

Make a brief note about recent EBCDIC fixes.

b7a0ad483b54711addc5f43f679189619a23c749 87568 02-Jan-2001 ben

Generic hooks (and a demo content filter module).

328d02603f471fad56cc5588fc9e93f589593ad0 87560 31-Dec-2000 rbb

Use a real pool to dup the error log file descriptor.

1c850e9f96375578e43e5f69ba7499a543b2a7bd 87551 29-Dec-2000 trawick

Fix a segfault caused by mod_ext_filter when the external filter program does not exist. I wish I understood why I didn't hit this problem in the normal case :(

48a2f5e2c189669b025d462f44fda5d4b45e8d78 87550 29-Dec-2000 trawick

note some recent tweaks to bucket/brigade processing, as well as the problem they fix

b22fb75c37b70fbe176afdb8081c3ce2dba86db4 87540 28-Dec-2000 rbb

Ignore CRLF (or LF) when PEEK'ing at data on the socket. The general problem is that some browsers send an extra line at the end of a POST request. We use the PEEK method to determine if there is any data left on the socket, if there is then we delay sending the response until we have enough data to make it worthwhile. If the browser sends an extra blank line, we don't want to delay the response at all. The only time we use the PEEK method is to check for a second request, so this is safe to do. This also solves Joe Orton's problem of specifying a Content- Length of 1 for a blank line, and having the server wait to send back a response. The problem is that Linux (all Unix really) sends two characters \r\n for a blank line, so specifying a C-L of 1 means that the server still sees a \n when it PEEKs that the socket data. That \n can be safely ignored however.

8fccb89ed59d5c80c76a818f7ca02bb0d068d4d3 87539 28-Dec-2000 rbb

Last change to get SuEXEC working again, and respecting configuration changes made using autoconf setup.

da07a882b90b44243c9cd88ac09a789999dccc4d 87526 26-Dec-2000 rbb

Allow buildconf to find the config.m4 files in the correct order. This allows the decisions made in one config.m4 file to be based on decisions made in previous config.m4 files. For example, the config.m4 in the generators config.m4 can choose the correc cgi module based on which MPM is chosen. To do this, we find all filenames config*.m4, and then we re-order the filename so that it looks like: *config.m4/path/to/file. Once all files are in this format, we sort the files, and then re-arrange the file names again to put them in the correct order. There may be better ways to do this, but I couldn't find a portable way to call sort so that this would work.

4a5c8a77f48f0cf10bfe70479d0a2e8e7d6cd917 87524 23-Dec-2000 rbb

Get mod_cgid to use apr calls for creating the actual CGI process. This also allows mod_cgid to use ap_os_create_priviledged_process, thus allowing for SuExec execution from mod_cgid. Currently, we do not support everything that standard SuExec supports, but at least it works minimally now.

5bf029f8452b6aa105cf3d9d9b19221920725428 87521 23-Dec-2000 rbb

Allow SuExec to be configured from the ./configure command line

60ed053fe71b1e3cfab8c4ed37afde30a6db4841 87515 23-Dec-2000 rbb

Update the Readme and Install docs to reflect 2.0 a bit better.

e03878add0099ba9741efc46d545955a60ea8bdc 87514 23-Dec-2000 rbb

If we get EAGAIN returned from apr_sendfile, then we need to loop back and call it again. This change allows us to serve large files (such as apache_2.0a9.tar.gz) using Apache 2.0 on FreeBSD.

1860b2b5f1de31f8cf9d95f1b394fe98c8dbfab7 87506 22-Dec-2000 rbb

Cleanups so that the support programs build cleanly. The Win32 values need to be sanity checked. Submitted by: Cliff Woolley <cliffwoolley@yahoo.com> Reviewed by: Ryan Bloom

9ec65cbae2f760e485a1c54df5b19853688d5c91 87471 21-Dec-2000 wrowe

The Win32 overhaul, in summary; Modules are named mod_foo.so Dynamic Libraries are named libfoo.dll, and are stored in bin/ The former ApacheCoreDll is now libhttpd.dll Apache.exe moves to bin/ The make install now copies include, lib, and libexec All build options are normalized, filenames adjusted appropriately

Apache.dsp Apache.dsw ApacheCore.def ApacheCore.dsp ApacheCoreDll.dsp CHANGES InstallBin.dsp Makefile.win docs/conf/httpd-win.conf httpd.dsp libhttpd.def libhttpd.dsp modules/aaa/mod_auth_anon.dsp modules/aaa/mod_auth_dbm.dsp modules/aaa/mod_auth_digest.dsp modules/cache/mod_file_cache.dsp modules/dav/fs/mod_dav_fs.dsp modules/dav/main/mod_dav.dsp modules/generators/mod_info.dsp modules/generators/mod_status.dsp modules/mappers/mod_rewrite.dsp modules/mappers/mod_speling.dsp modules/metadata/mod_cern_meta.dsp modules/metadata/mod_expires.dsp modules/metadata/mod_headers.dsp modules/metadata/mod_usertrack.dsp modules/proxy/mod_proxy.dsp os/win32/ApacheCore.c os/win32/BaseAddr.ref server/gen_test_char.dsp server/gen_uri_delims.dsp srclib/expat-lite/expatlib.def srclib/expat-lite/expatlib.dsp srclib/expat-lite/libexpat.def srclib/expat-lite/libexpat.dsp srclib/expat-lite/xmlparse.dsp srclib/expat-lite/xmltok.dsp srclib/pcre/dftables.dsp srclib/pcre/pcre.dsp srclib/pcre/pcreposix.dsp support/ab.dsp support/htdigest.dsp support/htpasswd.dsp support/logresolve.dsp support/rotatelogs.dsp
6f06d481dafc90f1b553f1d2828bcea50a039854 87466 20-Dec-2000 fielding

why do people keep removing this blank line?

a8c0c0b8d7dada680bd3f3d70f78ce0656ba5aa6 87450 20-Dec-2000 trawick

mention the recent IPv6 changes... I had hoped to get the doc updated by this time but...

77c656dabf05adcdee0d30b15b4628be738a1913 87446 20-Dec-2000 rbb

Remove some STATUS items, and finish off the install dir re-org. 1) DSO modules are installed in modules/. If/when Unix gets some shared libraries, those should be installed in libraries/. 2) apache.org:8092 is currently running Apache 2.0. When Brian has time, this will move to port 80

7e73041858979fd162c849cc2e7447beb51eedf8 87431 19-Dec-2000 rbb

Install all headers in the include/ directory.

886cd69ebf69e990dbc365be87ff8ea7cd681904 87424 19-Dec-2000 rbb

Force all Apache functions to be linked into the executable, whether they are used or not. This uses the same mechanism that is used for APR and APR-util. This may not be the correct solution, but it works, and that is what I really care about. This also renames CHARSET_EBCDIC to AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes the exports script a bit easier.

ce121a776564df6bb75498209094142d92404b8a 87423 19-Dec-2000 trawick

Rework the RFC1413 handling to make it thread-safe, use a timeout on the query, and remove IPv4 dependencies.

e1ade9256c87684358786fcf7eef251bd4c1db10 87422 19-Dec-2000 rbb

Get all of the auth modules to the point that they will install and be loadable into the server. Our new build/install mechanism expects that all modules will have a common name format. The auth modules didn't use that format, so we didn't install them properly.

db9ac238bf63d7df2bebbaff4de1628a32151028 87399 18-Dec-2000 trawick

API routines ap_pgethostbyname() and ap_pduphostent() are no longer available. Use apr_getaddrinfo() instead. The ap_pduphostent() code was moved to modules/proxy/proxy_util.c for now since that is the only caller. When the proxy's use of the resolver is APR-ized this won't be needed anymore.

eae32ab3fb398ca408bc2d45b22adf1b67a75471 87393 18-Dec-2000 rbb

Get "NameVirtualHost *" option working in Apache 2.0

d1d25826dbd7d2ba97db90b77122ae2b0f363e89 87390 17-Dec-2000 rbb

Make the server return HTTP_RANGE_NOT_SATISFIABLE if the all of the requested ranges begin after the end of the response.

42ec91fadb5532438ab4c02993b15c18a517967f 87389 17-Dec-2000 rbb

Get byterange requests working with data that is generated by a handler that does not add a content-length. For example, mod_autoindex doesn't set a content-length, but the byterange filter requires one. We fix this by computing the content-length in the byterange filter.

2975523a2901fc601ae9510082a7d4fb11bb9aec 87359 15-Dec-2000 ake

Get exe CGI's working again on Windows

5827adc4c40ff4b10db9b09cea43f4307c8fc319 87330 13-Dec-2000 trawick

Straighten up the first-time-through check in mod_cgid and add a CHANGES entry for the bug fixes to mod_rewrite and mod_cgid.

96fc773162e93e5b85686ab152f11baf4498d868 87314 12-Dec-2000 rbb

PR:

e7270e4daeb3e62414b361ca2bf0e707d0ae3310 87309 12-Dec-2000 wrowe

Boy, that's alot of shoveling (the snow... really)

f6e9f5600e77b78fb013bb543d364135961639d1 87241 07-Dec-2000 rbb

Make mod_include use a hash table to associate directive tags with functions. This allows modules to implement their own SSI tags easily. The idea is simple enough, a module can insert it's own tag and function combination into a hash table provided by mod_include. While mod_include parses an SSI file, when it encounters a tag in the file, it does a hash lookup to find the function that implements that tag, and passes all of the relevant data to the function. That function is then responsible for processing the tag and handing the remaining data back to mod_include for further processing. Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com> Reviewed by: Ryan Bloom

b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0 87182 04-Dec-2000 trawick

Get rid of ap_new_apr_connection(). ap_new_connection() now has fewer parameters: the local and remote socket addresses were removed from the parameter list because all required information is available via the APR socket.

cfa64348224b66dd1c9979b809406c4d15b1c137 87174 04-Dec-2000 fielding

The httpd-2.0 repository is now open for business. I have copied over all files for which the cvs history is important. The rest can be added as new files (like this one). The modules were tagged as "moving_to_httpd_module" prior to my move. Any commits to apache-2.0 after that point will have to be repeated here.