Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pires/go-proxyproto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.0
Choose a base ref
...
head repository: pires/go-proxyproto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref
  • 17 commits
  • 13 files changed
  • 9 contributors

Commits on Sep 11, 2023

  1. 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: #90
    emersion authored and pires committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    d628850 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. build(deps): bump golang.org/x/net from 0.12.0 to 0.17.0

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
    - [Commits](golang/net@v0.12.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and pires committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    e5b291b View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
    - [Commits](golang/net@v0.17.0...v0.23.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and pires committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    8a2480a View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    587bf44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5e61e7 View commit details
    Browse the repository at this point in the history
  3. mark policy as deprecated and fix lint

    kmala authored and pires committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b718e7c View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. add SetReadHeaderTimeout

    wuzihui authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    21542e2 View commit details
    Browse the repository at this point in the history
  2. header.go prevent otherHeader.rawTLVs being nil

    If header.Version != otherHeader.Version then otherHeader.rawTLVs
    is not present.
    hilbix authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9814f02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cb649e View commit details
    Browse the repository at this point in the history
  4. chore(Conn): move Validate below ProxyHeaderPolicy

    This field order reflect usage pattern and avoids mixing exported and unexported fields.
    mmatczuk authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    424fc80 View commit details
    Browse the repository at this point in the history
  5. protocol: use smaller read buffer size

    mmatczuk authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9171270 View commit details
    Browse the repository at this point in the history
  6. protocol: avoid double buffering

    Use buffer only to read the PROXY header.
    Users may use they own buffers with they own buffer sizes and pools - connection should respect that.
    mmatczuk authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2df67b4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    05c6f18 View commit details
    Browse the repository at this point in the history
  8. ci: bump golangci-lint action

    pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    cd8a402 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e6823d9 View commit details
    Browse the repository at this point in the history
  10. add test and gofumpt linting

    peteski22 authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    627f8b3 View commit details
    Browse the repository at this point in the history
  11. update test to use channel

    peteski22 authored and pires committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    bac82fd View commit details
    Browse the repository at this point in the history
Loading