• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pires / go-proxyproto
95%
main: 97%

Build:
Build:
LAST BUILD BRANCH: pires/feat/spec_3.4
DEFAULT BRANCH: main
Repo Added 26 Aug 2016 08:56PM UTC
Files 15
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH h2
branch: h2
CHANGE BRANCH
x
Reset
  • h2
  • 4in6
  • add-azure-support
  • add-trust-proxy-header-from
  • am/fix_read_deadline
  • bugfix/fix-godoc-default-text
  • bugfix/reset_conn_read_deadline_after_successful_header
  • bump-buf-size
  • client-cert
  • cm-fix-v1-tcp6-ipv4-addr
  • complete_pr36
  • conn-header
  • default-timeout
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/golang.org/x/net-0.55.0
  • doc/license
  • dynamic-buffer-size
  • error-prefix
  • feat
  • feat/go_1.24
  • feat/keep_listening_when_upstream_not_trusted
  • feature/bump_coveralls
  • feature/go_1.15
  • feature/issue-69
  • feature/issue-69-tests
  • feature/proxy_unknown
  • fix-test-len
  • fix-v1-command
  • fix/go_1.20_lint
  • fmt
  • gcp-tlv-parser
  • gofmt
  • h2-conn-context
  • h2-err-server-closed
  • header-addr
  • header-from-addrs
  • header-set-tlv
  • large-tlv
  • lax-parse-ssl-tlv
  • local-port-fix
  • main
  • marshal-pp2ssl
  • master
  • misconfigured-tls-integration-error
  • mmt/avoid_read_buffer
  • mmt/dont_use_read_buffer
  • multireader-buf-truncation
  • nil-panic-test
  • no-buffer
  • nuke-tlv-length
  • patch-1
  • peteski22/dont-error-listener-on-invalid-upstream
  • pires/auto_release
  • pires/examples/tls
  • pires/feat/bump_go
  • pires/feat/client_provided__buffer_size
  • pires/feat/dinamically_grow_header_buffer
  • pires/feat/go_1.26
  • pires/feat/linter_modernize
  • pires/feat/replace_policyfunc_with_connpolicyfunc
  • pires/feat/spec_3.4
  • pires/feat/wrap_errors
  • pires/fix/4in6
  • pires/fix/buffer_header_only
  • pires/fix/duplicated_ci_checks
  • pires/fix/emersion-h2-conn-context
  • pires/fix/http2_nil_connctx_panics
  • pires/fix/misc
  • pires/fix/readme
  • pires/fix/readme_coveralls_badge
  • pires/fix/respect_deadlines
  • pires/fix/test_local
  • pires/fix/tests_cleanup
  • pires/pr_2_rework
  • pr-to-pires-upstream
  • pr_4
  • prepare_release
  • proxy_handling_policy
  • rawmethod
  • read_header_timeout
  • readerfrom-writerto
  • refs/tags/0.1.0
  • refs/tags/0.1.1
  • refs/tags/0.1.2
  • refs/tags/0.2.0
  • refs/tags/0.3.0
  • refs/tags/v0.0.0-alpha
  • refs/tags/v0.1.3
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.3.2
  • refs/tags/v0.3.3
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2
  • refuse
  • skip-header
  • ssl-cipher
  • staticcheck
  • steven-tlvs
  • tests/dedupe-protocol-test
  • tino
  • tlv-unique-id
  • typed-constants
  • unexport-internal
  • unnecessary-limited-reader
  • unspec-zero-length
  • update-package-comment
  • v1-format-mismatch
  • v4mappedv6

10 Sep 2023 05:44AM UTC coverage: 95.017%. Remained the same
6135385234

Pull #102

github

emersion
Add an helper for proxied HTTP/2

The standard library's http.Server supports HTTP/2, but only for
tls.Conn. This doesn't work when serving connections behind a
reverse proxy which terminates TLS and uses the PROXY protocol.

Supporting this requires some glue code, which the new helper
provides.

The example was tested with tlstunnel.

Closes: https://github.com/pires/go-proxyproto/issues/90
Pull Request #102: Add an helper for proxied HTTP/2

858 of 903 relevant lines covered (95.02%)

52.29 hits per line

Relevant lines Covered
Build:
Build:
903 RELEVANT LINES 858 COVERED LINES
52.29 HITS PER LINE
Source Files on h2
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6135385234 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 10 Sep 2023 05:44AM UTC emersion github
95.02
5671187930 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 26 Jul 2023 04:15PM UTC emersion github pending completion  
5670897960 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 26 Jul 2023 03:45PM UTC emersion github pending completion  
5670872852 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 26 Jul 2023 03:43PM UTC emersion github pending completion  
5670853409 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 26 Jul 2023 03:41PM UTC emersion github pending completion  
5670726802 h2 Add an helper for proxied HTTP/2 The standard library's http.Server supports HTTP/2, but only for tls.Conn. This doesn't work when serving connections behind a reverse proxy which terminates TLS and uses the PROXY protocol. Supporting this requi... Pull #102 26 Jul 2023 03:29PM UTC emersion github pending completion  
See All Builds (410)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc