When the http socket connection fails, there is no mechanism to recover from that situation and gateway stays in infinite loop. This patch adds timeout for connection so a retry can be done. This fixes gateway freezes with less reliable connectivity.
When the http socket connection fails, there is no mechanism to recover from that situation and gateway stays in infinite loop. This patch adds timeout for connection so a retry can be done. This fixes gateway freezes with less reliable connectivity.