1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Commit Graph

5064 Commits

Author SHA1 Message Date
Jim Jagielski
297c7af35f Backport:
* mod_cache: Let Cache-Control max-age set the expiration date. 
        Trunk version of patch:
         http://svn.apache.org/viewvc?view=rev&revision=539063
        2.2.x version of patch:
         http://people.apache.org/~jerenkrantz/max-age-expire-2.2.x.patch
         (No ->minex in 2.2.x)
        +1: jerenkrantz, fielding, striker



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539430 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 12:41:14 +00:00
Justin Erenkrantz
4f100a47d3 mod_cache: Allow caching of requests with query arguments when Cache-Control
max-age is explicitly specified.

(Backport of r538807)

Reviewed by: jerenkrantz, fielding, rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539280 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 06:12:24 +00:00
Justin Erenkrantz
111f019f09 mod_disk_cache: Allow Vary'd content to be refreshed properly.
(Backport of r538992, r538997, r539054)

Reviewed by: jerenkrantz, fielding, rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539279 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 06:09:53 +00:00
Justin Erenkrantz
8155b69e22 mod_proxy: Print the correct error message for erroneous configured ProxyPass
directives. PR 40439.

(Backport of r441947)

Reviewed by: rpluem, jim, jerenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539277 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 06:06:57 +00:00
Justin Erenkrantz
6b141a3d47 mod_so: Provide more helpful LoadModule feedback when an error occurs.
(Backport of r520733)

Reviewed by: wrowe, rpluem, niq


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539275 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 06:04:31 +00:00
Justin Erenkrantz
da10aa511c mod_alias: Accept path components (URL part) in Redirects. PR 35314.
(Backport of r490142)

Reviewed by: niq, jim, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539273 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 06:00:10 +00:00
Justin Erenkrantz
ee2d2fece0 mod_headers: Allow % at the end of a Header value. PR 36609.
(Backport of r490156, r499567)

Reviewed by: niq, rpluem, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539271 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 05:57:45 +00:00
Ruediger Pluem
f0db3df984 Merge r506621 from trunk:
* 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

Submitted by: rpluem
Reviewed by: rpluem, jerenkrantz, jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539112 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 21:03:04 +00:00
Ruediger Pluem
3fd2406cd0 Merge r504183 from trunk:
* 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, jerenkrantz, jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@539111 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 20:57:17 +00:00
Ruediger Pluem
05b665bd8b Merge r425787 from trunk:
* 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

Submitted by: rpluem
Reviewed by: rpluem, wrowe, jerenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@538868 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 10:55:15 +00:00
Jim Jagielski
519fedd812 Merge r473278 from trunk:
Add alternate is_socket_connected by using APR functions.
Submitted by: mturk
Reviewed by: jim


Merge r535354 from trunk:

