summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2005-11-15 15:50:39 +0100
committerJim Jagielski <jim@apache.org>2005-11-15 15:50:39 +0100
commitce503e00e3a0a927a88930a38117c0185be3a7ce (patch)
tree19ee884eb61aee4fe7e4952708620f1b7ca1b2bf /include
parentReplace dodgy cast with ap_set_string_slot (diff)
downloadapache2-ce503e00e3a0a927a88930a38117c0185be3a7ce.tar.xz
apache2-ce503e00e3a0a927a88930a38117c0185be3a7ce.zip
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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/http_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h
index 9060cb7a4e..f3b3c7d8ba 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -482,6 +482,11 @@ typedef struct {
#define USE_CANONICAL_NAME_UNSET (3)
unsigned use_canonical_name : 2;
+#define USE_CANONICAL_PHYS_PORT_OFF (0)
+#define USE_CANONICAL_PHYS_PORT_ON (1)
+#define USE_CANONICAL_PHYS_PORT_UNSET (2)
+ unsigned use_canonical_phys_port : 2;
+
/* since is_fnmatch(conf->d) was being called so frequently in
* directory_walk() and its relatives, this field was created and
* is set to the result of that call.