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:
[email protected]


With regards,
Apache Git Services

Reply via email to