mirror of https://github.com/tidwall/tile38.git
write http response as three chunks
This commit is contained in:
parent
b73cc35749
commit
c68e60ed2f
|
@ -247,7 +247,11 @@ func (c *Controller) handleInputCommand(conn *server.Conn, msg *server.Message,
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
_, err = io.WriteString(w, res+"\r\n")
|
_, err = io.WriteString(w, res)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
_, err = io.WriteString(w, "\r\n")
|
||||||
return err
|
return err
|
||||||
case server.RESP:
|
case server.RESP:
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in New Issue