Remove fields from struct that are not used. OK benno@
authorclaudio <claudio@openbsd.org>
Sat, 30 May 2015 09:38:11 +0000 (09:38 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 30 May 2015 09:38:11 +0000 (09:38 +0000)
usr.sbin/relayd/http.h

index ff598f7..05b45d6 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: http.h,v 1.5 2014/08/14 10:30:52 reyk Exp $   */
+/*     $OpenBSD: http.h,v 1.6 2015/05/30 09:38:11 claudio Exp $        */
 
 /*
  * Copyright (c) 2012 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -191,14 +191,10 @@ struct http_descriptor {
 #define query_key               http_matchquery.kv_key
 #define query_val               http_matchquery.kv_value
 
-       char                    *http_host;
        enum httpmethod          http_method;
        int                      http_chunked;
        char                    *http_version;
 
-       /* Rewritten path remains NULL if not used */
-       char                    *http_path_alias;
-
        /* A tree of headers and attached lists for repeated headers. */
        struct kv               *http_lastheader;
        struct kvtree            http_headers;