bigbluebutton-api-php icon indicating copy to clipboard operation
bigbluebutton-api-php copied to clipboard

Set curl CURLOPT_TIMEOUT to prevent processes being stuck after connecting to server

Open FelixJacobi opened this issue 5 years ago • 0 comments

We encountered the situation that the HTTP connection was initially established but the cron script using the library hangs afterwards for an infinity time (something was wrong on TCP level). Debugging the issue showed something was wrong with the network link between both machines (fault on side of the ISP). This change adds a reliable timeout for the whole request process in cURL to prevent the library from hanging forever in future if such situation occurs.

FelixJacobi avatar Aug 01 '20 23:08 FelixJacobi