upnpsoap: Return truncated results on full buffer
If our response buffer fills up to the max buffer size on a UPnP Browse request, we should return short results rather than erroring out. Fixes: #314 (Cannot browse MiniDLNA 1.2.1 with VLC 2.2.6 (UPnPError 709: Unsupported or invalid sort criteria))
This commit is contained in:
committed by
Justin Maggard
parent
ca6dbba183
commit
8f14d7223d
@@ -40,7 +40,8 @@
|
||||
#define FLAG_SKIP_DLNA_PN 0x00002000 /* during browsing */
|
||||
#define FLAG_CONVERT_MS 0x00004000 /* convert ms to s */
|
||||
/* Response-related flags */
|
||||
#define FLAG_HAS_CAPTIONS 0x80000000
|
||||
#define FLAG_HAS_CAPTIONS 0x10000000
|
||||
#define RESPONSE_TRUNCATED 0x80000000
|
||||
#define RESPONSE_FLAGS 0xF0000000
|
||||
|
||||
enum match_types {
|
||||
|
||||
Reference in New Issue
Block a user