/patch

Something could be public patches

MIT LicenseMIT

Patches

Nginx

nginx.patch

  • Add HTTP2 HPACK Encoding Support.
  • Add Dynamic TLS Record Support.

Test pass: 1.21.6

nginx_with_quic.patch

  • Add HTTP3(QUIC) Support.
    • For OCSP stapling, maybe you need this.
  • Add HTTP2 HPACK Encoding Support.
  • Add Dynamic TLS Record Support.

Require: Nginx 1.21.4 or later.

Test pass: 1.21.4 with cloudflare/quiche@af67891

nginx_with_quic_for_1.19.7_full.patch (Discontinued)

  • Add HTTP3(QUIC) Support.
    • For OCSP stapling, maybe you need this.
  • Add HTTP2 HPACK Encoding Support.
  • Add Dynamic TLS Record Support.

Require: Nginx 1.19.7 or later(below 1.21.4).

Test pass: 1.21.3 with cloudflare/quiche@af1bbc0

nginx_with_quic_for_1.19.6.patch is required to support Nginx versions lower than 1.19.7, cause post_accept_timeout had been removed by Nginx since 1.19.7.

nginx_with_quic_for_1.19.6.patch (Discontinued)

  • Revert nginx_with_quic.patch to support Nginx versions lower than 1.19.7.
  • Patch nginx_with_quic.patch first, then patch this one.

Test pass: 1.19.6 with nginx_with_quic.patch@ec8cac4 & cloudflare/quiche@fca5e9a

use_openssl_md5_sha1.patch

  • Use the OpenSSL library instead of the Nginx original function.
  • Repack it because "patch unexpectedly ends in middle of line".

Test pass: 1.21.6

Enable_BoringSSL_OCSP.patch

  • For BoringSSL support OCSP stapling.
    • Using "ssl_stapling_file" to support.
    • Only "ssl_stapling_file" with single cert is supported.
    • Auto-rebuild OCSP stapling file with shell and atd(at cron), you can read this article(Maybe you need a translation tool).
    • Thanks @CarterLi.

Test pass: 1.21.4

nginx_with_spdy.patch (Deprecated)

  • Add SPDY Support.
  • Add HTTP2 HPACK Encoding Support.
  • Add Dynamic TLS Record Support.

Test pass: 1.17.9

nginx_with_spdy_quic.patch (Deprecated)

  • Add SPDY Support.
  • Add HTTP3(QUIC) Support.
  • Add HTTP2 HPACK Encoding Support.
  • Add Dynamic TLS Record Support.

Test pass: 1.17.9 with cloudflare/quiche@9a8b3b

Other

openssl-1.1.1.patch

  • Add TLS 1.3 Support.
  • Add BoringSSL's Equal Preference Support.
  • Add ChaCha20-Poly1305 Draft Version Support.

Test pass: 1.1.1n

ffmpeg-let-rtmp-flv-support-hevc-h265-opus.patch

  • FLV/RTMP Extensions For FFmpeg.
    • Add FLV Encode/Decode with H.265/HEVC & OPUS Codec Support.
    • Add RTMP Stream Push with H.265/HEVC & OPUS Codec Support.
    • Thanks @xia-chu.

Test pass: 4.3.1

dropbox_fs_fix.patch

  • For Dropbox Linux users. This patch could let official python script auto-load libdropbox_fs_fix.so library before start dropboxd.
    • Using Dropbox filesystem fix for Linux Repo and make libdropbox_fs_fix.so.
    • After compiled, copy libdropbox_fs_fix.so to $HOME/.dropbox-dist/libdropbox_fs_fix.so.
    • Download Dropbox official python script, put it with patch file together.
    • Patch, enjoy.

Test pass: 2019.02.14 version

Links

Nginx 1.19.4新特性推荐

让Nginx使用BoringSSL时支持OCSP Stapling

博客终止使用TLS 1.0和TLS 1.1协议

小试HTTP3

我的Nginx编译之旅

解决Dropbox Linux客户端因文件系统导致无法同步问题

kn007的个人博客