09.03.2021 17:43, Gao,Yan(ACG VCP) пишет:
We cannot close quic fd to let old session complete when reload.
Can detach ebpf reuseport group manually when ngx_close_listening_sockets?

Hello Gao,Yan,

I'm not sure I understand what you are trying to do.
Do you have some issues with existing quic implementations in nginx?


Linxu kernel
commit e57892f50a07953053dcb1e0c9431197e569c258
Merge: bfdfa51702de 0ab5539f8584
Author: Alexei Starovoitov <a...@kernel.org>
Date:   Fri Jul 17 20:18:18 2020 -0700

     Merge branch 'bpf-socket-lookup'

     Jakub Sitnicki says:

     BPF sk_lookup program runs when transport layer is looking up a listening
     socket for a new connection request (TCP), or when looking up an
     unconnected socket for a packet (UDP).

     To select a socket BPF program fetches it from a map holding socket
     references, like SOCKMAP or SOCKHASH, calls bpf_sk_assign(ctx, sk, ...)
     helper to record the selection, and returns SK_PASS code. Transport layer
     then uses the selected socket as a result of socket lookup.



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to