Commit ab8e1532 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>
(cherry picked from commit 03cc7a2d)
parent 5236453b
...@@ -122,6 +122,14 @@ static int Open( vlc_object_t *p_this ) ...@@ -122,6 +122,14 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC; 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; 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