[sheepdog] [PATCH 4/9] http: usr CRLF for endline of http header
MORITA Kazutaka
morita.kazutaka at gmail.com
Thu Oct 31 08:49:02 CET 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
sheep/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sheep/http.c b/sheep/http.c
index e4c1657..9e5551e 100644
--- a/sheep/http.c
+++ b/sheep/http.c
@@ -174,7 +174,7 @@ static void http_response_header(struct http_request *req, int status)
return;
req->status = status;
- http_request_writef(req, "Status: %s\n", strstatus(status));
+ http_request_writef(req, "Status: %s\r\n", strstatus(status));
http_request_writes(req, "Content-type: text/plain;\r\n\r\n");
}
--
1.8.1.2
More information about the sheepdog
mailing list