request.Write: return error from Flush
This commit is contained in:
parent
a80aae44a9
commit
6928a1efef
@ -118,5 +118,5 @@ func (r *Request) Write(w *bufio.Writer) error {
|
||||
if _, err := w.Write(crlf); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return w.Flush()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user