saucelabs/forwarder

martian: do not pass brw and conn as function parameters

Closed this issue · 0 comments

I suggest we add sth like

type proxyConn struct {
	*Proxy
	conn net.Conn
	brw  *bufio.ReadWriter
}

and define all functions that need a connection there.