client: allow to call client.Close() always

This commit is contained in:
aler9
2021-05-10 17:18:41 +02:00
parent 034eee1c8a
commit f8ef945dae
8 changed files with 1019 additions and 745 deletions

View File

@@ -45,10 +45,6 @@ type Request struct {
// optional body
Body []byte
// whether to wait for a response or not
// used only by ClientConn.Do()
SkipResponse bool
}
// Read reads a request.