Skip to content

Commit 47d2fe5

Browse files
committed
Update comments
1 parent c6de1ce commit 47d2fe5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/ngx_http_tnt_module.c

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,20 +214,26 @@ static ngx_command_t ngx_http_tnt_commands[] = {
214214
offsetof(ngx_http_tnt_loc_conf_t, http_methods),
215215
&ngx_http_tnt_methods },
216216

217-
/* Experimental feature:
218-
* the feature allow to skip top part of result scheme [[
217+
{ ngx_string("tnt_set_header"),
218+
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE2,
219+
ngx_conf_set_keyval_slot,
220+
NGX_HTTP_LOC_CONF_OFFSET,
221+
offsetof(ngx_http_tnt_loc_conf_t, headers_source),
222+
NULL },
223+
224+
/* Experimental features [[
219225
*/
220226
{ ngx_string("tnt_pure_result"),
221227
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF
222-
|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
228+
|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
223229
ngx_conf_set_bitmask_slot,
224230
NGX_HTTP_LOC_CONF_OFFSET,
225231
offsetof(ngx_http_tnt_loc_conf_t, pure_result),
226232
&ngx_http_tnt_pass_http_request_masks },
227233

228234
{ ngx_string("tnt_multireturn_skip_count"),
229235
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF
230-
|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
236+
|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
231237
ngx_conf_set_size_slot,
232238
NGX_HTTP_LOC_CONF_OFFSET,
233239
offsetof(ngx_http_tnt_loc_conf_t, multireturn_skip_count),

0 commit comments

Comments
 (0)