HTTP version equal to 1.0 should failed as required by the UPnP

certification tool. Patch submitted by Ronan Menard.


git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@558 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez 2010-08-19 13:27:50 +00:00
parent 3de0765893
commit cb89781a55
3 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,10 @@
Version 1.6.7
*******************************************************************************
2010-08-19 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
* HTTP version equal to 1.0 should failed as required by the UPnP
certification tool. Patch submitted by Ronan Menard.
2010-06-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
SF Bug Tracker [ 3022490 ] String declaration fix for patch applied in 3007407
Hello,

1
THANKS
View File

@ -48,6 +48,7 @@ exempt of errors.
- Peter Hartley
- Rene Hexel
- Robert Gingher (robsbox)
- Ronan Menard
- Siva Chandran
- Stéphane Corthésy
- Steve Bresson

View File

@ -1545,7 +1545,9 @@ parser_parse_responseline( INOUT http_parser_t * parser )
if( num_scanned != 3 ||
hmsg->major_version < 0 ||
hmsg->minor_version < 0 || hmsg->status_code < 0 ) {
/* HTTP version equals to 1.0 should fail as required by the
* UPnP certification tool */
hmsg->minor_version < 1 || hmsg->status_code < 0 ) {
// bad response line
return PARSE_FAILURE;
}