[6.0] 1e9fae538 http: Mark Keep-Alive as a hop-by-hop header

Martin Blix Grydeland martin at varnish-software.com
Tue Nov 8 10:03:08 UTC 2022


commit 1e9fae538c8a7bba2f768076479cb6b80bd997ca
Author: Mark Felder <feld at FreeBSD.org>
Date:   Tue Sep 22 17:09:53 2020 -0500

    http: Mark Keep-Alive as a hop-by-hop header

diff --git a/include/tbl/http_headers.h b/include/tbl/http_headers.h
index 44e7d0656..4be5b6a9d 100644
--- a/include/tbl/http_headers.h
+++ b/include/tbl/http_headers.h
@@ -50,7 +50,6 @@
 #define S HTTPH_A_PASS
 #define H(s,e,f) HTTPH(s, e, f)
 
-H("Keep-Alive",		H_Keep_Alive,		P|F  |S)	// 2068
 H("Accept",		H_Accept,		0      )	// 2616 14.1
 H("Accept-Charset",	H_Accept_Charset,	0      )	// 2616 14.2
 H("Accept-Encoding",	H_Accept_Encoding,	0      )	// 2616 14.3
@@ -81,6 +80,7 @@ H("If-Modified-Since",	H_If_Modified_Since,	  F    )	// 2616 14.25
 H("If-None-Match",	H_If_None_Match,	  F    )	// 2616 14.26
 H("If-Range",		H_If_Range,		  F    )	// 2616 14.27
 H("If-Unmodified-Since",H_If_Unmodified_Since,	  F    )	// 2616 14.28
+H("Keep-Alive",		H_Keep_Alive,		P|F|I|S)	// 2616 13.5.1
 H("Last-Modified",	H_Last_Modified,	0      )	// 2616 14.29
 H("Location",		H_Location,		0      )	// 2616 14.30
 H("Max-Forwards",	H_Max_Forwards,		0      )	// 2616 14.31


More information about the varnish-commit mailing list