You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Bjoern Petri (JIRA)" <ji...@apache.org> on 2015/06/26 15:08:04 UTC
[jira] [Created] (CELIX-243) RSA replyStatus is independent of HTTP
return code
Bjoern Petri created CELIX-243:
----------------------------------
Summary: RSA replyStatus is independent of HTTP return code
Key: CELIX-243
URL: https://issues.apache.org/jira/browse/CELIX-243
Project: Celix
Issue Type: Improvement
Reporter: Bjoern Petri
Priority: Minor
remoteServiceAdmin_send does have a out-param replyStatus, which indicates whether the curl request was executed without error. In addition remoteServiceAdmin_send returns a CELIX_ILLEGAL_STAE in case curl_easy_init failed.
There is no indication for the caller, whether a Server or Client Error occured!
My proposal would be to
* return a CELIX_ILLEGAL_STATE when the curl_easy_perform returns an error (e.g. UNSUPPORTED PROTOCOL)
* return the http code in the replyState
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)