* Enhance error checking in some additional places as required by the latest UPnP CTT.

This commit is contained in:
Justin Maggard
2012-01-21 01:00:26 +00:00
parent cfe7fa9b88
commit 08172a4ed2
14 changed files with 231 additions and 132 deletions

View File

@ -71,6 +71,8 @@ struct upnphttp {
int req_soapActionLen;
const char * req_Callback; /* For SUBSCRIBE */
int req_CallbackLen;
const char * req_NT;
int req_NTLen;
int req_Timeout;
const char * req_SID; /* For UNSUBSCRIBE */
int req_SIDLen;
@ -92,9 +94,10 @@ struct upnphttp {
#define FLAG_SID 0x00000002
#define FLAG_RANGE 0x00000004
#define FLAG_HOST 0x00000008
#define FLAG_LANGUAGE 0x00000010
#define FLAG_INVALID_REQ 0x00000040
#define FLAG_HTML 0x00000080
#define FLAG_INVALID_REQ 0x00000010
#define FLAG_CHUNKED 0x00000100
#define FLAG_TIMESEEK 0x00000200