Welcome! Log In Create A New Profile

Advanced

nginx-quic & reload

Jan Prachař
June 12, 2020 05:42AM
Hello, I checked code at the nginx-quic repo and I can't see how the
following problem is addressed.

When nginx reloads config, new workers are created and they inhertis
receiving sockets from the old workers. That means that the new workers
will start processing packets of the quic connections of the old
workers. But the new workers lack context for them, so they will ignore
the packets and quic connection will timeout, right?

A similar problem exists when a binary is changed.

Do I miss something or will it be solved in the future?

Unfortunatelly I cannot see any simple solution to this, because when a
number of sockets in reuseport changes, kernel starts routing the same
4-tuple packets to a different socket.

Best regards, Jan

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx-quic & reload

Jan Prachař 136 June 12, 2020 05:42AM

Re: nginx-quic & reload

Sergey Kandaurov 54 June 15, 2020 07:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 60
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