[QUIC] When old worker listen fd detach ebpf reuseport group when reload?

Vladimir Homutov vl at nginx.com
Tue Mar 9 20:27:01 UTC 2021


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 <ast at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
> 



More information about the nginx-devel mailing list