diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-03 21:33:28 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-03 21:33:28 +0000 |
commit | 9430f69f875a15a28f709aa22b2323583c2ee44f (patch) | |
tree | 4e6f60e9758a7f2a3cb8018d06ccae15d9c64e5a /usr.sbin/httpd/http.h | |
parent | 58ec0380a50178c0a73f54ddf8cf796bd72c1b21 (diff) |
Allocate http_host instead of carrying a buffer in the descriptor.
Diffstat (limited to 'usr.sbin/httpd/http.h')
-rw-r--r-- | usr.sbin/httpd/http.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/http.h b/usr.sbin/httpd/http.h index 994e98b1a84..44f22ba7006 100644 --- a/usr.sbin/httpd/http.h +++ b/usr.sbin/httpd/http.h @@ -1,4 +1,4 @@ -/* $OpenBSD: http.h,v 1.4 2014/07/25 23:23:39 reyk Exp $ */ +/* $OpenBSD: http.h,v 1.5 2014/08/03 21:33:27 reyk Exp $ */ /* * Copyright (c) 2012 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -151,7 +151,7 @@ struct http_descriptor { #define query_key http_matchquery.kv_key #define query_val http_matchquery.kv_value - char http_host[MAXHOSTNAMELEN]; + char *http_host; enum httpmethod http_method; int http_chunked; char *http_version; |