Spent way too long debugging why a third-party webhook integration kept hanging our PHP-FPM workers until they hit max_execution_time. Turns out CURLOPT_CONNECTTIMEOUT only caps the handshake, so without CURLOPT_TIMEOUT set as well, a stalled response stream holds the worker open indefinitely.
commit de2ddf4