Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
June 18, 2018 11:22AM
Hello!

On Sun, Jun 17, 2018 at 12:46:35PM -0400, peanutgyz wrote:

> 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 .

There are situations when nginx won't be able to keep a connection
alive. These aren't likely to happen though, and not considered
to be a problem.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready