Revert "Update base nginx" (#7558)

* Revert "Update base nginx (#7552)"

This reverts commit c6bc9870f1.

* keep alpine bump
This commit is contained in:
Elvin Efendi 2021-08-28 10:38:52 -04:00 committed by GitHub
parent c6bc9870f1
commit 8951b7e22a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 57 additions and 1679 deletions

View file

@ -0,0 +1,13 @@
diff --git a/src/stream/ngx_stream_ssl_preread_module.c b/src/stream/ngx_stream_ssl_preread_module.c
index e3d11fd9..3717b5fe 100644
--- a/src/stream/ngx_stream_ssl_preread_module.c
+++ b/src/stream/ngx_stream_ssl_preread_module.c
@@ -159,7 +159,7 @@ ngx_stream_ssl_preread_handler(ngx_stream_session_t *s)
rc = ngx_stream_ssl_preread_parse_record(ctx, p, p + len);
if (rc != NGX_AGAIN) {
- return rc;
+ return rc == NGX_OK ? NGX_DECLINED : rc;
}
p += len;