Browse Source

fix build in go-1.10.3 at win (#282)

pull/321/head
chenhw2 8 years ago
committed by ginuerzh
parent
commit
8df5012071
  1. 4
      redirect_win.go

4
redirect_win.go

@ -25,6 +25,10 @@ func TCPRedirectHandler(opts ...HandlerOption) Handler {
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) {
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
c.Close()

Loading…
Cancel
Save