Documentation ¶
Index ¶
Constants ¶
View Source
const TCPMss = 1448
Variables ¶
View Source
var CRLF = []byte{'\r', '\n'}
Functions ¶
func ListenRequests ¶
func ListenRequests(hg *conf.Hg, handler transport.ConnectionContinuationHandler) error
Types ¶
type ClientHandler ¶
type ClientHandler struct {
// contains filtered or unexported fields
}
func NewTLSCarrierClient ¶
func NewTLSCarrierClient(proxyNode *conf.ProxyNode, tlsKeyLog bool) (*ClientHandler, error)
func (*ClientHandler) CreateConnection ¶
func (handler *ClientHandler) CreateConnection(accessAddr *transport.SocketAddress) (net.Conn, error)
func (*ClientHandler) ForwardConnection ¶
func (handler *ClientHandler) ForwardConnection(srcRWC io.ReadWriteCloser, accessAddr *transport.SocketAddress) error
Click to show internal directories.
Click to hide internal directories.