You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/03/02 07:56:18 UTC
cvs commit: apache-1.3/src/test/vhtest/bin test1 test1d test2 test2d test3 test4 test5 vhget (fwd)
I couldn't go much further with these fixes for uri parsing without
committing... I'm essentially going to ride this through until we're happy
it all works or we revert the whole thing to pre-util_uri (and I'll do
that nasty work if it comes to it).
Lars, you seem to be great at finding my bugs in this area... have at it
please :)
I *haven't bumped MODULE_MAGIC_NUMBER yet*. Because I'm uncertain the API
changes are in their final form. I'm guessing very few modules use
r->proxyreq or r->hostlen though so I don't expect the changes to make a
difference... open to other opinions though.
Dean
---------- Forwarded message ----------
Date: 2 Mar 1998 06:51:28 -0000
From: dgaudet@hyperreal.org
To: apache-1.3-cvs@hyperreal.org
Subject: cvs commit: apache-1.3/src/test/vhtest/bin test1 test1d test2 test2d test3 test4 test5 vhget
Reply-To: new-httpd@apache.org
dgaudet 98/03/01 22:51:28
Modified: src CHANGES
src/include http_vhost.h httpd.h util_uri.h
src/main http_config.c http_core.c http_main.c
http_protocol.c http_request.c http_vhost.c
util_uri.c
src/modules/proxy mod_proxy.c mod_proxy.h proxy_util.c
src/modules/standard mod_log_config.c mod_rewrite.c
mod_rewrite.h
src/test/vhtest/bin test1 test1d test2 test2d test3 test4
test5 vhget
Added: src/modules/test mod_test_util_uri.c
Log:
This is a huge commit, I apologize for that. It's been posted in
fragments to new-httpd already though, and I've run it through a lot
of tests. There's still a few TODOs but what's here should work for
almost everyone.
general:
- remove check_fulluri, replace parse_uri with a much simplified version
based on util_uri functions
- remove r->hostlen, add r->unparsed_uri (mmn bump coming up shortly)
- move r->proxyreq calculation to the translate_names phase
vhosting:
- fix absoluteURI problems with vhosting
- update vhtest suite to test absoluteURI vhosting
- serveralias support tweaked to consume less memory/run faster (submitted
by Chia-liang Kao <cl...@cirx.org>)
- add matches_request_vhost() function which can be used to ask http_vhost
if a hostname:port pair would match r->server
util_uri:
- remove WITH_UTIL_URI, make WITH_UTIL_URI the default
- remove the has_foo fields since they're inferred by testing the strings for
NULL vs. non-NULL
- #if 0 Martin's hand-coded parse_uri_components because it doesn't pass my
test suite (see below)
- change parse_uri_components_regex to parse_uri_components -- so the
implementation is hidden from everyone's view
- write mod_test_util_uri which does various exhaustive tests on
parse_uri_components