debug
This commit is contained in:
parent
d0f7121fb1
commit
82e5eff39a
|
@ -49,6 +49,7 @@ func main() {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
go func(c net.Conn) {
|
go func(c net.Conn) {
|
||||||
|
log.Printf("Get connection: %#v\n", c)
|
||||||
io.Copy(os.Stdout, c)
|
io.Copy(os.Stdout, c)
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
c.Close()
|
c.Close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user