Skip to content

Commit 12b191b

Browse files
eschabelledsiper
authored andcommitted
in_http: added missing config parameter descriptions.
- 4 parameters need descriptions: http2, buffer_max_size, buffer_chunk_size, tag_key Fixes #11239. Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 7ded9ae commit 12b191b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/in_http/http.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,39 +204,39 @@ static struct flb_config_map config_map[] = {
204204
{
205205
FLB_CONFIG_MAP_BOOL, "http2", "true",
206206
0, FLB_TRUE, offsetof(struct flb_http, enable_http2),
207-
NULL
207+
"Enable HTTP/2 support."
208208
},
209209

210210
{
211211
FLB_CONFIG_MAP_SIZE, "buffer_max_size", HTTP_BUFFER_MAX_SIZE,
212212
0, FLB_TRUE, offsetof(struct flb_http, buffer_max_size),
213-
""
213+
"Set the maximum buffer size to store incoming data."
214214
},
215215

216216
{
217217
FLB_CONFIG_MAP_SIZE, "buffer_chunk_size", HTTP_BUFFER_CHUNK_SIZE,
218218
0, FLB_TRUE, offsetof(struct flb_http, buffer_chunk_size),
219-
""
219+
"Set the initial buffer size to store incoming data."
220220
},
221221

222222
{
223223
FLB_CONFIG_MAP_SLIST_1, "success_header", NULL,
224224
FLB_CONFIG_MAP_MULT, FLB_TRUE, offsetof(struct flb_http, success_headers),
225-
"Add an HTTP header key/value pair on success. Multiple headers can be set"
225+
"Add an HTTP header key/value pair on success. Multiple headers can be set."
226226
},
227227

228228
{
229229
FLB_CONFIG_MAP_STR, "tag_key", NULL,
230230
0, FLB_TRUE, offsetof(struct flb_http, tag_key),
231-
""
231+
"Specify a key name for extracting the tag from incoming request data."
232232
},
233+
233234
{
234235
FLB_CONFIG_MAP_INT, "successful_response_code", "201",
235236
0, FLB_TRUE, offsetof(struct flb_http, successful_response_code),
236237
"Set successful response code. 200, 201 and 204 are supported."
237238
},
238239

239-
240240
/* EOF */
241241
{0}
242242
};

0 commit comments

Comments
 (0)