[vlc-commits] UPNP: Allow SOAP responses of arbitrary size.

Konstantin Pavlov git at videolan.org
Thu Jul 14 09:46:23 CEST 2011


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Mon Jul  4 10:00:34 2011 +0400| [2c1c5a511eafe90752a570349fc855f95bae8410] | committer: Konstantin Pavlov

UPNP: Allow SOAP responses of arbitrary size.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c1c5a511eafe90752a570349fc855f95bae8410
---

 modules/services_discovery/upnp.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index afdc9c8..3a9b174 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -136,7 +136,7 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-    i_res = UpnpSetMaxContentLength( 262144 );
+    i_res = UpnpSetMaxContentLength( 0 );
     if( i_res != UPNP_E_SUCCESS )
     {
         msg_Err( p_sd, "Failed to set maximum content length: %s", UpnpGetErrorMessage( i_res ) );



More information about the vlc-commits mailing list