-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support to enable quic and add basic test case #10989
Conversation
ci/linux_install_static_curl.sh
Outdated
set -ex | ||
|
||
# use curl which supports http3 to test. | ||
install_static_curl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl from apt does not support option --http3-only to test. So we need a newer version of curl
@@ -407,7 +413,12 @@ Please modify "admin_key" in conf/config.yaml . | |||
|
|||
if ip_port_to_check[addr] == nil then | |||
table_insert(listen_table, | |||
{ip = ip, port = port, enable_http2 = enable_http2}) | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you explain the usage of this block briefly? And why this change is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because I want to add a new field enable_quic
. If I add enable_quic
directly, the length of this line will be too long to cause a lint error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
need a better title, eg: feat: support to enable quic and add basic test case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fixes #6403
support enable quic for apisix.
I will add a how-to guide in another PR.
Checklist