This commit is contained in:
parent
38f88c2c17
commit
5c549a56c5
|
@ -176,7 +176,7 @@ func BuildHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
line, err := outReader.ReadString('\n')
|
line, err := outReader.ReadString('\n')
|
||||||
if io.EOF == err {
|
if io.EOF == err || os.ErrClosed == err {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue