packagist dereuromark/cakephp-tools 3.12.5

latest release: 3.12.6
13 hours ago

Fixes

  • Add timeout to urlExists() cURL request (#315)

    • CURLOPT_TIMEOUT (5s) - total request timeout
    • CURLOPT_CONNECTTIMEOUT (3s) - connection timeout
    • CURLOPT_FOLLOWLOCATION with MAXREDIRS (3) - follow redirects
    • curl_close() - properly clean up handle
  • Add timeout to remaining HTTP requests (#316)

    • Utility::urlExists() fallback: 5s stream context timeout
    • Utility::getHeaderFromUrl(): 5s timeout
    • Mime::getMimeTypeByUrl(): 5s timeout
    • Message::_readFile(): 10s timeout

This prevents requests from hanging indefinitely when servers don't respond.

Full Changelog: 3.12.4...3.12.5

Don't miss a new cakephp-tools release

NewReleases is sending notifications on new releases.