Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 5.11.0
-
Fix Version/s: 5.13.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
Some people had issues connecting to their DA server, so we modified the API file at /components/modules/direct_admin/apis/direct_admin_api.php to add this line:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
However, some people report that this doesn't work for them and they have to manually change it to:
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
Unless we can detect this on the fly, we should add a dropdown when adding or editing the DA server module row.
Type: Dropdown
Label: HTTP Version
Options: 1.0, 1.1
Default to 1.1.