nghttpx: Reset flags as well

This commit is contained in:
Tatsuhiro Tsujikawa 2016-11-04 02:00:50 +09:00
parent 0344c962f8
commit d8b13bd417
1 changed files with 4 additions and 1 deletions

View File

@ -466,7 +466,10 @@ void FieldStore::append_last_header_value(const char *data, size_t len) {
headers_, data, len);
}
void FieldStore::clear_headers() { headers_.clear(); }
void FieldStore::clear_headers() {
headers_.clear();
header_key_prev_ = false;
}
void FieldStore::add_trailer_token(const StringRef &name,
const StringRef &value, bool no_index,