http_parser: fix parsing HTTP protocol version
Handle status header response like 'HTTP/2 200' with version without dot. Closes #7319 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-7319-fix-http.client-reply-proto-parser.md 4 additions, 0 deletions.../unreleased/gh-7319-fix-http.client-reply-proto-parser.md
- src/lib/http_parser/http_parser.c 5 additions, 0 deletionssrc/lib/http_parser/http_parser.c
- src/lib/http_parser/http_parser.h 1 addition, 1 deletionsrc/lib/http_parser/http_parser.h
- test/fuzz/http_parser_fuzzer.c 2 additions, 2 deletionstest/fuzz/http_parser_fuzzer.c
- test/unit/CMakeLists.txt 3 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/http_parser.c 53 additions, 0 deletionstest/unit/http_parser.c
test/unit/http_parser.c
0 → 100644
Please register or sign in to comment