فهرست منبع

xhttp: don't set version to http/1.0

- allow http/1.1 in replies
Daniel-Constantin Mierla 15 سال پیش
والد
کامیت
c165949810
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  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];