Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d6a1ace
)
hsa: http server: fix http response format type error
52/30452/3
author
jiangxiaoming
<jiangxiaoming@outlook.com>
Thu, 17 Dec 2020 02:01:43 +0000
(10:01 +0800)
committer
xm j
<jiangxiaoming@outlook.com>
Thu, 17 Dec 2020 02:26:02 +0000
(
02:26
+0000)
Type: fix
Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com>
Change-Id: I15e43ded1ccd1b06a5ce1822a260fd2dd7edf95f
src/plugins/hs_apps/http_server.c
patch
|
blob
|
history
diff --git
a/src/plugins/hs_apps/http_server.c
b/src/plugins/hs_apps/http_server.c
index
b0e31b9
..
a93261f
100644
(file)
--- a/
src/plugins/hs_apps/http_server.c
+++ b/
src/plugins/hs_apps/http_server.c
@@
-238,7
+238,7
@@
static const char *http_response =
"Expires: Mon, 11 Jan 1970 10:10:10 GMT\r\n"
"Connection: close \r\n"
"Pragma: no-cache\r\n"
- "Content-Length: %d\r\n\r\n%
s
";
+ "Content-Length: %d\r\n\r\n%
v
";
static const char *http_error_template =
"HTTP/1.1 %s\r\n"