summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-27 14:46:04 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-27 14:46:04 -0400
commit998f207725e0427b6518fea5e6d64347cb14e231 (patch)
tree86d5be69a0099cbe8fc1502af3e56d049329bae8 /include
parentbf917d7ddf539ff2eff0e3e998d9cbd979b2dea3 (diff)
downloadlibfhp-998f207725e0427b6518fea5e6d64347cb14e231.tar.bz2
libfhp-998f207725e0427b6518fea5e6d64347cb14e231.zip
hash header name
Diffstat (limited to 'include')
-rw-r--r--include/fhp/fhp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fhp/fhp.h b/include/fhp/fhp.h
index 2e1dc95..3337cbe 100644
--- a/include/fhp/fhp.h
+++ b/include/fhp/fhp.h
@@ -165,6 +165,9 @@ struct fhp_t_ {
// cached http method and version
fhp_token_t http_method, http_version;
+ // hash of last header name
+ uint32_t header_name_hash;
+
// state for url hex decoder
uint32_t hex;
};