diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-06-20 13:22:13 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-06-20 13:22:13 +0800 |
commit | 9d2672a701e3dcaee45bef9251ab55620d42fa42 (patch) | |
tree | 60c07c277c5ae2120c346718b976a3bd09dbf6a1 /src/nxt_h1proto.c | |
parent | 14dfa439eed1983693d7d128cc51c5e738a487d7 (diff) | |
download | unit-9d2672a701e3dcaee45bef9251ab55620d42fa42.tar.gz unit-9d2672a701e3dcaee45bef9251ab55620d42fa42.tar.bz2 |
Router: forwared header replacement.
Diffstat (limited to 'src/nxt_h1proto.c')
-rw-r--r-- | src/nxt_h1proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index d3340774..1473aaa0 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -490,7 +490,7 @@ nxt_h1p_conn_request_init(nxt_task_t *task, void *obj, void *data) r->remote = c->remote; #if (NXT_TLS) - r->tls = c->u.tls; + r->tls = (c->u.tls != NULL); #endif r->task = c->task; |