diff --git a/ChangeLog b/ChangeLog index ea582fa..4bd3a41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ Version 1.6.16 ******************************************************************************* +2012-02-23 Marcelo Roberto Jimenez + + Revert cb89781a55466703763c1b0ee67094eb401ddfe9 as suggested by + Fabrice Fontaine. + 2012-02-07 Edwin Stearns Attached is a patch that resolved an issue I found with a server that diff --git a/upnp/src/genlib/net/http/httpparser.c b/upnp/src/genlib/net/http/httpparser.c index 5a193cc..ccfaa59 100644 --- a/upnp/src/genlib/net/http/httpparser.c +++ b/upnp/src/genlib/net/http/httpparser.c @@ -1378,10 +1378,9 @@ parse_status_t parser_parse_responseline(INOUT http_parser_t *parser) &hmsg->major_version, &hmsg->minor_version, &hmsg->status_code); line.buf[line.length] = save_char; /* restore */ - if (num_scanned != 3 || hmsg->major_version < 0 || - /* HTTP version equals to 1.0 should fail as required by the - * UPnP certification tool */ - hmsg->minor_version < 1 || hmsg->status_code < 0) + if (num_scanned != 3 || + hmsg->major_version < 0 || hmsg->minor_version < 0 || + hmsg->status_code < 0) /* bad response line */ return PARSE_FAILURE; /* point to status msg */