Skip to content

Commit 067c064

Browse files
committed
in_splunk: use new http server api to set max buffer size
Signed-off-by: Eduardo Silva <[email protected]>
1 parent c1a3ba8 commit 067c064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/in_splunk/splunk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ static int in_splunk_init(struct flb_input_instance *ins,
130130
return -1;
131131
}
132132

133+
flb_http_server_set_buffer_max_size(&ctx->http_server, ctx->buffer_max_size);
134+
133135
ctx->http_server.request_callback = splunk_prot_handle_ng;
134136

135137
flb_input_downstream_set(ctx->http_server.downstream, ctx->ins);

0 commit comments

Comments
 (0)