Aktive-Merchant icon indicating copy to clipboard operation
Aktive-Merchant copied to clipboard

[Fixes #76] Override previous request options in concurrent issues.

Open NikosRig opened this issue 3 years ago • 1 comments

NikosRig avatar Jan 12 '22 21:01 NikosRig

Maybe we should reset $this->options here https://github.com/akDeveloper/Aktive-Merchant/blob/master/lib/AktiveMerchant/Http/Adapter/cUrl.php#L95, after a request is completed. ex. $this->options = array().

Then, the getOptions() method should always return an empty array after a request is completed... I don't know if this is ok or breaks any backward compatibility.

akDeveloper avatar Apr 25 '22 10:04 akDeveloper