diff options
| author | Marin Ivanov <[email protected]> | 2020-02-16 04:41:10 +0200 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2020-02-16 04:41:10 +0200 |
| commit | 1a339a82fe6209e463029e433a254e6d237fa17c (patch) | |
| tree | 54ddfa393e6ff26fe4c1bc562a09420e036ffd58 | |
| parent | 84b10f1a0dcd52c67279aa63cd137654d2ecf05d (diff) | |
Fix typo, missing deferv0.1.4
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ func httpHandler(conn net.Conn, delay time.Duration) { eof := make(chan empty) go func() { - close(eof) + defer close(eof) io.Copy(ioutil.Discard, conn) }() |
