{"id":13794614,"url":"https://github.com/litespeedtech/lsquic","last_synced_at":"2026-01-04T20:11:39.121Z","repository":{"id":37713341,"uuid":"104516416","full_name":"litespeedtech/lsquic","owner":"litespeedtech","description":"LiteSpeed QUIC and HTTP/3 Library","archived":false,"fork":false,"pushed_at":"2025-02-18T13:47:52.000Z","size":7652,"stargazers_count":1628,"open_issues_count":84,"forks_count":347,"subscribers_count":69,"default_branch":"master","last_synced_at":"2025-04-04T15:21:43.524Z","etag":null,"topics":["gquic","h3","http3","ietf","protocol","quic","tls13","udp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litespeedtech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-22T20:33:18.000Z","updated_at":"2025-04-04T06:29:10.000Z","dependencies_parsed_at":"2024-02-29T01:25:19.518Z","dependency_job_id":"14f3070c-4273-4c8f-8109-60a22a4ab531","html_url":"https://github.com/litespeedtech/lsquic","commit_stats":{"total_commits":487,"total_committers":56,"mean_commits":8.696428571428571,"dds":"0.42915811088295686","last_synced_commit":"d3582f34f0b8dcdb64b3d6b0a25d351bc96f8cdf"},"previous_names":[],"tags_count":196,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsquic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsquic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsquic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsquic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litespeedtech","download_url":"https://codeload.github.com/litespeedtech/lsquic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248475972,"owners_count":21110188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gquic","h3","http3","ietf","protocol","quic","tls13","udp"],"created_at":"2024-08-03T23:00:44.738Z","updated_at":"2026-01-04T20:11:39.115Z","avatar_url":"https://github.com/litespeedtech.png","language":"C","funding_links":[],"categories":["QUIC Weekly - 20201104期","Implementations"],"sub_categories":[],"readme":"[![Linux and MacOS build status](https://ci.appveyor.com/api/projects/status/x790ve5msewmva2b/branch/master?svg=true)](https://ci.appveyor.com/project/litespeedtech/lsquic-linux/branch/master)\n[![Windows build status](https://ci.appveyor.com/api/projects/status/ij4n3vy343pkgm1j/branch/master?svg=true)](https://ci.appveyor.com/project/litespeedtech/lsquic-windows/branch/master)\n[![FreeBSD build status](https://api.cirrus-ci.com/github/litespeedtech/lsquic.svg)](https://cirrus-ci.com/github/litespeedtech/lsquic)\n[![Documentation Status](https://readthedocs.org/projects/lsquic/badge/?version=latest)](https://lsquic.readthedocs.io/en/latest/?badge=latest)\n\nLiteSpeed QUIC (LSQUIC) Library README\n=============================================\n\nDescription\n-----------\n\nLiteSpeed QUIC (LSQUIC) Library is an open-source implementation of QUIC\nand HTTP/3 functionality for servers and clients.  Most of the code in this\ndistribution is used in our own products: LiteSpeed Web Server, LiteSpeed ADC,\nand OpenLiteSpeed.\n\nCurrently supported QUIC versions are v1, v2, Internet-Draft versions 29, and 27;\nand the older \"Google\" QUIC versions Q043, Q046, an Q050.\n\nStandard Compliance\n-------------------\n\nLiteSpeed QUIC is mostly compliant to the follow RFCs:\n\n- [RFC 9000](https://www.rfc-editor.org/rfc/rfc9000) QUIC: A UDP-Based Multiplexed and Secure Transport\n- [RFC 9001](https://www.rfc-editor.org/rfc/rfc9001) Using TLS to Secure QUIC\n- [RFC 9002](https://www.rfc-editor.org/rfc/rfc9002) QUIC Loss Detection and Congestion Control\n- [RFC 9114](https://www.rfc-editor.org/rfc/rfc9114) HTTP/3\n- [RFC 9204](https://www.rfc-editor.org/rfc/rfc9204) QPACK: Field Compression for HTTP/3\n\nQUIC protocol extensions\n------------------------\n\nThe following QUIC protocol extensions are implemented:\n\n- [RFC 9368](https://www.rfc-editor.org/rfc/rfc9368) Compatible Version Negotiation for QUIC\n- [RFC 9369](https://www.rfc-editor.org/rfc/rfc9369) QUIC Version 2\n- [RFC 9218](https://www.rfc-editor.org/rfc/rfc9218) Extensible Prioritization Scheme for HTTP\n- [RFC 9221](https://www.rfc-editor.org/rfc/rfc9221) An Unreliable Datagram Extension to QUIC\n- [RFC 9287](https://www.rfc-editor.org/rfc/rfc9287) Greasing the QUIC Bit\n- [ACK Frequency](https://datatracker.ietf.org/doc/draft-ietf-quic-ack-frequency/)\n- [WebTransport](https://datatracker.ietf.org/doc/draft-ietf-webtrans-http3/)\n  \nDocumentation\n-------------\n\nDocumentation is available at https://lsquic.readthedocs.io/en/latest/.\n\nIn addition, see example programs for API usage and EXAMPLES.txt for\nsome compilation and run-time options.\n\nRequirements\n------------\n\nTo build LSQUIC, you need CMake, zlib, and BoringSSL.  The example program\nuses libevent to provide the event loop.\n\nBuilding BoringSSL\n------------------\n\nBoringSSL is not packaged; you have to build it yourself.  The process is\nstraightforward.  You will need `go` installed.\n\n1. Clone BoringSSL by issuing the following command:\n\n```\ngit clone https://boringssl.googlesource.com/boringssl\ncd boringssl\n```\n\nYou may need to install pre-requisites like zlib and libevent.\n\n2. Use specific BoringSSL version\n\n```\ngit checkout 9fc1c33e9c21439ce5f87855a6591a9324e569fd\n```\nOr, just try the latest master branch.\n\n3. Compile the library\n\n```\ncmake . \u0026\u0026  make\n```\n\nRemember where BoringSSL sources are:\n```\nBORINGSSL=$PWD\n```\n\nIf you want to turn on optimizations, do\n\n```\ncmake -DCMAKE_BUILD_TYPE=Release . \u0026\u0026 make\n```\n\nIf you want to build as a library, (necessary to build lsquic itself\nas as shared library) do:\n\n```\ncmake -DBUILD_SHARED_LIBS=1 . \u0026\u0026 make\n```\n\nBuilding LSQUIC Library\n-----------------------\n\nLSQUIC's `http_client`, `http_server`, and the tests link BoringSSL\nlibraries statically.  Following previous section, you can build LSQUIC\nas follows:\n\n1. Get the source code\n\n```\ngit clone https://github.com/litespeedtech/lsquic.git\ncd lsquic\ngit submodule update --init\n```\n\n2. Compile the library\n\nStatically:\n\n\n```\n# $BORINGSSL is the top-level BoringSSL directory from the previous step\ncmake -DLIBSSL_DIR=$BORINGSSL .\nmake\n```\n\nAs a dynamic library:\n\n```\ncmake -DLSQUIC_SHARED_LIB=1 -DLIBSSL_DIR=$BORINGSSL .\nmake\n```\n\n\n3. Run tests\n\n```\nmake test\n```\n\nBuilding with Docker\n---------\nThe library and the example client and server can be built with Docker.\n\nInitialize Git submodules:\n```\ncd lsquic\ngit submodule update --init\n```\n\nBuild the Docker image:\n```\ndocker build -t lsquic .\n```\n\nThen you can use the examples from the command line.  For example:\n```\nsudo docker run -it --rm lsquic http_client -s www.google.com  -p / -o version=h3\nsudo docker run -p 12345:12345/udp -v /path/to/certs:/mnt/certs -it --rm lsquic http_server -c www.example.com,/mnt/certs/chain,/mnt/certs/key\n```\n\nPlatforms\n---------\n\nThe library has been tested on the following platforms:\n- Linux\n  - i386\n  - x86_64\n  - ARM (Raspberry Pi 3)\n- FreeBSD\n  - i386\n- MacOS\n  - x86_64\n- iOS\n  - ARM\n- Android\n  - ARM\n- Windows\n  - x86_64\n\nGet Involved\n------------\n\nDo not hesitate to report bugs back to us.  Even better, send us fixes\nand improvements!\n\nHave fun,\n\nLiteSpeed QUIC Team.\n\nCopyright (c) 2017 - 2026 LiteSpeed Technologies Inc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flsquic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitespeedtech%2Flsquic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flsquic/lists"}