Skip to content

Commit

Permalink
Use HTTP 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pzs committed Oct 24, 2020
1 parent 963b306 commit 23979a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NavOnlineInvoice/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private function getCurlHandle($url, $requestBody) {
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $requestBody);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

if ($this->config->curlTimeout) {
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
Expand Down

0 comments on commit 23979a1

Please sign in to comment.