You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a way to set arbitrary CURL options, or at least all timeout settings.
When trying to load large objects, the request may time out.
To work around this, you can set the timeout for the entire request to a few minutes maybe.
However this may cause your downloads to wait for a very long time if there are connection issues, because CURL defaults to very high timeout values e.g. for the connect phase (5 minutes), which you may not want.
Looking at the source of ObjectStorage_Http_Adapter_Curl, it seems that there are only a few hard-coded CURL options that can be set at all.
Rather than hard-code yet another option, I think it would be better to just provide a generic way to set any CURL option, e.g. via an array curloptions in the $options argument to the ObjectStorage constructor.
The text was updated successfully, but these errors were encountered:
Please provide a way to set arbitrary CURL options, or at least all timeout settings.
When trying to load large objects, the request may time out.
To work around this, you can set the timeout for the entire request to a few minutes maybe.
However this may cause your downloads to wait for a very long time if there are connection issues, because CURL defaults to very high timeout values e.g. for the connect phase (5 minutes), which you may not want.
Looking at the source of ObjectStorage_Http_Adapter_Curl, it seems that there are only a few hard-coded CURL options that can be set at all.
Rather than hard-code yet another option, I think it would be better to just provide a generic way to set any CURL option, e.g. via an array
curloptions
in the$options
argument to theObjectStorage
constructor.The text was updated successfully, but these errors were encountered: