This commit is contained in:
Liang Ding 2019-05-24 08:41:34 +08:00
parent 38f88c2c17
commit 5c549a56c5
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ func BuildHandler(w http.ResponseWriter, r *http.Request) {
}
line, err := outReader.ReadString('\n')
if io.EOF == err {
if io.EOF == err || os.ErrClosed == err {
break
}