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:
parent
3de0765893
commit
cb89781a55
@ -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
1
THANKS
@ -48,6 +48,7 @@ exempt of errors.
|
||||
- Peter Hartley
|
||||
- Rene Hexel
|
||||
- Robert Gingher (robsbox)
|
||||
- Ronan Menard
|
||||
- Siva Chandran
|
||||
- Stéphane Corthésy
|
||||
- Steve Bresson
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user