Merge branch '1.6' of https://github.com/ginuerzh/gost into 2.6

This commit is contained in:
ginuerzh 2018-08-04 18:09:34 +08:00
commit ca3853e8cb

View File

@ -25,6 +25,10 @@ func TCPRedirectHandler(opts ...HandlerOption) Handler {
return h return h
} }
func (h *tcpRedirectHandler) Init(options ...HandlerOption) {
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
}
func (h *tcpRedirectHandler) Handle(c net.Conn) { func (h *tcpRedirectHandler) Handle(c net.Conn) {
log.Log("[red-tcp] TCP redirect is not available on the Windows platform") log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
c.Close() c.Close()