Abstract out (kinda) MSG_PEEK. This way when we
actually update APR and apr_socket_recvfrom()
to know about APR_MSG_OOB, APR_MSG_PEEK, etc...
this code won't need to be adjusted. Also,
make nicer for 2.2 backport.


Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@536291 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 18:25:52 +00:00
Jean-Frederic Clere
718dd3a76b Rollback my previous commit. Sorry ;-(
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@536160 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 11:01:51 +00:00
Jean-Frederic Clere
b79d9092c4 Add the improvement proposed by rpluem to my backporting proposal.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@536158 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 10:54:35 +00:00
Ruediger Pluem
f51303a9e8 Merge r476625 from trunk:
* 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

Submitted by: rpluem
Reviewed by: rpluem, jim, sctemme


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@535903 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 15:32:57 +00:00
Jim Jagielski
545f73efeb Merge r527969 from trunk:
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.


Submitted by: trawick
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@534068 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 13:22:27 +00:00
Jim Jagielski
3ee5ee3c56 Approved backport:
* mod_ssl: Move thread locking upcall initialization before
      hardware library initialization, so hardware library can use
      these upcalls when run in a threaded MPM. Fixes PR 20951. 



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@534062 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 13:16:58 +00:00
André Malo
7634b2c735 newlines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@531930 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 13:32:55 +00:00
Jim Jagielski
e57edcafb7 Merge r484789 from trunk:
We are doing nothing here... but keep the stubs
in case we ever do.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@527107 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 12:38:08 +00:00
Jim Jagielski
2f4eefb490 Apply approved backport
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@527105 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 12:35:00 +00:00
Bradley Nicholes
f1895c33e2 Add the case_flt experimental modules to the NetWare build
Submitted by: Guenter Knauf <fuankg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@517472 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 00:08:52 +00:00
Jim Jagielski
f36ff2e8be Merge r486320 from trunk:
* Handle request bodies larger than 2 GB by converting the Content-Length
  header string of the request correctly to apr_off_t.

PR: 40883

Submitted by: rpluem
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@509665 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 17:12:55 +00:00
Jim Jagielski
177bdd8380 Merge r507516 from trunk:
Patch for PR#11540 (submitted by Stuart Children)

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@509651 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 17:06:00 +00:00
Bradley Nicholes
786636766c Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files
Submitted by: Guenter Knauf <fuankg apache org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@505572 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 23:59:15 +00:00
William A. Rowe Jr
003a033071 Add .manifest post-processing to the httpd build for users of VC 8
(Studio 2005, 'free' Express or full edition) command line builds.

Backports 495126, adjusted for debugging/debug path change between
trunk and 2.2 branch.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@495130 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 05:44:54 +00:00
William A. Rowe Jr
c336b75091 Correctly evaluate the HTTPS condition string, update CHANGES for attributions
and recent activity.

PR: 40573
Submitted by: Matt Eaton <asf divinehawk.com>
Backports: 429341


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493281 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 03:10:28 +00:00
William A. Rowe Jr
7b640fb683 Revert one aspect of the recent mod_isapi overhaul.
Where any response is sent, return OK from the handler.  Where there
  is no response (but a status code) return the code.  This patch adds
  a great number of debugging emits for failed ap_pass_brigade calls,
  to help diagnose failure cases, and disambiguates OK from APR_SUCCESS. 

PR: 40470
Submitted by: wrowe, Matt Eaton <asf divinehawk.com>
Backports: 492333


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@493275 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 02:48:41 +00:00
Ruediger Pluem
7abbccf5b5 Merge r484978,r484787,r484792 from trunk:
* Isolate the unlock return vals

* Log when the lock fails.

* Failure to unlock is very nasty, so log it to help with troubleshooting.

Submitted by: jim
Reviewed by: jim, rpluem, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488822 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 21:56:16 +00:00
Ruediger Pluem
901a46646c Merge r422731, r422736, r422739, r423940, r424759, r424950, r425109, r426790,
r426791, r426793, r426795, r416165, r426799, r475403, r475406, r475915,
r475920, r475922, r476600, r437668 from trunk, which makes mod_deflate.c the
same as r483597 from trunk:

All comments to these changes for the sake of completeness:

* Fix wrong FLUSH bucket handling in deflate_out_filter: Actually the internal
  structures of libz never got flushed as ctx->stream.avail_in is always zero
  here. As the EOS and the FLUSH bucket case use the same code for flushing
  libz's internal buffers move this code to the new function flush_zlib_buffer.

* Fix potential memory leaks in deflate_out_filter if bailing out due to an
  error (either in the lower filter chain or during a libz operation). We need
  to call deflateEnd as it is very likely that this filter is never called
  again to ensures that libz's internal structures get cleaned properly.

* Remove ourselves from the filter chain if we failed to init libz, as we
  pass data down the filter chain uncompressed afterwards.

* In preparation of the changes of the inflate out filter:
  - rename flush_zlib_buffer to flush_libz_buffer (this name seems
    better)
  - add a parameter to tell flush_libz_buffer whether it should
    deflate or inflate as this function should be also used for the
    inflate out filter.

* This shortcut is too short. It is not up to the filters to decide
  whether filters down the chain can do something useful with this empty
  brigade.

* Initialize zRC to avoid a compiler warning.

* Rather use a pool cleanup function than calling deflateEnd before every
  return from function to ensure that libz's internals get cleaned up.

* Add parameter crc to flush_libz_buffer in order to call the libz's crc32
  function on the output buffer if needed. This is actually needed by the
  later rework of the inflate out filter.

* Use a define for the number of validation bytes (CRC and length) after the
  compressed data

* We can ignore Z_BUF_ERROR in flush_libz_buffer because:
  When we call libz_func we can assume that

   - avail_in is zero (due to the surrounding code that calls
     flush_libz_buffer)
   - avail_out is non zero due to the fact that we just emptied
     the output buffer and stored it into a brigade

  So the only reason for Z_BUF_ERROR is that the internal libz
  buffers are now empty and thus we called libz_func one time
  too often. This does not hurt. It simply says that we are done.

* some optimizations taken from the inflate out filter

* Remove bogus code that chokes on flush buckets

* Rework inflate out filter and give it a similar workflow as the deflate out
  filter. This fixes the following bugs in the inflate out filter:

  - Incorrect handling of flush buckets.
  - Excessive memory usage for large compressed content (because we now
    already sent parts down the chain and do not process the whole brigade
    first before sending something down the chain).
  - Handle the case correctly where the validation bytes at the end of
    the compressed data stream are distributed across different buckets /
    brigades.
  - Fix a memory leak due to not cleaning up the internal structures of
    libz in some error cases.

* Ensure that we do not try to inflate validation data or garbage data. None
  of this is zlib's business.

* Ensure that we do not perform our final operations twice if a second EOS
  falls down the chain by accident. Otherwise we are likely to run in a
  SEGFAULT. So remove ourselves from the chain.

* Actually append new data to the validation buffer and do not overwrite old
  data already there by setting the correct offset for the target buffer.

* Also log the presence of garbage data at the end of the stream if all
  validation data is available in the first round.

* Housekeeping: keep track of size even in the edge-case where validation
  bytes trickle in over multiple buckets.


PR: 39854
Reviewed by: rpluem, niq, jerenkrantz, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@488817 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 21:45:35 +00:00
Nick Kew
5f3cc01a3b PR#39420, make matching on resp=Content-Type case-insensitive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487676 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 21:33:07 +00:00
Jim Jagielski
2f21e9f30c Merge r450070 from trunk:
Memory leak fix: Unconditionally free the buffer.


Submitted by: minfrin
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486661 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 14:10:41 +00:00
Jim Jagielski
205debdd20 Merge r484783 from trunk:
No need for each ind lb method to increment the elected
element. Do so from the main calling func.

Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486659 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 14:06:43 +00:00
Jim Jagielski
dc839720e0 Merge r463291 from trunk:
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...

Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486656 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 14:04:27 +00:00
Jim Jagielski
211b4bc5ee Merge r485311 from trunk:
Stop mod_dbd emitting bogus error messages when it's loaded
but not configured.

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@486157 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 14:17:17 +00:00
Nick Kew
b32b40aab4 mod_dbd backports:
(1) Key connection pools to virtualhosts (niq, minfrin; reviewed us + wrowe)
  (2) share per-request database handles across subrequests (chrisd; reviewed
      niq + rpluem).  Including fixing compiler warning (rpluem).

More to come on mod_dbd


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@485053 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 19:56:07 +00:00
Jim Jagielski
02913cd14e format change. no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@484984 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 14:18:54 +00:00
Jim Jagielski
5e3951eb6d Merge r472633 from trunk:
Better detection and clean up of ldap connection that have been
terminated by the ldap server. PR#40878

Submitted by: Rob Baily <rbaily servicebench com>
Reviewed by: bnicholes


Submitted by: bnicholes
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@484981 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 14:13:41 +00:00
Jim Jagielski
6e748d2e83 * 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.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@484642 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 15:31:59 +00:00
Jim Jagielski
d4bc6384ce Merge r463427 from trunk:
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.

Submitted by: minfrin
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@484638 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 15:29:36 +00:00
Jim Jagielski
ef474b032f Merge r442758 from trunk:
PR 31759 (mutated) - reported by Jo Rhett
Don't return apr_status_t error value from input filter chain.

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@483980 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 13:07:14 +00:00
Jeff Trawick
b74ad8d4c5 merge from trunk:
*) mod_cache: Eliminate a bogus error in the log when a filter returns
     AP_FILTER_ERROR. [Niklas Edmundsson <nikke acc.umu.se>]

