Case insensitive comparison in raw_find_str() (httpparser.c) as

suggested by Craig Nelson in SF Tracker [ 1689382 ] DLINK DIR-625 patch.


git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@158 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez
2007-04-19 13:05:33 +00:00
parent f8c4d81ee5
commit 948c959be5
5 changed files with 17 additions and 6 deletions

View File

@@ -231,10 +231,10 @@ http_RecvMessage( IN SOCKINFO * info,
"<<< (RECVD) <<<\n%s\n-----------------\n",
parser->msg.msg.buf );
//print_http_headers( &parser->msg );
)
)
if( parser->content_length >
( unsigned int )g_maxContentLength ) {
if( parser->content_length >
( unsigned int )g_maxContentLength ) {
*http_error_code = HTTP_REQ_ENTITY_TOO_LARGE;
return UPNP_E_OUTOF_BOUNDS;
}