Skip to content

Comments

Bump github.com/elazarl/goproxy to v1.7.2#45

Open
JamieMagee wants to merge 1 commit intomainfrom
jamiemagee/upgrade-goproxy-1.7.2
Open

Bump github.com/elazarl/goproxy to v1.7.2#45
JamieMagee wants to merge 1 commit intomainfrom
jamiemagee/upgrade-goproxy-1.7.2

Conversation

@JamieMagee
Copy link
Member

@JamieMagee JamieMagee commented Feb 10, 2026

Upgrades github.com/elazarl/goproxy from v0.0.0-20240726154733-8b0c20506380 to v1.7.2.

The Dependabot PR in #14 tries to go straight to v1.8.1, but that version has a build failure (see elazarl/goproxy#745). The fix landed upstream in elazarl/goproxy#749 but hasn't been released yet.

v1.7.2 is the latest version that works.

Copilot AI review requested due to automatic review settings February 10, 2026 23:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the vendored MITM proxy dependency github.com/elazarl/goproxy to v1.7.2, aligning the repo with the latest known-good upstream release (avoiding the unreleased build break mentioned in #14) and refreshing vendor/ accordingly.

Changes:

  • Bump github.com/elazarl/goproxy from the previous pseudo-version to v1.7.2 in go.mod / go.sum.
  • Refresh vendored sources and vendor/modules.txt to match v1.7.2 (including new internal packages like internal/http1parser and internal/signer).
  • Upstream vendored changes include refactors in HTTP/HTTPS handling and WebSocket handling, plus various internal cleanups.

Reviewed changes

Copilot reviewed 1 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates the required goproxy module version to v1.7.2.
go.sum Updates module checksums for the new goproxy version.
vendor/modules.txt Updates vendored module metadata and adds new internal goproxy packages.
vendor/github.com/elazarl/goproxy/actions.go Vendored upstream comment/style adjustments.
vendor/github.com/elazarl/goproxy/certs.go Vendored upstream CA initialization changes (loads keypair in init).
vendor/github.com/elazarl/goproxy/chunked.go Vendored upstream error-handling cleanup in chunk writer.
vendor/github.com/elazarl/goproxy/ctx.go Vendored upstream context/logging tweaks and charset parsing refactor.
vendor/github.com/elazarl/goproxy/dispatcher.go Vendored upstream request/response condition helper updates (host/path matching behavior changes).
vendor/github.com/elazarl/goproxy/doc.go Vendored upstream documentation formatting updates.
vendor/github.com/elazarl/goproxy/h2.go Vendored upstream HTTP/2 proxy robustness improvements (type-assert safety).
vendor/github.com/elazarl/goproxy/http.go New vendored upstream HTTP request handling split out of proxy.go.
vendor/github.com/elazarl/goproxy/https.go Vendored upstream HTTPS/MITM refactor, new parser/signer usage, and connection handling changes.
vendor/github.com/elazarl/goproxy/internal/http1parser/header.go New vendored helper for extracting original header casing in HTTP/1.
vendor/github.com/elazarl/goproxy/internal/http1parser/request.go New vendored HTTP/1 request reader supporting optional header canonicalization prevention.
vendor/github.com/elazarl/goproxy/internal/signer/counterecryptor.go Vendored upstream move of signer RNG utilities into an internal package with ED25519 support.
vendor/github.com/elazarl/goproxy/internal/signer/signer.go New vendored internal signer implementation used by TLS MITM.
vendor/github.com/elazarl/goproxy/logger.go Vendored upstream signature change to use any.
vendor/github.com/elazarl/goproxy/proxy.go Vendored upstream ServeHTTP refactor and header-copying behavior changes.
vendor/github.com/elazarl/goproxy/README.md Vendored upstream README expansion/updates.
vendor/github.com/elazarl/goproxy/responses.go Vendored upstream replacement of deprecated ioutil usage with io.
vendor/github.com/elazarl/goproxy/signer.go Vendored upstream removal (signer moved under internal/signer).
vendor/github.com/elazarl/goproxy/websocket.go Vendored upstream WebSocket handling refactor (connection hijacking + proxying changes).
vendor/github.com/elazarl/goproxy/.golangci.yml Vendored upstream linter configuration file added.

Bumps github.com/elazarl/goproxy to v1.7.2, the first proper
tagged release. No breaking API changes, so no code modifications
were needed. All tests pass with -race -count=2.
@JamieMagee JamieMagee force-pushed the jamiemagee/upgrade-goproxy-1.7.2 branch from f14c5a8 to 00954ce Compare February 11, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant