]> granicus.if.org Git - apache/log
apache
16 years agoNow in 2.2.7
Jim Jagielski [Tue, 20 Nov 2007 15:13:09 +0000 (15:13 +0000)]
Now in 2.2.7

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596713 13f79535-47bb-0310-9956-ffa450edef68

16 years agoimprove command-line parsing
Jeff Trawick [Tue, 20 Nov 2007 14:46:52 +0000 (14:46 +0000)]
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596698 13f79535-47bb-0310-9956-ffa450edef68

16 years ago* Convert request time to seconds before before storing it in unique_id_rec
Ruediger Pluem [Mon, 19 Nov 2007 21:08:19 +0000 (21:08 +0000)]
* 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596448 13f79535-47bb-0310-9956-ffa450edef68

16 years agos/mod_example/mod_example_hooks/
William A. Rowe Jr [Mon, 19 Nov 2007 18:47:23 +0000 (18:47 +0000)]
s/mod_example/mod_example_hooks/

and move mod_example_hooks, mod_case_filter[_in] to modules/examples/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596395 13f79535-47bb-0310-9956-ffa450edef68

16 years ago* Move the Example modules to the newly created examples subdirectory
Sander Temme [Sun, 18 Nov 2007 15:41:03 +0000 (15:41 +0000)]
* Move the Example modules to the newly created examples subdirectory
* Hopefully correctly fudge the NWGNU make files
* Add mod_example_ipc (without NWGNU stuff or dsp)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596093 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate transformations
Vincent Bray [Sat, 17 Nov 2007 15:17:23 +0000 (15:17 +0000)]
Update transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595960 13f79535-47bb-0310-9956-ffa450edef68

16 years ago'youare' typo (submitted by Luciene Gentis)
Vincent Bray [Sat, 17 Nov 2007 15:16:31 +0000 (15:16 +0000)]
'youare' typo (submitted by Luciene Gentis)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595959 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSafer fix to PR43882 than in r595672.
Nick Kew [Sat, 17 Nov 2007 14:36:58 +0000 (14:36 +0000)]
Safer fix to PR43882 than in r595672.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595954 13f79535-47bb-0310-9956-ffa450edef68

16 years agoA quick fix to avoid potential memory issues.
Paul J. Reder [Fri, 16 Nov 2007 23:14:56 +0000 (23:14 +0000)]
A quick fix to avoid potential memory issues.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595866 13f79535-47bb-0310-9956-ffa450edef68

16 years agor595672 was incomplete. We need to be sure we reject multiple-encodings.
Nick Kew [Fri, 16 Nov 2007 14:27:11 +0000 (14:27 +0000)]
r595672 was incomplete.  We need to be sure we reject multiple-encodings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595678 13f79535-47bb-0310-9956-ffa450edef68

16 years agobackported in 595675
Eric Covener [Fri, 16 Nov 2007 14:23:23 +0000 (14:23 +0000)]
backported in 595675

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595676 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDeal with unrecognised Transfer-Encoding headers.
Nick Kew [Fri, 16 Nov 2007 14:20:03 +0000 (14:20 +0000)]
Deal with unrecognised Transfer-Encoding headers.
PR#43882 (Björn Höhrmann)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595672 13f79535-47bb-0310-9956-ffa450edef68

16 years agobackported to 2.2.x in r595664
Eric Covener [Fri, 16 Nov 2007 14:04:13 +0000 (14:04 +0000)]
backported to 2.2.x in r595664

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595666 13f79535-47bb-0310-9956-ffa450edef68

16 years agono logic changes
Jeff Trawick [Fri, 16 Nov 2007 12:41:23 +0000 (12:41 +0000)]
no logic changes
just minor style fixes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595648 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFinish up
Jeff Trawick [Fri, 16 Nov 2007 12:36:25 +0000 (12:36 +0000)]
Finish up
  http://svn.apache.org/viewvc?view=rev&revision=102066
  http://svn.apache.org/viewvc?view=rev&revision=102205
from almost 4 years ago by removing abandoned logic from
the fixup hook.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595646 13f79535-47bb-0310-9956-ffa450edef68

