Sina-Ghaderi / goshkan

Transparent TLS and HTTP proxy serve and operate on all 65535 ports, with domain regex whitelist and rest api control
https://blog.snix.ir/posts/goshkan-proxy-server
GNU General Public License v2.0
62 stars 2 forks source link

non-http connection stuck on http proxy #1

Closed Sina-Ghaderi closed 3 years ago

Sina-Ghaderi commented 3 years ago

non-http connection stuck on http proxy, http handle conn function never get released, bcz nothing ever sends on notify channel, bcz connection is not http and setHostName() never runs.

TODO: FIX THIS

Sina-Ghaderi commented 3 years ago

fixed. commit: https://github.com/Sina-Ghaderi/goshkan/commit/afb841756fdbb486456920e4d3f46b6e7168d701#commitcomment-60264681