Clone this repo:
  1. b784c94 Updating to 59.0.3048.0 (#42) by Ryan Hamilton · 24 hours ago master
  2. 7d99732 Updating to 59.0.3043.0 (#41) by janaiyengar · 7 days ago
  3. b25a794 Updating to 59.0.3038.0 (#40) by Jo Kulik · 12 days ago
  4. 5fbdf47 Updating to 59.0.3032.0 (#39) by ianswett · 2 weeks ago
  5. b212dd1 Updating to 58.0.3015.0 (#37) by Michael Warres · 5 weeks ago

proto-quic

proto-quic is intended as a standalone library for QUIC.

It contains the subset of Chromium code and dependencies required for QUIC so folks can use the Chromium code without depending on all of Chromium. It is intended to be a cross-platform library, but will only support the set (or a strict subset) of platforms which Chromium already supports.

This is not an officially supported Google product. It‘s being kept up to date (on a theoretical weekly basis) as a best-effort side-project by some of the current QUIC developers. Worst case, should Google’s priorities change about supporting a standalone QUIC library, it's all open source and any interested community can just clone the repo and continue updates on their own.

Currently, the only supported platform is Linux (and the only tested version is Google's Ubuntu clone) but Windows and iOS should be coming soon.

Building on Linux

  1. Clone this repository:

    git clone https://github.com/google/proto-quic.git
    cd proto-quic
    export PROTO_QUIC_ROOT=`pwd`/src
    export PATH=$PATH:`pwd`/depot_tools
    ./proto_quic_tools/sync.sh
    
  2. If you're building for the first time, install dependencies:

    ./src/build/install-build-deps.sh
    
  3. Build the QUIC client, server, and tests:

    cd src
    gn gen out/Default && ninja -C out/Default quic_client quic_server net_unittests
    

From then on you can follow the usual Chromium instructions for playing with the toy client and server:

https://www.chromium.org/quic/playing-with-quic