reverse proxy sample, net.TcpConn.read() is blocking, where am i wrong? #21428
Unanswered
vcker
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI, i am write a reverse proxy, but i found the read is blocking after original socket finished write, where am i wrong?
net.TcpConn.read()
is blocking until timeout, why do return-1
when read finished?net.TcpConn.read_all()
, it has same proplemso, where am i whrong?
this is a golang reverse proxy
https://github.com/jpillora/go-tcp-proxy/blob/master/proxy.go
Beta Was this translation helpful? Give feedback.
All reactions