celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] rlenferink opened a new issue #69: RSA replyStatus is independent of HTTP return code
Date Sat, 28 Sep 2019 14:14:52 GMT
rlenferink opened a new issue #69: RSA replyStatus is independent of HTTP return code
URL: https://github.com/apache/celix/issues/69
 
 
   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 (be aware that the replyState would be set to
200 in case of success)
   
   ---
   
   Original creation date: 26/Jun/2015
   Reporter: @bpetri 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message