upnphttp.c: Added Ext: header to HTTP responses to conform to UDA

This commit is contained in:
Thomas Bernard 2013-02-07 11:26:48 +01:00
parent 6ca8ee1dcf
commit ac1d36d872
2 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,10 @@
$Id: Changelog.txt,v 1.328 2013/02/06 23:37:27 nanard Exp $
$Id: Changelog.txt,v 1.329 2013/02/07 10:21:34 nanard Exp $
2013/02/07:
Add DATE: header in SSDP packets
Fix SSDP packets sent with uuid as ST: header to conform to UDA
ignore SSDP packets missing the MX: header in UPNP_STRICT mode
Added Ext: header to HTTP responses to conform to UDA
VERSION 1.8 : released on 2013/02/06

View File

@ -1,4 +1,4 @@
/* $Id: upnphttp.c,v 1.85 2013/01/29 21:52:43 nanard Exp $ */
/* $Id: upnphttp.c,v 1.86 2013/02/07 10:26:07 nanard Exp $ */
/* Project : miniupnp
* Website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* Author : Thomas Bernard
@ -773,6 +773,7 @@ static const char httpresphead[] =
"Connection: close\r\n"
"Content-Length: %d\r\n"
"Server: " MINIUPNPD_SERVER_STRING "\r\n"
"Ext:\r\n"
; /*"\r\n";*/
/*
"<?xml version=\"1.0\"?>\n"