* Fix: http1 parser termination with EOF required on freebsd flex
* Test: sed -i does not seem to work on all platforms
This commit is contained in:
parent
bf00fdf2c1
commit
503c4f8754
4 changed files with 9 additions and 5 deletions
|
|
@ -206,7 +206,7 @@ http1_parse_header_field(clixon_http1_yacc *hy,
|
|||
/* start-line *( header-field CRLF ) CRLF [ message-body ]
|
||||
* start-line = request-line / status-line (only request-line here, ignore status-line)
|
||||
*/
|
||||
http_message : request_line header_fields CRLF body
|
||||
http_message : request_line header_fields CRLF body X_EOF
|
||||
{
|
||||
if ($4) {
|
||||
if (http1_body(_HY, $4) < 0) YYABORT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue