Drupal_Apache_Solr_Service::_makeHttpRequest not setting timeout correctly. Always 30 seconds.

Created on 8 May 2012, about 12 years ago
Updated 4 April 2023, about 1 year ago

This is a followup to http://drupal.org/node/1567422

All http requests have a 30 second timeout. It never changes regardless of $timeout. My Optimize takes longer than that.

The problem seems to be in the use of drupal_http_request

If I'm reading it correctly, we need to pass in a $timeout parameter or we get the 30 second default which is exactly what I observe.

I'm not sure how relevant or useful it is to set default_socket_timeout. Maybe we need both since drupal_http_request is using low level socket functions.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States icosa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024