From 3602b478b296dbf6395814f7e665ac6c69ca8176 Mon Sep 17 00:00:00 2001 From: Workoverflow Date: Mon, 18 Jun 2018 12:57:19 +0300 Subject: [PATCH 1/2] PHP version Maximum PHP version has been updated. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a02a534..fe4ce05 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "~5.6.0|~7.0.17", + "php": "~5.6.0|~7.1.20", "x59/horde-mime": "~2.9.5", "x59/horde-util": "~2.5.7", "pear-pear.php.net/Mail_mimeDecode": "~1.5.6" From f2ad859cd8c32d024cb8869a3fa97c5fdf6a4071 Mon Sep 17 00:00:00 2001 From: Workoverflow Date: Mon, 18 Jun 2018 13:10:37 +0300 Subject: [PATCH 2/2] Interface AS2_IP CURLOPT_INTERFACE has been added --- src/Client.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 3720916..6898ad5 100644 --- a/src/Client.php +++ b/src/Client.php @@ -48,6 +48,7 @@ public function sendRequest($request) { CURLOPT_URL => $request->getUrl(), CURLOPT_HEADER => false, CURLOPT_HTTPHEADER => $headers, + CURLOPT_INTERFACE => AS2_IP, CURLOPT_RETURNTRANSFER => true, CURLOPT_BINARYTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, @@ -80,4 +81,4 @@ public function sendRequest($request) { return $this; } -} \ No newline at end of file +}