Welcome to Centmin Mod Community
Become a Member

Beta Branch update optional Nginx QUIC HTTP3 routines in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 1, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    49,565
    11,375
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,678
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
  2. eva2000

    eva2000 Administrator Staff Member

    49,565
    11,375
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,678
    Local Time:
    8:30 AM
    Nginx 1.21.x
    MariaDB 10.x
    Still buggy for me but did a quick test of Centmin Mod Nginx with Nginx QUIC HTTP/3 support via quictls openssl 1.1.1r fork TLS library and using my custom built curl with QUIC HTTP/3 support.

    Custom curl version with QUIC/HTTP3 support
    Code (Text):
    /opt/el-compat-quic/bin/curl -V
    curl 7.85.0 (x86_64-unknown-linux-gnu) libcurl/7.85.0 OpenSSL/1.1.1q zlib/1.2.7 brotli/1.0.9 zstd/1.5.2 libpsl/0.21.1 (+libicu/71.1) libssh2/1.10.0 nghttp2/1.33.0 ngtcp2/0.8.1 nghttp3/0.8.0-DEV
    Release-Date: 2022-08-31
    Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
    

    Test Centmin Mod Nginx vhost domain1.com with HTTP/3 QUIC enabled which shows
    • Connect socket 5 over QUIC
    • Using HTTP/3 Stream ID
    • HTTP/3 200
    Code (Text):
    /opt/el-compat-quic/bin/curl -Ikv --http3 https://domain1.com/
    *   Trying 111.222.333.444:443...
    * Connect socket 5 over QUIC to 111.222.333.444:443
    * Skipped certificate verification
    * Connected to domain1.com (111.222.333.444) port 443 (#0)
    * h2h3 [:method: HEAD]
    * h2h3 [:path: /]
    * h2h3 [:scheme: https]
    * h2h3 [:authority: domain1.com]
    * h2h3 [user-agent: curl/7.85.0]
    * h2h3 [accept: */*]
    * Using HTTP/3 Stream ID: 0 (easy handle 0xa80c30)
    > HEAD / HTTP/3
    > Host: domain1.com
    > user-agent: curl/7.85.0
    > accept: */*
    >
    * ngh3_stream_recv returns 0 bytes and EAGAIN
    < HTTP/3 200
    HTTP/3 200
    < date: Tue, 01 Nov 2022 11:27:01 GMT
    date: Tue, 01 Nov 2022 11:27:01 GMT
    < content-type: text/html; charset=utf-8
    content-type: text/html; charset=utf-8
    < content-length: 2
    content-length: 2
    < last-modified: Sun, 16 Oct 2022 02:09:43 GMT
    last-modified: Sun, 16 Oct 2022 02:09:43 GMT
    < vary: Accept-Encoding
    vary: Accept-Encoding
    < etag: "634b67e7-2"
    etag: "634b67e7-2"
    < server: nginx centminmod
    server: nginx centminmod
    < x-powered-by: centminmod
    x-powered-by: centminmod
    < x-cache-status: MISS
    x-cache-status: MISS
    < accept-ranges: bytes
    accept-ranges: bytes
    
    <
    * Connection #0 to host domain1.com left intact