Skip to content

Commit 095666f

Browse files
edsipercosmo0920
authored andcommitted
http_server: http2: fix return value on NULL server
Signed-off-by: Eduardo Silva <eduardo@chronosphere.io>
1 parent 0c7d9e2 commit 095666f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/http_server/flb_http_server_http2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static int http2_request_body_limit_exceeded(struct flb_http_stream *stream,
9191
server = parent_session->parent;
9292

9393
if (server == NULL) {
94-
return FLB_FALSE;
94+
return FLB_TRUE;
9595
}
9696

9797
maximum_size = flb_http_server_get_buffer_max_size(server);

0 commit comments

Comments
 (0)