QUIC: switched to draft 29 by default.

This commit is contained in:
Vladimir Homutov 2020-09-11 10:56:05 +03:00
parent 3a60eda160
commit 160bfe5969
2 changed files with 9 additions and 9 deletions

14
README
View File

@ -190,7 +190,7 @@ Example configuration:
+ to enable QUIC in Chrome, enable it on command line and force it
on your site:
$ ./chrome --enable-quic --quic-version=h3-27 \
$ ./chrome --enable-quic --quic-version=h3-29 \
--origin-to-force-quic-on=example.com:8443
* Console clients
@ -202,7 +202,7 @@ Example configuration:
$ ./neqo-client https://127.0.0.1:8443/
$ chromium-build/out/my_build/quic_client http://example.com:8443 \
--quic_version=h3-27 \
--quic_version=h3-29 \
--allow_unknown_root_cert \
--disable_certificate_verification
@ -210,7 +210,7 @@ Example configuration:
If you've got it right, in the access log you should see something like:
127.0.0.1 - - [24/Apr/2020:11:27:29 +0300] "GET / HTTP/3" 200 805 "-"
"nghttp3/ngtcp2 client" "quic" "h3-27"
"nghttp3/ngtcp2 client" "quic" "h3-29"
5. Troubleshooting
@ -218,7 +218,7 @@ Example configuration:
Here are some tips that may help you to identify problems:
+ Ensure you are building with proper SSL library that
implements draft 27
implements draft 29
+ Ensure you are using the proper SSL library in runtime
(`nginx -V` will show you what you are using)
@ -251,10 +251,10 @@ Example configuration:
7. Links
[1] https://tools.ietf.org/html/draft-ietf-quic-transport-27
[2] https://tools.ietf.org/html/draft-ietf-quic-http-27
[1] https://tools.ietf.org/html/draft-ietf-quic-transport-29
[2] https://tools.ietf.org/html/draft-ietf-quic-http-29
[3] https://mailman.nginx.org/mailman/listinfo/nginx-devel
[4] https://boringssl.googlesource.com/boringssl/
[5] https://tools.ietf.org/html/draft-ietf-quic-recovery-27
[5] https://tools.ietf.org/html/draft-ietf-quic-recovery-29
[6] https://nginx.org/en/docs/http/ngx_http_core_module.html#listen
[7] https://nginx.org/en/docs/debugging_log.html

View File

@ -12,9 +12,9 @@
#include <ngx_core.h>
/* Supported drafts: 27, 28 */
/* Supported drafts: 27, 28, 29 */
#ifndef NGX_QUIC_DRAFT_VERSION
#define NGX_QUIC_DRAFT_VERSION 27
#define NGX_QUIC_DRAFT_VERSION 29
#endif
#define NGX_QUIC_VERSION (0xff000000 + NGX_QUIC_DRAFT_VERSION)