Skip to content

feat: support to enable quic and add basic test case#10989

Merged
juststillthinking merged 14 commits into
apache:masterfrom
zll600:apisix_http3_basic
Mar 6, 2024
Merged

feat: support to enable quic and add basic test case#10989
juststillthinking merged 14 commits into
apache:masterfrom
zll600:apisix_http3_basic

Conversation

@zll600

@zll600 zll600 commented Mar 4, 2024

Copy link
Copy Markdown
Contributor

Description

Fixes #6403

support enable quic for apisix.

I will add a how-to guide in another PR.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

Comment thread ci/linux_install_static_curl.sh Outdated
set -ex

# use curl which supports http3 to test.
install_static_curl

Copy link
Copy Markdown
Contributor Author

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

Comment thread t/APISIX.pm Outdated
@zll600 zll600 mentioned this pull request Mar 4, 2024
5 tasks
Comment thread apisix/cli/ngx_tpl.lua Outdated
@zll600
zll600 marked this pull request as ready for review March 4, 2024 07:37
Comment thread conf/config-default.yaml Outdated
Comment thread t/node/grpc-proxy.t Outdated
Comment thread t/node/http_host.t Outdated
Comment thread t/quic/admin/basic.t Outdated
Comment thread apisix/init.lua
Comment thread apisix/cli/ops.lua
Comment thread ci/common.sh Outdated
Comment thread .github/workflows/quic.yml
Comment thread apisix/cli/ops.lua
if ip_port_to_check[addr] == nil then
table_insert(listen_table,
{ip = ip, port = port, enable_http2 = enable_http2})
{

Copy link
Copy Markdown
Contributor

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.

@zll600 zll600 Mar 5, 2024

Copy link
Copy Markdown
Contributor Author

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.

Comment thread ci/common.sh Outdated
Comment thread ci/common.sh Outdated
Comment thread apisix/init.lua
Comment thread conf/config-default.yaml Outdated
Comment thread t/quic/admin/basic.t Outdated
Comment thread ci/common.sh Outdated

@membphis membphis left a comment

Copy link
Copy Markdown
Member

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

@zll600 zll600 changed the title feat: support enable quic feat: support to enable quic and add basic test case Mar 6, 2024

@membphis membphis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: apisix support QUIC+HTTP3

4 participants