Commit b508c8c9 authored by Laurent Aimar's avatar Laurent Aimar

Do not reconnect (http) when we are asked to die.

parent d632dbed
...@@ -799,7 +799,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len ) ...@@ -799,7 +799,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
p_sys->b_continuous = true; p_sys->b_continuous = true;
} }
Disconnect( p_access ); Disconnect( p_access );
if( p_sys->b_reconnect ) if( p_sys->b_reconnect && vlc_object_alive( p_access ) )
{ {
msg_Dbg( p_access, "got disconnected, trying to reconnect" ); msg_Dbg( p_access, "got disconnected, trying to reconnect" );
if( Connect( p_access, p_access->info.i_pos ) ) if( Connect( p_access, p_access->info.i_pos ) )
......
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