16 years agobackported
Jim Jagielski [Thu, 15 Nov 2007 22:09:14 +0000 (22:09 +0000)]
backported

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595475 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded documentation related to the nested group support that I added a while ago.
Paul J. Reder [Thu, 15 Nov 2007 19:48:24 +0000 (19:48 +0000)]
Added documentation related to the nested group support that I added a while ago.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595409 13f79535-47bb-0310-9956-ffa450edef68

16 years ago- add note on security impact of suppress-error-charset for broken
Joe Orton [Thu, 15 Nov 2007 12:25:14 +0000 (12:25 +0000)]
- add note on security impact of suppress-error-charset for broken
browsers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595288 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUmm, oops. r595022 shouldn't have ended up in trunk.
Justin Erenkrantz [Wed, 14 Nov 2007 19:52:22 +0000 (19:52 +0000)]
Umm, oops.  r595022 shouldn't have ended up in trunk.

Bad subversion - it crashed when commiting on a switched wc and committed to
the wrong path!

/me hits self on behalf of all SVN devs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595024 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAmsterdam sandbox: add serf input/output filters that replace the core filters.
Justin Erenkrantz [Wed, 14 Nov 2007 19:49:05 +0000 (19:49 +0000)]
Amsterdam sandbox: add serf input/output filters that replace the core filters.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595022 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAnd move mod_lbmethod_rr.c to that example dir so people
Jim Jagielski [Wed, 14 Nov 2007 16:34:31 +0000 (16:34 +0000)]
And move mod_lbmethod_rr.c  to that example dir so people
don't get confused

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594935 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCreate location for "example" module(s)
Jim Jagielski [Wed, 14 Nov 2007 16:33:31 +0000 (16:33 +0000)]
Create location for "example" module(s)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594933 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome fixes before we move this to an example's dir, but
Jim Jagielski [Wed, 14 Nov 2007 16:25:00 +0000 (16:25 +0000)]
Some fixes before we move this to an example's dir, but
remove the unneeded CORE_PRIVATE and bypass inf loop,
but *still* this is not intended to be a module to
*use* but rather as an example that yes, you can add
lbmethods via sub-module prvider.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594931 13f79535-47bb-0310-9956-ffa450edef68

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:30:17 +0000 (14:30 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594903 13f79535-47bb-0310-9956-ffa450edef68

16 years agofix external references to perldoc
André Malo [Wed, 14 Nov 2007 14:27:20 +0000 (14:27 +0000)]
fix external references to perldoc

PR: 43856

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594900 13f79535-47bb-0310-9956-ffa450edef68

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:23:35 +0000 (14:23 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594897 13f79535-47bb-0310-9956-ffa450edef68

16 years agovalidate the document
André Malo [Wed, 14 Nov 2007 14:14:34 +0000 (14:14 +0000)]
validate the document

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594892 13f79535-47bb-0310-9956-ffa450edef68

16 years agoupdate transformation
André Malo [Wed, 14 Nov 2007 14:08:04 +0000 (14:08 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594888 13f79535-47bb-0310-9956-ffa450edef68

16 years agono content changes
Jeff Trawick [Wed, 14 Nov 2007 12:27:50 +0000 (12:27 +0000)]
no content changes

move the xml doc for KeptBodySize to its rightful, alphabetical
location

(the transformed version was already alphabetized)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594855 13f79535-47bb-0310-9956-ffa450edef68

16 years agocore: Avoid some unexpected connection closes by telling the client
Jeff Trawick [Wed, 14 Nov 2007 11:53:30 +0000 (11:53 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594839 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd extremely butt-ugly sub-mod that exists simply to show how
Jim Jagielski [Tue, 13 Nov 2007 21:55:05 +0000 (21:55 +0000)]
Add extremely butt-ugly sub-mod that exists simply to show how
to use providers in sub-mods to extend lbmethods in mod_proxy...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594659 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIgnore ctags/etags output, some small Doxygen fixes
Sander Temme [Tue, 13 Nov 2007 18:41:17 +0000 (18:41 +0000)]
Ignore ctags/etags output, some small Doxygen fixes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594607 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake life happy for people who don't have serf but
Jim Jagielski [Tue, 13 Nov 2007 17:16:40 +0000 (17:16 +0000)]
Make life happy for people who don't have serf but
still use most... yeah, this means you need to explicitly
add mod_serf... no, this isn't a comment on how cool
mod_serf is :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594586 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd mod_serf, a reverse proxy module, which uses serf[1] as its http client library.
Paul Querna [Tue, 13 Nov 2007 04:20:50 +0000 (04:20 +0000)]
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/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@594425 13f79535-47bb-0310-9956-ffa450edef68

17 years agofix to http://svn.apache.org/viewvc?rev=591499&view=rev to properly copy into
Eric Covener [Sun, 11 Nov 2007 16:14:24 +0000 (16:14 +0000)]
fix to http://svn.apache.org/viewvc?rev=591499&view=rev to properly copy into
char ***retvals when AuthLDAPUrl has extra attributes specified

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593919 13f79535-47bb-0310-9956-ffa450edef68

17 years agoRe-work the explanation in commentary and debug logging of
Jeff Trawick [Sun, 11 Nov 2007 14:32:58 +0000 (14:32 +0000)]
Re-work the explanation in commentary and debug logging of
when modules and scripts may be harmed by transformation of
the request body.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593890 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* Generate valid XHTML output by adding the xhtml namespace.
Ruediger Pluem [Sat, 10 Nov 2007 22:15:34 +0000 (22:15 +0000)]
* Generate valid XHTML output by adding the xhtml namespace.

PR: 43649
Submitted by: Jose Kahan <jose w3.org>
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593816 13f79535-47bb-0310-9956-ffa450edef68

17 years agowhile technically uldap_connection_cleanup() does leave an entry in the
Eric Covener [Thu, 8 Nov 2007 20:01:04 +0000 (20:01 +0000)]
while technically uldap_connection_cleanup() does leave an entry in the
connection list, it is fully disconnected before it's put back.  My previous
commentary did more harm then good.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593283 13f79535-47bb-0310-9956-ffa450edef68

17 years agoremove trunk CHANGES entry for item backported to 2.2.x
Jeff Trawick [Thu, 8 Nov 2007 14:55:14 +0000 (14:55 +0000)]
remove trunk CHANGES entry for item backported to 2.2.x

     mod_charset_lite: Don't crash when the request has no associated
     filename.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593177 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate docs transformations
Graham Leggett [Wed, 7 Nov 2007 23:32:22 +0000 (23:32 +0000)]
Update docs transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592953 13f79535-47bb-0310-9956-ffa450edef68

17 years agocore: Add the option to keep aside a request body up to a certain
Graham Leggett [Wed, 7 Nov 2007 23:31:03 +0000 (23:31 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592951 13f79535-47bb-0310-9956-ffa450edef68

17 years agoStop registering a cleanup on each LDAP connection created, this cleanup was
Eric Covener [Wed, 7 Nov 2007 14:43:26 +0000 (14:43 +0000)]
Stop registering a cleanup on each LDAP connection created, this cleanup was
never called because it's registered against pconf in the child. LDAP
connections are created in the child and not shared between children, so no
action should be required at child exit

Additionally, clarify comments around uldap_connection_cleanup()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592764 13f79535-47bb-0310-9956-ffa450edef68

17 years agomod_charset_lite: Don't crash when the request has no associated
Jeff Trawick [Wed, 7 Nov 2007 10:53:18 +0000 (10:53 +0000)]
mod_charset_lite: Don't crash when the request has no associated
filename.

(r->filename unset)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592694 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_handshake): Renamed from
Joe Orton [Tue, 6 Nov 2007 20:49:09 +0000 (20:49 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_handshake): Renamed from
ssl_io_filter_connect since the function performs a handshake in
either client or server mode, not a "connect".  No functional change.
(both callers updated)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592552 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Don't send Upgrade
Joe Orton [Tue, 6 Nov 2007 15:34:35 +0000 (15:34 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Don't send Upgrade
for a subrequest.  When it *is* sent, list it in a Connection: header
as required by 2616.

PR: 32486

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592457 13f79535-47bb-0310-9956-ffa450edef68

17 years agomod_ssl: Fix forever-broken TLS upgrade support; perform the upgrade
Joe Orton [Tue, 6 Nov 2007 15:02:32 +0000 (15:02 +0000)]
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@592446 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Remove obsolete
Joe Orton [Mon, 5 Nov 2007 11:01:45 +0000 (11:01 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Remove obsolete
reference to the "SSL logfile".

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591956 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Use ap_log_rerror
Joe Orton [Mon, 5 Nov 2007 10:51:45 +0000 (10:51 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Use ap_log_rerror
  in place of ap_log_error throughout.
  (ssl_callback_SSLVerify): Use ap_log_cerror in place of ap_log_error
  throughout.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591955 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* Add a minor bump as a result of r590122 and r591760:
Ruediger Pluem [Mon, 5 Nov 2007 09:10:03 +0000 (09:10 +0000)]
* Add a minor bump as a result of r590122 and r591760:
  ap_time_process_request() is now part of the public scoreboard API.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591923 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* Use the same declaration for ap_time_process_request as in the header file.
Ruediger Pluem [Sun, 4 Nov 2007 11:20:11 +0000 (11:20 +0000)]
* 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591760 13f79535-47bb-0310-9956-ffa450edef68

17 years agospurious 401s with message "DN has not been defined" when cache expiration happens...
Eric Covener [Fri, 2 Nov 2007 22:33:36 +0000 (22:33 +0000)]
spurious 401s with message "DN has not been defined" when cache expiration happens in another thread

PR 43786

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591499 13f79535-47bb-0310-9956-ffa450edef68

17 years agofix pool misuse around mod_ldap's connection cache, previously pconf
Eric Covener [Fri, 2 Nov 2007 21:58:57 +0000 (21:58 +0000)]
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)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591488 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix handling of buffered request body for per-location SSL
Joe Orton [Fri, 2 Nov 2007 16:45:46 +0000 (16:45 +0000)]
Fix handling of buffered request body for per-location SSL
renegotiation when an internal redirect occurs:

* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Remove
protocol-level filters before inserting the buffering filter.
(ssl_io_filter_buffer): Return an EOS if invoked with an empty
brigade; do not remove the filter after exhausting the buffer.
(ssl_io_filter_buffer): Increase the type of the buffer filter to be
AP_FTYPE_PROTOCOL.

PR: 43738

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591393 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_register): Take a pool
Joe Orton [Fri, 2 Nov 2007 16:12:42 +0000 (16:12 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_register): Take a pool
argument; determine library version strings once at startup.
(ssl_var_lookup_ssl_version): Drop 'pp' argument; use new global
variables rather than modifying process-global state in a function
which must be thread-safe.  (all callers changed)

* modules/ssl/mod_ssl.c (ssl_register_hooks): Pass pool to
  ssl_var_register.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591384 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFixed up as per PR#28310, will back-port to /2.2/
Tony Stevenson [Fri, 2 Nov 2007 15:39:20 +0000 (15:39 +0000)]
Fixed up as per PR#28310, will back-port to /2.2/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591370 13f79535-47bb-0310-9956-ffa450edef68

17 years agoremove UTF-8. Submitted by Vincent Deffontaines (vincent at gryzor dot com).
Jean-Frederic Clere [Thu, 1 Nov 2007 14:20:47 +0000 (14:20 +0000)]
remove UTF-8. Submitted by Vincent Deffontaines (vincent at gryzor dot com).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@591021 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate docco transforms
Jim Jagielski [Wed, 31 Oct 2007 12:28:12 +0000 (12:28 +0000)]
Update docco transforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@590646 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd in SeeRequestTail directive, to handle the shortcoming
Jim Jagielski [Wed, 31 Oct 2007 12:19:54 +0000 (12:19 +0000)]
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@590641 13f79535-47bb-0310-9956-ffa450edef68

17 years agoThe function ap_time_process_request() needs to be declared appropriately if it is...
Bradley Nicholes [Tue, 30 Oct 2007 15:46:06 +0000 (15:46 +0000)]
The function ap_time_process_request() needs to be declared appropriately if it is going to be used externally (now being called by mod_echo)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@590122 13f79535-47bb-0310-9956-ffa450edef68

17 years agoOtherwise it doesn't compile on HP-UX when using cc.
Jean-Frederic Clere [Tue, 30 Oct 2007 11:21:11 +0000 (11:21 +0000)]
Otherwise it doesn't compile on HP-UX when using cc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@590038 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAfter a stop or restart signal, the old listening sockets
Martin Kraemer [Mon, 29 Oct 2007 17:38:11 +0000 (17:38 +0000)]
After a stop or restart signal, the old listening sockets
are closed. "Some platforms" drop out of the accept() with
an EBADF after the sockets have been closed. Such an
error should not clutter the logs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589761 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAs of r589618, these have been backported
Jim Jagielski [Mon, 29 Oct 2007 13:14:51 +0000 (13:14 +0000)]
As of r589618, these have been backported

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589619 13f79535-47bb-0310-9956-ffa450edef68

17 years agoPrevent 1-byte overflow on 8192 boundary (see PR 43310)
Jim Jagielski [Mon, 29 Oct 2007 01:25:16 +0000 (01:25 +0000)]
Prevent 1-byte overflow on 8192 boundary (see PR 43310)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589461 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate the patch for environment variable interpolation in
Nick Kew [Sun, 28 Oct 2007 15:49:03 +0000 (15:49 +0000)]
Update the patch for environment variable interpolation in
ProxyPass/Reverse/etc directives: r421686, r422178, r421686, r421725
That patch stalled on wrowe's veto.  This update introduces a new
"interpolate" keyword to all directives affected, so should meet
his concerns by adding explicit per-directive control (disabled
by default).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589371 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUpdate r573831 to avoid duplicating URL-escaping code.
Nick Kew [Sun, 28 Oct 2007 12:44:19 +0000 (12:44 +0000)]
Update r573831 to avoid duplicating URL-escaping code.
Ref. http://www.mail-archive.com/dev@httpd.apache.org/msg38532.html

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589343 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix possible crash at startup in case of nonexistent DocumentRoot.
Nick Kew [Sat, 27 Oct 2007 18:51:23 +0000 (18:51 +0000)]
Fix possible crash at startup in case of nonexistent DocumentRoot.
PR#39722

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@589177 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAdd option not to send&clear response headers in ap_send_interim_response.
Nick Kew [Fri, 26 Oct 2007 23:56:06 +0000 (23:56 +0000)]
Add option not to send&clear response headers in ap_send_interim_response.
We'll need this option to fix PR#43711, and ap_send_interim_response
is fortunately too new an API to have made it into anything stable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588806 13f79535-47bb-0310-9956-ffa450edef68

17 years agor588791 needed an MMN bump
Nick Kew [Fri, 26 Oct 2007 23:22:55 +0000 (23:22 +0000)]
r588791 needed an MMN bump

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588796 13f79535-47bb-0310-9956-ffa450edef68

17 years agomod_proxy: add "nocanon" keyword to ProxyPass, to suppress
Nick Kew [Fri, 26 Oct 2007 23:07:22 +0000 (23:07 +0000)]
mod_proxy: add "nocanon" keyword to ProxyPass, to suppress
URI-canonicalisation in a reverse proxy.
PR 41798

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588791 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTwo sane reasons to wrap up, timeup, or eof. Quiet down both results
William A. Rowe Jr [Wed, 24 Oct 2007 21:25:23 +0000 (21:25 +0000)]
Two sane reasons to wrap up, timeup, or eof.  Quiet down both results
from the error log.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588036 13f79535-47bb-0310-9956-ffa450edef68

17 years agoEnhance mod_echo with an illustration of using the scoreboard for a connection
William A. Rowe Jr [Wed, 24 Oct 2007 04:08:58 +0000 (04:08 +0000)]
Enhance mod_echo with an illustration of using the scoreboard for a connection
based protocol, and clean up the event loop and diagnostic messages.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587772 13f79535-47bb-0310-9956-ffa450edef68

17 years agoActually re-fix Christian's recommendation, someone previously caught this.
William A. Rowe Jr [Wed, 24 Oct 2007 03:56:50 +0000 (03:56 +0000)]
Actually re-fix Christian's recommendation, someone previously caught this.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587771 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMMN major bump required; this API is altogether inconsistent, transparent
William A. Rowe Jr [Wed, 24 Oct 2007 03:50:24 +0000 (03:50 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587770 13f79535-47bb-0310-9956-ffa450edef68

17 years agoUnless I've misread this, POD is write-blocking, read nonblocking timeout 0.
William A. Rowe Jr [Tue, 23 Oct 2007 22:05:14 +0000 (22:05 +0000)]
Unless I've misread this, POD is write-blocking, read nonblocking timeout 0.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587673 13f79535-47bb-0310-9956-ffa450edef68

17 years agoWe now have an API to describe pipe creation timeout states, so use it
William A. Rowe Jr [Tue, 23 Oct 2007 22:01:29 +0000 (22:01 +0000)]
We now have an API to describe pipe creation timeout states, so use it
to ensure no platform has quirks with their particular default.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587670 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTransformations.
Erik Abele [Tue, 23 Oct 2007 10:32:38 +0000 (10:32 +0000)]
Transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587449 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* Fix typo: '8080' vs. '8000'
Erik Abele [Tue, 23 Oct 2007 10:26:18 +0000 (10:26 +0000)]
* Fix typo: '8080' vs. '8000'
* Fix versioning information where it makes sense
* Clarify DNS lookups: 'double reverse lookup' vs. 'two lookups'

Submitted, in parts, by <lucien.gentis lorraine.iufm.fr>.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587444 13f79535-47bb-0310-9956-ffa450edef68

17 years agobuildfluff
Vincent Bray [Mon, 22 Oct 2007 16:52:16 +0000 (16:52 +0000)]
buildfluff

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587151 13f79535-47bb-0310-9956-ffa450edef68

17 years agomod_substitute module docs, first bash.
Vincent Bray [Mon, 22 Oct 2007 16:51:31 +0000 (16:51 +0000)]
mod_substitute module docs, first bash.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@587150 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTransformations.
Erik Abele [Sat, 20 Oct 2007 19:27:49 +0000 (19:27 +0000)]
Transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586788 13f79535-47bb-0310-9956-ffa450edef68

17 years agos/the the/the/
Jeff Trawick [Sat, 20 Oct 2007 18:36:21 +0000 (18:36 +0000)]
s/the the/the/

pointed out by <lucien.gentis lorraine.iufm.fr>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586770 13f79535-47bb-0310-9956-ffa450edef68

17 years agoapr_dbd_get_entry from r466865 doesn't alloc new memory for each return val.
Nick Kew [Sat, 20 Oct 2007 17:54:09 +0000 (17:54 +0000)]
apr_dbd_get_entry from r466865 doesn't alloc new memory for each return val.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586765 13f79535-47bb-0310-9956-ffa450edef68

17 years agoMore transformations, note translation diffs.
Erik Abele [Fri, 19 Oct 2007 13:32:59 +0000 (13:32 +0000)]
More transformations, note translation diffs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586439 13f79535-47bb-0310-9956-ffa450edef68

17 years agoTransformations.
Erik Abele [Fri, 19 Oct 2007 13:30:31 +0000 (13:30 +0000)]
Transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586436 13f79535-47bb-0310-9956-ffa450edef68

17 years agoChange "entry" to "part" here to be consistent and not confusing.
Erik Abele [Fri, 19 Oct 2007 13:28:32 +0000 (13:28 +0000)]
Change "entry" to "part" here to be consistent and not confusing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586433 13f79535-47bb-0310-9956-ffa450edef68

17 years agoForward port of r585584.
Erik Abele [Fri, 19 Oct 2007 13:02:12 +0000 (13:02 +0000)]
Forward port of r585584.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586413 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix brainfart in docs
Nick Kew [Wed, 17 Oct 2007 19:54:59 +0000 (19:54 +0000)]
Fix brainfart in docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@585652 13f79535-47bb-0310-9956-ffa450edef68

17 years agoImprove documentation of "DefaultType None"
Nick Kew [Mon, 15 Oct 2007 18:37:20 +0000 (18:37 +0000)]
Improve documentation of "DefaultType None"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@584842 13f79535-47bb-0310-9956-ffa450edef68

17 years agoFix spelling
William A. Rowe Jr [Sat, 13 Oct 2007 00:43:20 +0000 (00:43 +0000)]
Fix spelling

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@584353 13f79535-47bb-0310-9956-ffa450edef68

17 years agoBuild transformations.
Jason S. Lingohr [Fri, 12 Oct 2007 00:17:52 +0000 (00:17 +0000)]
Build transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583992 13f79535-47bb-0310-9956-ffa450edef68

17 years agoChanges as suggested by Lucien Gentis.
Jason S. Lingohr [Fri, 12 Oct 2007 00:13:49 +0000 (00:13 +0000)]
Changes as suggested by Lucien Gentis.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583991 13f79535-47bb-0310-9956-ffa450edef68

17 years agorevert r581660 , fixed instead in APR trunk/r583421 1.2.x/r583860
Eric Covener [Thu, 11 Oct 2007 20:52:07 +0000 (20:52 +0000)]
revert r581660 , fixed instead in APR trunk/r583421 1.2.x/r583860

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583947 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* server/util_filter.c (ap_filter_flush): Tweak comment; no functional
Joe Orton [Thu, 11 Oct 2007 14:13:40 +0000 (14:13 +0000)]
* server/util_filter.c (ap_filter_flush): Tweak comment; no functional
change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583830 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* server/util_filter.c (ap_filter_flush): Ensure that the brigade is
Joe Orton [Thu, 11 Oct 2007 13:18:38 +0000 (13:18 +0000)]
* server/util_filter.c (ap_filter_flush): Ensure that the brigade is
  empty before returning.

PR: 36780

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583817 13f79535-47bb-0310-9956-ffa450edef68

17 years ago* modules/proxy/mod_proxy_http.c (ap_proxy_http_register_hook): Fix
Joe Orton [Thu, 11 Oct 2007 13:02:35 +0000 (13:02 +0000)]
* modules/proxy/mod_proxy_http.c (ap_proxy_http_register_hook): Fix
  apr_pool_cleanup_register() invocation added in r583202, which was
  causing every apr_proc_create() call to segfault.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583813 13f79535-47bb-0310-9956-ffa450edef68

17 years ago(forward) proxy should not be verifying/checking for
Jim Jagielski [Thu, 11 Oct 2007 12:38:14 +0000 (12:38 +0000)]
(forward) proxy should not be verifying/checking for
valid chars in a URI... pass through.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583803 13f79535-47bb-0310-9956-ffa450edef68

17 years agoSemi-revert 583466; just remove the ap_proxy_isvalidenc()
Jim Jagielski [Thu, 11 Oct 2007 12:37:09 +0000 (12:37 +0000)]
Semi-revert 583466; just remove the ap_proxy_isvalidenc()
function until we canonically set the "allowed" list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583802 13f79535-47bb-0310-9956-ffa450edef68

17 years agoAbstract out "verification of valid encoding" via
Jim Jagielski [Wed, 10 Oct 2007 13:16:56 +0000 (13:16 +0000)]
Abstract out "verification of valid encoding" via
ap_proxy_isvalidenc(). Now we can use it in other
proxy protocols.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583466 13f79535-47bb-0310-9956-ffa450edef68

17 years agoThis restriction/limitation was removed in r327179 for PR31226
Eric Covener [Tue, 9 Oct 2007 20:23:05 +0000 (20:23 +0000)]
This restriction/limitation was removed in r327179 for PR31226

http://issues.apache.org/bugzilla/show_bug.cgi?id=31226

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583289 13f79535-47bb-0310-9956-ffa450edef68

17 years agofixed awk script to append the NetWare SSL footer only to httpd.conf.
Guenter Knauf [Tue, 9 Oct 2007 18:50:41 +0000 (18:50 +0000)]
fixed awk script to append the NetWare SSL footer only to httpd.conf.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@583261 13f79535-47bb-0310-9956-ffa450edef68