winshining / H3Client

A HTTP/3 client demo based on QUIC library msquic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A HTTP/3 client demo based on QUIC library msquic

Platforms

GNU/Linux

Interoperability

With nginx-quic.

Note

Build nginx-quic, please see README for details.

Prerequisites

  • QUIC library msquic.

  • cmake or PowerShell (See BUILD.md in docs directory in msquic).

  • g++ for compilation on GNU/Linux.

Build

Edit INC_DIR and LIB_DIR in Makefile according to your library directory and make.

Usage

Note

If library file libmsquic.so is not installed in the standard paths, /usr/lib for example, the environment variable LD_LIBRARY_PATH must be set (change path_to_your_library to your library directory), or program can not load the library:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path_to_your_library

In fact, libmsquic.so is a soft link to the real library file libmsquic.so.2, so make sure the real library file does exist and the soft link to it is correct.

Run

./H3Client[-h host -p port]

About

A HTTP/3 client demo based on QUIC library msquic.

License:MIT License


Languages

Language:C 99.7%Language:Makefile 0.3%