﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2292	nginx config test cannot pass if quic_bpf is enabled	zhuizhuhaomeng@…		"the error message
{{{
[root@fedora-lijunlong nginx]# ./sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: [emerg] quic bpf setsockopt(SO_ATTACH_REUSEPORT_EBPF) failed (22: Invalid argument)
nginx: [emerg] ngx_quic_bpf_module failed to initialize, check limits
}}}




nginx.conf

{{{
worker_processes  2;
worker_cpu_affinity auto;
quic_bpf on;

events {
    worker_connections  1000000;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;

    keepalive_timeout  65;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_certificate http3.crt;
    ssl_certificate_key http3.key;
    quic_max_idle_timeout 5;

    server {
        listen       80;
        listen       8443 reuseport ssl;
        listen       8443 reuseport http3;
        server_name  localhost;

        access_log  off;

        location / {
            root   html;
            index  index.html index.htm;
        }

        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }
}
}}}
"	defect	closed	major	nginx-1.21	http/3		fixed	quic bpf		5.11.22-100.fc32.x86_64	"nginx version: nginx/1.21.4
built by gcc 10.3.1 20210422 (Red Hat 10.3.1-1) (GCC) 
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
TLS SNI support enabled
configure arguments: --with-http_v3_module --with-cc-opt=-I/usr/local/openresty/boringssl/include --with-ld-opt='-L/usr/local/openresty/boringssl/lib -Wl,-rpath,/usr/local/openresty/boringssl/lib'
"
