Skip to content

Commit 27301e7

Browse files
committed
fixed nginx request access
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 27f4aeb commit 27301e7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ngx_openidc_module.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,6 @@ bool oauth2_nginx_response_header_set(oauth2_log_t *log, void *rec,
345345
return rc;
346346
}
347347

348-
/*
349-
* TODO
350-
*/
351-
OAUTH2_NGINX_REQUEST_COPY_HACK
352-
353348
static ngx_int_t ngx_openidc_handler(ngx_http_request_t *r)
354349
{
355350
ngx_int_t rv = NGX_DECLINED;
@@ -378,8 +373,6 @@ static ngx_int_t ngx_openidc_handler(ngx_http_request_t *r)
378373
goto end;
379374
}
380375

381-
// TODO:
382-
_oauth2_nginx_request_copy(ctx);
383376
oauth2_http_request_scheme_set(ctx->log, ctx->request, "http");
384377

385378
/*

0 commit comments

Comments
 (0)