Module: sip-router
Branch: master
Commit: c16594981087248996381e132e637504a0cac8ef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c165949…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Aug 30 10:40:33 2010 +0200
xhttp: don't set version to http/1.0
- allow http/1.1 in replies
---
modules/xhttp/xhttp_mod.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/xhttp/xhttp_mod.c b/modules/xhttp/xhttp_mod.c
index 39c168d..48ea2be 100644
--- a/modules/xhttp/xhttp_mod.c
+++ b/modules/xhttp/xhttp_mod.c
@@ -292,8 +292,6 @@ static int xhttp_handler(sip_msg_t* msg)
return NONSIP_MSG_PASS;
}
- /* we support HTTP/1.0 - fix it for replies */
- msg->first_line.u.request.version.s[HTTP_VERSION_LEN] = '0';
if(xhttp_url_match!=NULL)
{
c = msg->first_line.u.request.uri.s[msg->first_line.u.request.uri.len];