[
https://issues.apache.org/jira/browse/HAWQ-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goden Yao updated HAWQ-972:
---------------------------
Fix Version/s: backlog
> Curl upload field should be set before sending request
> ------------------------------------------------------
>
> Key: HAWQ-972
> URL: https://issues.apache.org/jira/browse/HAWQ-972
> Project: Apache HAWQ
> Issue Type: Bug
> Components: External Tables, PXF
> Reporter: Kavinder Dhaliwal
> Assignee: Kavinder Dhaliwal
> Fix For: backlog
>
>
> HAWQ-932 refactored out common code from curl_init_upload and
> curl_init_download into curl_init, however curl_init now invokes
> setup_multi_handle which performs the async curl request before
> curl_init_upload sets the upload parameter to false. This leads to a
> non-deterministic error where GET requests are made to PXF endpoints that
> only accept POST requests leading to a 405 status return code from PXF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)