Commit ece423dc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

reduce some fieldwidths and pack struct http to avoid packing.

parent c20bb7da
......@@ -166,18 +166,17 @@ struct http {
unsigned magic;
#define HTTP_MAGIC 0x6428b5c9
struct ws *ws;
unsigned char conds; /* If-* headers present */
enum httpwhence logtag;
int status;
uint8_t protover;
unsigned shd; /* Size of hd space */
struct ws *ws;
txt *hd;
unsigned char *hdf;
#define HDF_FILTER (1 << 0) /* Filtered by Connection */
unsigned nhd; /* Next free hd */
uint16_t shd; /* Size of hd space */
uint16_t nhd; /* Next free hd */
uint16_t status;
uint8_t protover;
uint8_t conds; /* If-* headers present */
};
/*--------------------------------------------------------------------
......
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