Revert "upgrade nginx"

This commit is contained in:
James Strong 2023-11-29 11:44:48 -05:00 committed by GitHub
parent 31838b941c
commit a75db69c2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1249 additions and 11 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;