1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-05 16:55:27 -05:00

handle close wait

This commit is contained in:
Darien Raymond
2017-01-28 22:31:21 +01:00
parent fab20bb0cf
commit c09ca41161
9 changed files with 13 additions and 15 deletions

View File

@@ -177,7 +177,7 @@ func (s *Server) handleConnection(ctx context.Context, conn internet.Connection)
return err
}
if err := buf.PipeUntilEOF(ray.InboundOutput(), responseWriter); err != nil {
if err := buf.Pipe(ray.InboundOutput(), responseWriter); err != nil {
log.Info("Shadowsocks|Server: Failed to transport all TCP response: ", err)
return err
}