Giter Club home page Giter Club logo

http3's Introduction

关于

本工程是兴趣使然,试验HTTP3协议各种特性,依赖quictls, ngtcp2, nghttp3, 目前实现了HTTP3客户端,目前忙于找工作,暂时没有时间整服务端,服务端可以使用各种支持HTTP3协议的web站点或者自己编译最新的nginx。后面可能集成到mujs的运行时环境。目前已实现的特性包括:

  1. 支持 SSLKEYLOGFILE 环境变量输出密钥文件用于比如wireshark调试, 设置后生成 keylog.txt 文件
  2. 使用\k 命令手动 Key Update
  3. 使用 \c 命令模拟 Connection Migration
  4. 支持 Early Data, 会生成本地quic_transport_paramter.pem文件和quic_session.pem文件,前者保存QUIC协议相关参数,后者保存QUIC session相关参数。使用 --disable-early-data 禁止。
  5. HTTP3 request and response(Of Course).
  6. 支持证书校验,打印证书链

编译运行

  1. 编译依赖库 quictls, ngtcp2, nghttp3

可以参考curl库的编译页面 https://curl.se/docs/http3.html
一些问题可以参考我整理的博客 https://juejin.cn/column/7367753873892737043

  1. 编译&&运行client

直接运行make http3就行, 详情见Makefile, 注意里面依赖库编译参数

http3's People

Contributors

shouhua avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.