Là một dự án mã nguồn mở, emqx/quic đã đạt 278 sao trên GitHub, ngôn ngữ Erlang. QUIC protocol for Erlang & Elixir
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
%% Connect to google and disconnect,
%% You could also tweak the parameters to see how it goes
{ok, Conn} = quicer:connect("google.com", 443, [{alpn, ["h3"]},
{verify, verify_peer},
{peer_unidi_stream_count, 3}], 5000),
quicer:shutdown_connection(Conn).
More examples in test dir
refer to test dir.
Documentation
Get Started
Understand the handles and the ownership in Terminology
Then check how to receives the data and signals: Messages
Read more in msquic doc
Offline hex doc
make doc
firefox doc/index.html
Dependencies
OTP25+
rebar3
cmake3.16+
Build and test
Dev mode
make ci
Selecting the TLS backend
QUICER_TLS_VER selects where libcrypto comes from:
Value
Behaviour
quictls
Build and link the bundled quictls submodule. Works on any supported system.
sys
Link the libcrypto provided by the system. Requires OpenSSL 3.0 or newer; the build fails on older systems.
auto
Use sys when the system provides OpenSSL >= 3.0, quictls otherwise.
Prefer sys where it is available: the NIF then picks up the distribution's
libcrypto security updates without rebuilding quicer. Use auto to get that
on modern systems while still building on distributions that ship OpenSSL
1.1.1 or older, such as Ubuntu 20.04, Debian 11, EL8, EL7 and Amazon Linux 2.
QUICER_TLS_VER=auto make
The value is part of the pre-built package name, so sys and quictls
artifacts are published and cached independently.
Troubleshooting
Log to stdout
Debug log could be enabled to print to stdout with the envvar QUIC_LOGGING_TYPE=stdout
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/emqx/quic là nguồn chính thức.
emqx/quic có phải mã nguồn mở không?
Có — emqx/quic phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/emqx/quic.
emqx/quic là gì?
emqx/quic (emqx/quic) là dự án Erlang trên GitHub. Theo mô tả gốc: QUIC protocol for Erlang & Elixir
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về quic?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về quic.