[core] quiet coverity noise
This commit is contained in:
parent
f8914ac381
commit
22e8f600f5
4
src/h2.c
4
src/h2.c
|
@ -2111,7 +2111,9 @@ h2_send_headers_block (request_st * const r, connection * const con, const char
|
|||
"oversized response-header");
|
||||
hoff[0] = 1;
|
||||
hoff[1] = 0;
|
||||
http_header_parse_hoff(CONST_STR_LEN(":status: 500\r\n\r\n"), hoff);
|
||||
if (http_header_parse_hoff(CONST_STR_LEN(":status: 500\r\n\r\n"),hoff)){
|
||||
/*(ignore for coverity; static string is successfully parsed)*/
|
||||
}
|
||||
}
|
||||
|
||||
/*(h2_init_con() resized h2r->tmp_buf to 64k; shared with r->tmp_buf)*/
|
||||
|
|
|
@ -20,7 +20,7 @@ static void run_buffer_path_simplify(buffer *psrc, buffer *pdest, const char *in
|
|||
__LINE__,
|
||||
in,
|
||||
out,
|
||||
pdest->ptr ? pdest->ptr : "");
|
||||
pdest->ptr);
|
||||
fflush(stderr);
|
||||
abort();
|
||||
} else {
|
||||
|
@ -33,7 +33,7 @@ static void run_buffer_path_simplify(buffer *psrc, buffer *pdest, const char *in
|
|||
__LINE__,
|
||||
in,
|
||||
out,
|
||||
pdest->ptr ? pdest->ptr : "");
|
||||
pdest->ptr);
|
||||
fflush(stderr);
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue