Commit 03cc7a2d authored by Konstanty Bialkowski's avatar Konstanty Bialkowski Committed by Rémi Denis-Courmont

Increase maximum allowed upnp response size.

(Containers with >10 entries will no longer be ignored.)
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent c3115212
......@@ -122,6 +122,14 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC;
}
res = UpnpSetMaxContentLength( 262144 );
if( res != UPNP_E_SUCCESS )
{
msg_Err( p_sd, "%s", UpnpGetErrorMessage( res ) );
Close( (vlc_object_t*) p_sd );
return VLC_EGENERIC;
}
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment