mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Add missing break to evhttp_parse_request_line
This commit is contained in:
parent
e918f15a4c
commit
0fcc536bcd
1
http.c
1
http.c
@ -1588,6 +1588,7 @@ evhttp_parse_request_line(struct evhttp_request *req, char *line)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
/* Method length is 5 bytes, which can only encompass PATCH and TRACE */
|
/* Method length is 5 bytes, which can only encompass PATCH and TRACE */
|
||||||
switch (*method) {
|
switch (*method) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user