nginx sometimes close connection to grpc upstream when keepalive is set
nginx-forum at forum.nginx.org
Sun Jun 17 16:46:35 UTC 2018
when grpc server response
SETTINGS, WINDOW_UPDATE, PING, HEADERS, DATA, HEADERS 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 .
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280159,280159#msg-280159
More information about the nginx