Welcome! Log In Create A New Profile

Advanced

nginx sometimes close connection to grpc upstream when keepalive is set

June 17, 2018 12:46PM
when grpc server response
SETTINGS[0], WINDOW_UPDATE[0], PING[0], HEADERS[1], DATA[1], HEADERS[1] in one tcp packet,

nginx want to send settings ack and call function ngx_http_grpc_send_settings_ack, write some data in ctx->out

when finalize upstream grpc request, because out != NULL, nginx can't set connection to be keepalive and closed connection.

expect connection to be persistent .
Subject Author Posted

nginx sometimes close connection to grpc upstream when keepalive is set

peanutgyz June 17, 2018 12:46PM

Re: nginx sometimes close connection to grpc upstream when keepalive is set

Maxim Dounin June 18, 2018 11:22AM

Re: nginx sometimes close connection to grpc upstream when keepalive is set

peanutgyz June 20, 2018 08:57PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready