vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Dec 16 
19:48:00 2015 +0200| [4b7e668f970cb05467313ff4600c994bbf8766b4] | committer: 
Rémi Denis-Courmont

http: remove no-op

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

 modules/access/http.c |   13 -------------
 1 file changed, 13 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 387dd3d..cd7d7df 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -653,19 +653,6 @@ static ssize_t Read( access_t *p_access, uint8_t 
*p_buffer, size_t i_len )
 
     if( i_read == 0 )
     {
-        /*
-         * I very much doubt that this will work.
-         * If i_read == 0, the connection *IS* dead, so the only
-         * sensible thing to do is Disconnect() and then retry.
-         * Otherwise, I got recv() completely wrong. -- Courmisch
-         */
-        if( p_sys->b_continuous )
-        {
-            Request( p_access, 0 );
-            p_sys->b_continuous = false;
-            i_read = Read( p_access, p_buffer, i_len );
-            p_sys->b_continuous = true;
-        }
         Disconnect( p_access );
         if( p_sys->b_reconnect )
         {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to