mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 04:32:05 -07:00
Terminate simple server success response with double CRLF (#3542)
The simple success case had only the status line plus a single CRLF, and pedantic HTTP client implementations (`hyper`) stumbled over this. A double CRLF makes it OK. Fixes #3541.
This commit is contained in:
@@ -218,7 +218,7 @@ func (server *httpServer) handleHttpRequest(conn net.Conn) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server.actionChannel <- actions
|
server.actionChannel <- actions
|
||||||
return httpOk
|
return httpOk + crlf
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseGetParams(query string) getParams {
|
func parseGetParams(query string) getParams {
|
||||||
|
Reference in New Issue
Block a user