Compare commits
6
Commits
31970d8a16
...
17760a9544
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17760a9544
|
||
|
|
73d234d143
|
||
|
|
0d55d860d8
|
||
|
|
214d1434e0
|
||
|
|
b09da0b6bc
|
||
|
|
cacff59229
|
@@ -448,3 +448,5 @@ de68d0d94320cbf033599c6f3ca37e5335c67fd7 release-1.17.6
|
|||||||
e56295fe0ea76bf53b06bffa77a2d3a9a335cb8c release-1.17.7
|
e56295fe0ea76bf53b06bffa77a2d3a9a335cb8c release-1.17.7
|
||||||
fdacd273711ddf20f778c1fb91529ab53979a454 release-1.17.8
|
fdacd273711ddf20f778c1fb91529ab53979a454 release-1.17.8
|
||||||
5e8d52bca714d4b85284ddb649d1ba4a3ca978a8 release-1.17.9
|
5e8d52bca714d4b85284ddb649d1ba4a3ca978a8 release-1.17.9
|
||||||
|
c44970de01474f6f3e01b0adea85ec1d03e3a5f2 release-1.17.10
|
||||||
|
f8052414dbe9453578a9f6e753eb507be709c35a release-1.18.0
|
||||||
@@ -5,6 +5,34 @@
|
|||||||
<change_log title="nginx">
|
<change_log title="nginx">
|
||||||
|
|
||||||
|
|
||||||
|
<changes ver="1.18.0" date="2020-04-21">
|
||||||
|
|
||||||
|
<change>
|
||||||
|
<para lang="ru">
|
||||||
|
Стабильная ветка 1.18.x.
|
||||||
|
</para>
|
||||||
|
<para lang="en">
|
||||||
|
1.18.x stable branch.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
|
</changes>
|
||||||
|
|
||||||
|
|
||||||
|
<changes ver="1.17.10" date="2020-04-14">
|
||||||
|
|
||||||
|
<change type="feature">
|
||||||
|
<para lang="ru">
|
||||||
|
директива auth_delay.
|
||||||
|
</para>
|
||||||
|
<para lang="en">
|
||||||
|
the "auth_delay" directive.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
|
</changes>
|
||||||
|
|
||||||
|
|
||||||
<changes ver="1.17.9" date="2020-03-03">
|
<changes ver="1.17.9" date="2020-03-03">
|
||||||
|
|
||||||
<change type="change">
|
<change type="change">
|
||||||
|
|||||||
Submodule lib/nginx-http-flv-module updated: e07840682a...441ac3539c
+1
-1
@@ -6,7 +6,7 @@ TEMP = tmp
|
|||||||
|
|
||||||
CC = cl
|
CC = cl
|
||||||
OBJS = objs.msvc8
|
OBJS = objs.msvc8
|
||||||
OPENSSL = openssl-1.1.1d
|
OPENSSL = openssl-1.1.1f
|
||||||
ZLIB = zlib-1.2.11
|
ZLIB = zlib-1.2.11
|
||||||
PCRE = pcre-8.44
|
PCRE = pcre-8.44
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -9,8 +9,8 @@
|
|||||||
#define _NGINX_H_INCLUDED_
|
#define _NGINX_H_INCLUDED_
|
||||||
|
|
||||||
|
|
||||||
#define nginx_version 1017010
|
#define nginx_version 1019000
|
||||||
#define NGINX_VERSION "1.17.10"
|
#define NGINX_VERSION "1.19.0"
|
||||||
#define NGINX_VER "nginx/" NGINX_VERSION " by Hakase"
|
#define NGINX_VER "nginx/" NGINX_VERSION " by Hakase"
|
||||||
|
|
||||||
#ifndef NGINX_SERVER
|
#ifndef NGINX_SERVER
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ typedef struct {
|
|||||||
unsigned end_stream:1;
|
unsigned end_stream:1;
|
||||||
unsigned done:1;
|
unsigned done:1;
|
||||||
unsigned status:1;
|
unsigned status:1;
|
||||||
|
unsigned rst:1;
|
||||||
|
|
||||||
ngx_http_request_t *request;
|
ngx_http_request_t *request;
|
||||||
|
|
||||||
@@ -1205,6 +1206,7 @@ ngx_http_grpc_reinit_request(ngx_http_request_t *r)
|
|||||||
ctx->end_stream = 0;
|
ctx->end_stream = 0;
|
||||||
ctx->done = 0;
|
ctx->done = 0;
|
||||||
ctx->status = 0;
|
ctx->status = 0;
|
||||||
|
ctx->rst = 0;
|
||||||
ctx->connection = NULL;
|
ctx->connection = NULL;
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
@@ -2088,7 +2090,10 @@ ngx_http_grpc_filter(void *data, ssize_t bytes)
|
|||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->stream_id && ctx->done) {
|
if (ctx->stream_id && ctx->done
|
||||||
|
&& ctx->type != NGX_HTTP_V2_RST_STREAM_FRAME
|
||||||
|
&& ctx->type != NGX_HTTP_V2_WINDOW_UPDATE_FRAME)
|
||||||
|
{
|
||||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||||
"upstream sent frame for closed stream %ui",
|
"upstream sent frame for closed stream %ui",
|
||||||
ctx->stream_id);
|
ctx->stream_id);
|
||||||
@@ -2131,11 +2136,21 @@ ngx_http_grpc_filter(void *data, ssize_t bytes)
|
|||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
if (ctx->error || !ctx->done) {
|
||||||
"upstream rejected request with error %ui",
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||||
ctx->error);
|
"upstream rejected request with error %ui",
|
||||||
|
ctx->error);
|
||||||
|
return NGX_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
return NGX_ERROR;
|
if (ctx->rst) {
|
||||||
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||||
|
"upstream sent frame for closed stream %ui",
|
||||||
|
ctx->stream_id);
|
||||||
|
return NGX_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
ctx->rst = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->type == NGX_HTTP_V2_GOAWAY_FRAME) {
|
if (ctx->type == NGX_HTTP_V2_GOAWAY_FRAME) {
|
||||||
|
|||||||
Reference in New Issue
Block a user