lijunlong
lijunlong
@ggPeti This is an example. https://github.com/openresty/headers-more-nginx-module/blob/master/t/sanity.t#L514
you can change it to a 32bit value
Is there a practical application scenario?
use lua to clear the header.
Try ngx.req.add_header in the access_by_lua phase? It is too late to add headers in balancer phase
I think add an append mode is a good choice.
@syzh we need to add test for the new feature
int ngx_http_lua_ffi_var_get(ngx_http_request_t *r, u_char *name_data, size_t name_len, u_char *lowcase_buf, int capture_id, u_char **value, size_t *value_len, char **err) Add a breakpoint on the above function to see what happened. maybe hit...
you can check the file autoconf.err under nginx-1.10.3/objs
you need to try the latest openresty 1.21.4 to see if the problem still exists?