2
0
Fork 0

Fix mod_proxy (missing \r\n after request line)

This commit is contained in:
Stefan Bühler 2010-02-08 17:00:44 +01:00
parent 6a5411c2f1
commit 33b89d8981
1 changed files with 2 additions and 2 deletions

View File

@ -169,11 +169,11 @@ static void proxy_send_headers(liVRequest *vr, proxy_connection *pcon) {
switch (vr->request.http_version) {
case LI_HTTP_VERSION_1_1:
g_string_append_len(head, CONST_STR_LEN(" HTTP/1.1"));
g_string_append_len(head, CONST_STR_LEN(" HTTP/1.1\r\n"));
break;
case LI_HTTP_VERSION_1_0:
default:
g_string_append_len(head, CONST_STR_LEN(" HTTP/1.0"));
g_string_append_len(head, CONST_STR_LEN(" HTTP/1.0\r\n"));
break;
}