Reviewed by: minfrin, wrowe, trawick
  


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@483974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 12:56:00 +00:00
Nick Kew
34e2eb9866 Backport R452330: header editing in mod_headers
+1 niq, chrisd, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@483732 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 23:23:40 +00:00
William A. Rowe Jr
d80acb54f5 Revert a regression introduced in the recent overhauls of mod_isapi.
PR 40470 points out that we no longer handle ate == headlen, where
there is a headers-only response from the isapi app to the server.

This patch restores the previous behavior of pending those headers
until some amount of body response is ready to be sent to the client.

Backports: 483613


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@483614 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 19:19:04 +00:00
Mladen Turk
aa32330c91 Backport explicit flushing feature.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@479655 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 15:14:07 +00:00
Mladen Turk
b81aaeb10c Backport support for ping/pong.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@479647 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 15:00:56 +00:00
Jim Jagielski
8a0c72496b Merge r417238, r437773, r446929, r453630 from trunk:
* 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


fix validation error


* 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.


* mod_proxy_balancer: Document BALANCER_ROUTE_CHANGED environment variable.

Submitted by: Brian Rectanus <brectanu gmail.com>
Reviewed by: rpluem

Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@472114 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 13:49:09 +00:00
Jim Jagielski
fb11486f5c Merge r431339 from trunk:
PR#37770: Don't try to use dead backend connection in proxy
(Patch from Olivier BOEL)

Submitted by: niq
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@472104 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 13:34:00 +00:00
Jim Jagielski
50d9361c08 Merge r440160 from trunk:
* 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

Submitted by: rpluem
Reviewed by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@472100 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 13:29:57 +00:00
Graham Leggett
6d9ff9a341 mod_disk_cache: Make sure that only positive integers are accepted
for the CacheMaxFileSize and CacheMinFileSize parameters in the
config file. PR39380

+1: minfrin, jim, trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@463506 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 23:17:43 +00:00
Graham Leggett
2ac7060c34 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/

+1: minfrin, rpluem, jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@463503 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 23:11:33 +00:00
Graham Leggett
8320100463 mod_cache: 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.

+1: minfrin, rpluem, jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@463496 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 23:03:17 +00:00