Browse Source

xhttp: don't set version to http/1.0

- allow http/1.1 in replies
Daniel-Constantin Mierla 15 years ago
parent
commit
c165949810
1 changed files with 0 additions and 2 deletions
  1. 0 2
      modules/xhttp/xhttp_mod.c

+ 0 - 2
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];