Commit e4996efa authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Link the HTTP VSLs to the index in the http structure

parent ab585970
...@@ -53,15 +53,15 @@ SLTM(Length) ...@@ -53,15 +53,15 @@ SLTM(Length)
SLTM(FetchError) SLTM(FetchError)
#define SLTH(aa) SLTM(Rx##aa) #define SLTH(aa, bb) SLTM(Rx##aa)
#include "tbl/vsl_tags_http.h" #include "tbl/vsl_tags_http.h"
#undef SLTH #undef SLTH
#define SLTH(aa) SLTM(Tx##aa) #define SLTH(aa, bb) SLTM(Tx##aa)
#include "tbl/vsl_tags_http.h" #include "tbl/vsl_tags_http.h"
#undef SLTH #undef SLTH
#define SLTH(aa) SLTM(Obj##aa) #define SLTH(aa, bb) SLTM(Obj##aa)
#include "tbl/vsl_tags_http.h" #include "tbl/vsl_tags_http.h"
#undef SLTH #undef SLTH
......
...@@ -27,12 +27,15 @@ ...@@ -27,12 +27,15 @@
* *
* Define the VSL tags for HTTP protocol messages * Define the VSL tags for HTTP protocol messages
* *
* The order of this table is not random, do not resort.
* In particular, the FIRST and LOST entries must be last, in that order.
*
*/ */
SLTH(Request) SLTH(Request, HTTP_HDR_REQ)
SLTH(Response) SLTH(URL, HTTP_HDR_URL)
SLTH(Status) SLTH(Protocol, HTTP_HDR_PROTO)
SLTH(URL) SLTH(Status, HTTP_HDR_STATUS)
SLTH(Protocol) SLTH(Response, HTTP_HDR_RESPONSE)
SLTH(Header) SLTH(Header, HTTP_HDR_FIRST)
SLTH(Lost) SLTH(Lost, HTTP_HDR_LOST)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment