[asterisk-bugs] [JIRA] (ASTERISK-30088) func_curl: Subsequent calls are failing, can't clear headers
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Tue May 31 11:56:49 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Harwell updated ASTERISK-30088:
-------------------------------------
Assignee: Luke Escude
Status: Waiting for Feedback (was: Triage)
> func_curl: Subsequent calls are failing, can't clear headers
> ------------------------------------------------------------
>
> Key: ASTERISK-30088
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30088
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Functions/func_curl
> Affects Versions: 16.26.0
> Environment: CentOS 7 x64
> Reporter: Luke Escude
> Assignee: Luke Escude
>
> I mentioned this in the asterisk mailing list, but figured other people are likely running into the same issue.
> When altering HTTP headers to make a CURL call, those changes persist throughout the channel's lifespan. Therefore, you need to be careful/conscious of what headers, settings (like timeout), etc. are being set, otherwise subsequent CURL calls can cause weird problems.
> So, I believe there needs to be a CURL_RESET() function that sets ALL curl parameters to "factory default".
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list