Closed kenba closed 1 year ago
The tests in test_headers.cpp
for these template parameters were incorrect: they did not have a complete multiple header string so they fail regardless of the template parameters. Also, InValidMultipleHeaderString2
accepted 100 headers, not one!
I searched for other places where parser template parameters were not being used correctly but didn't find any, just a typo for "consectutive".
The fix has been delivered in tag 1.10.1
.
When the
message_headers
class was changed to take template parameters, theparse
function was not updated.This effectively fixes
MAX_HEADER_NUMBER
to 8 andMAX_HEADER_LENGTH
to 1024.