Package Details: nginx-quic-src 1.23.3-1

Git Clone URL: (read-only, click to copy)
Package Base: nginx-quic
Description: Source code of nginx-quic 1.23.3, useful for building modules
Upstream URL:
Keywords: http3 nginx quic webserver
Licenses: custom
Conflicts: nginx-src
Provides: nginx-mainline-src, nginx-src
Submitter: DasSkelett
Maintainer: DasSkelett
Last Packager: DasSkelett
Votes: 9
Popularity: 0.043989
First Submitted: 2020-12-20 02:20 (UTC)
Last Updated: 2022-12-17 20:28 (UTC)

Required by (49)

Sources (4)

Latest Comments

1 2 3 Next › Last »

Fijxu commented on 2023-03-29 22:38 (UTC)

@Strykar it's http3, not quic

Strykar commented on 2023-03-26 14:54 (UTC) (edited on 2023-03-26 14:55 (UTC) by Strykar)

Would someone link to a working QUIC config with this?

I have tried and a bunch of other suggestions but no go.

Any reference to quic in the nginx vhost config fails with:

nginx: 2023/03/26 20:10:48 [emerg] 245509#245509: unknown "quic" variable
nginx: nginx: configuration file /etc/nginx/nginx.conf test failed

nginx -V shows "--with-http_v3_module --with-stream_quic_module"

DasSkelett commented on 2022-10-20 17:10 (UTC)

Updated to nginx-quic 1.23.2, and also applied the changes from @phoepsilonix, thanks for the suggestions!

phoepsilonix commented on 2022-09-14 11:59 (UTC) (edited on 2022-09-14 12:06 (UTC) by phoepsilonix)

To build with clang, add the following option --with-cc-opt="-flto" --with-ld-opt="-flto -fuse-ld=lld"

When clang is used, it is not necessary to modify CFLAGS for gcc bug countermeasures.

# clang
if [[ $CC=="clang" ]];then
    _ld_opt="-flto -fuse-ld=lld"
    --with-cc-opt="$_cc_opt -I../boringssl/include" \
    --with-ld-opt="$_ld_opt -L../boringssl/build/ssl -L../boringssl/build/crypto" \
-  # Disable some warnings that make Boringssl fail to compile due to a forced -Werror in CMakeLists.txt
-  # -Wno-array-bounds: 2022-05-21 for compatiblity with GCC 12.1 (
-  export CFLAGS="$CFLAGS -fPIC -Wno-stringop-overflow -Wno-array-parameter -Wno-array-bounds"
+  export CFLAGS="$CFLAGS -fPIC"

TheHardew commented on 2022-06-09 10:31 (UTC)

PSA, if your site can't stop loading after enabling http3, you might need to rebuild the modules against nginx-quic-src. At least in my case, nginx did start without errors when loading wrong modules, and I had forgotten to rebuild them so debugging was a little difficult at first.

DasSkelett commented on 2022-05-29 12:06 (UTC)

Ah I see, the problem was that it opened an interactive merging tool for you. This didn't happen for me, as there wasn't any installed, so the hg resolve -t internal:other --all that I added took care of it. I've reverted it now so it doesn't matter anymore anyway, but for the future I now know I'll have to set HGMERGE=false so it doesn't open a merging tool for other people.

Thanks for letting me know and the demonstration, that helped to understand the issue.

kescherAUR commented on 2022-05-29 11:52 (UTC)

There's actually just one merge conflict, I think, and it's the version number:

DasSkelett commented on 2022-05-29 11:27 (UTC)

Hm, I believe I shouldn't have merged with the stable branch anyway, we target mainline only. I don't know if they plan to do a mainline release soon as well, but for now I think I'm going to revert the last commit, which should also avoid the merge conflict problem.

DasSkelett commented on 2022-05-29 10:53 (UTC)

Indeed, but I've added a command to automatically resolve this. Does it not work for you?

kescherAUR commented on 2022-05-29 10:51 (UTC)

There's a merge conflict with the manual 1.22 merge.