cmd/strelaysrv: Trivial cleanup in test utility (#8373)

This commit is contained in:
落心 2022-06-02 21:15:42 +08:00 committed by GitHub
parent 68aa00539e
commit 486bb2da0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,10 +127,6 @@ func stdinReader(c chan<- string) {
}
func connectToStdio(stdin <-chan string, conn net.Conn) {
go func() {
}()
buf := make([]byte, 1024)
for {
conn.SetReadDeadline(time.Now().Add(time.Millisecond))