Skip to content

Tags: elazarl/goproxy

Tags

v1.8.2

Toggle v1.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix NewResponse writing HTTP/0.0 status lines in MITM mode (#749)

* Set HTTP/1.1 proto version in NewResponse

NewResponse left ProtoMajor/ProtoMinor at zero, which produced
HTTP/0.0 status lines when written via resp.Write() in the MITM path
(introduced in #734). Clients like npm reset the connection on seeing
HTTP/0.0, causing repeated 'Cannot read request from mitm'd client'
errors.

Set Proto, ProtoMajor, and ProtoMinor to HTTP/1.1 so resp.Write()
emits a valid status line.

Fixes #745

* Fix linter issues

---------

Co-authored-by: Erik Pellizzon <erikpelli@tutamail.com>

v1.8.1

Toggle v1.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge HTTPMitmConnect and MitmConnect actions and use the correct one…

… based on the TLS handshake (#743)

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix linter configuration & issues (#735)

* Fix linter configuration

* Fix linter issues

* Fix additional linter issues

v1.7.2

Toggle v1.7.2's commit message
Revert "Add next protocols in default TLS configuration (#651)"

This reverts commit 0003d27.

v1.7.1

Toggle v1.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add next protocols in default TLS configuration (#651)

* Add next protocols in default TLS configuration

* Fix CI pipeline

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #637 from elazarl/websocket-direct

Handle Websocket using standard library

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix http request handling (#642)

* Avoid to call filterResponse twice for the same request

* Let the client close the connection when it specifies the Connection: close header

* Remove explicit set of Close to false, since it's unnecessary

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Cancel MITM request context when its handling finishes (#634)

* Cancel HTTP MITM request context when we have finished with the request processing

* Cancel HTTPS MITM request context when we have finished with the request processing

* Save most recent request in proxy context

v1.5.0

Toggle v1.5.0's commit message
Revert "Use same Subject of CA as the MITM certificate Subject"

This reverts commit 60626ae.

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove unused TLS option (#625)