]> git.kaiwu.me - nginx.git/commit
gRPC: RST_STREAM(NO_ERROR) handling micro-optimization.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 17 Jun 2021 08:44:06 +0000 (11:44 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 17 Jun 2021 08:44:06 +0000 (11:44 +0300)
commit693e4134a51b4fd30689ad1e31e6fdffe5ee1429
treef483272e19ea34019b4faa577dddc62ac891381f
parentdcdf7ec096f0998e689b7f0b0f7541e197eeff6a
gRPC: RST_STREAM(NO_ERROR) handling micro-optimization.

After 2096b21fcd10, a single RST_STREAM(NO_ERROR) may not result in an error.
This change removes several unnecessary ctx->type checks for such a case.
src/http/modules/ngx_http_grpc_module.c