Skip to content

hysern/proto-quic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.7%
  • Python 26.2%
  • HTML 3.8%
  • Java 1.9%
  • JavaScript 1.3%
  • Shell 0.6%
  • Other 1.5%