Skip to content

Conversation

@DirtyHairy
Copy link
Contributor

This PR closes issue #130 . The regression was introduced in commit a2d7aec / PR #100 . As I cannot see any memory issues with the code replaced by #100 I just restored the old behaviour of closing both connections as soon as one of them terminates.

The issue of handling half-open connections mentioned by @leahneukirchen in said issue remains. Ideally, a FIN on connection A should only trigger a closeWrite connection B, and the proxy should keep relaying data from B to A until B is closed by the remote. However, this was not handled before #100 was merged either 😏

@whyvl whyvl merged commit 7bb1be2 into whyvl:master Jan 31, 2025
10 checks passed
@DirtyHairy
Copy link
Contributor Author

Yikes, that was fast 😏 Thank you (and also thank you for wireproxy)!

artem-russkikh added a commit to artem-russkikh/wireproxy-awg that referenced this pull request Jul 22, 2025
* Update README (whyvl#137)

* Fix broken sandboxing resulting in SIGABRT (whyvl#136)

* Fix HTTP proxy authentication to support both preemptive and challenge-response auth (whyvl#134)

* Bump golang.org/x/crypto from 0.21.0 to 0.31.0 (whyvl#146)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](golang/crypto@v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update README.md (whyvl#150)

Fixed curl example command to work well with sudo

* Fix PingRecord race condition (whyvl#149)

* docs: add syntax highlighting and Go install command (whyvl#158)

* docs: add syntax language for codeblocks

* docs: add install instructions for Go

* Make sure that closing one direction closes the other, too. (whyvl#159)

* Make sure that closing one direction closes the other, too.

* Pacify linter.

* Bump golang.org/x/net from 0.23.0 to 0.33.0 (whyvl#160)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](golang/net@v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add IPRoyal referral link

* Add hint to run Wireproxy as system daemon in rc.d-based system (whyvl#164)

* Add hint for rc.d service

* Update README.md

---------

Co-authored-by: root <root@prox1.example.com>

* fix: issue with omiting endpoint (whyvl#157)

fixes whyvl#156

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Niko <niko@niko.lgbt>
Co-authored-by: Luiz Henrique Gomes Palácio <lhpalacio@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yaroslav <yaroslaff@gmail.com>
Co-authored-by: Takanori Hirano <me@hrntknr.net>
Co-authored-by: Lars Gerber <75072836+larsgerber@users.noreply.github.com>
Co-authored-by: Christian Speckner <christian.speckner@mayflower.de>
Co-authored-by: pufferffish <me@windtfw.com>
Co-authored-by: lexandr0s <lexandr0s@users.noreply.github.com>
Co-authored-by: root <root@prox1.example.com>
Co-authored-by: Emilien Devos <121870973+edevosc2c@users.noreply.github.com>
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.

2 participants