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)
SLTM(FetchError)
#define SLTH(aa) SLTM(Rx##aa)
#define SLTH(aa, bb) SLTM(Rx##aa)
#include "tbl/vsl_tags_http.h"
#undef SLTH
#define SLTH(aa) SLTM(Tx##aa)
#define SLTH(aa, bb) SLTM(Tx##aa)
#include "tbl/vsl_tags_http.h"
#undef SLTH
#define SLTH(aa) SLTM(Obj##aa)
#define SLTH(aa, bb) SLTM(Obj##aa)
#include "tbl/vsl_tags_http.h"
#undef SLTH
......
......@@ -27,12 +27,15 @@
*
* 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(Response)
SLTH(Status)
SLTH(URL)
SLTH(Protocol)
SLTH(Header)
SLTH(Lost)
SLTH(Request, HTTP_HDR_REQ)
SLTH(URL, HTTP_HDR_URL)
SLTH(Protocol, HTTP_HDR_PROTO)
SLTH(Status, HTTP_HDR_STATUS)
SLTH(Response, HTTP_HDR_RESPONSE)
SLTH(Header, HTTP_HDR_FIRST)
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