From 4cfd84cfb8996c618631e9faa2d47a1c01fe8b84 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 29 Dec 2012 18:37:17 +0000 Subject: [PATCH] extend description of r->hostname git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426802 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/httpd.h b/include/httpd.h index 2b82754a904..351ffb5e256 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -813,7 +813,9 @@ struct request_rec { int proto_num; /** Protocol string, as given to us, or HTTP/0.9 */ char *protocol; - /** Host, as set by full URI or Host: */ + /** Host, as set by full URI or Host: header. + * For literal IPv6 addresses, this does NOT include the surrounding [ ] + */ const char *hostname; /** Time when the request started */ -- 2.47.3