Commit 466cdbbc authored by Mirsal Ennaime's avatar Mirsal Ennaime Committed by Jean-Baptiste Kempf

upnp: Use the default maximum content length of 16k.

Setting libupnp's maximum content length to zero makes it unable to
fetch any didl instead of the probably expected unlimited behavior.
(cherry picked from commit b00b016b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 52201454
...@@ -136,14 +136,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -136,14 +136,6 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
i_res = UpnpSetMaxContentLength( 0 );
if( i_res != UPNP_E_SUCCESS )
{
msg_Err( p_sd, "Failed to set maximum content length: %s", UpnpGetErrorMessage( i_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