ifm / xmlrpc-c

:zap: Inofficial fork of the http://xmlrpc-c.sourceforge.net/ library with CMake support
3 stars 4 forks source link

Https support ? #4

Open Sunslash opened 5 years ago

Sunslash commented 5 years ago

Hello,

First, thank you for updating this library. We are currently in the process of porting an application to windows, so this certainly be very useful.

Is it possible to use this library to connect over an https connection ? I'd guess that it would have to be at the cURL level, or does it have higher level bindings ?

Regards

graugans commented 5 years ago

@Sunslash that's indeed a good question. Due to the fact we can't use SSL effectively we have not investigated if this is possible with the current approach. I would expect that the underlying cURL needs to be capable of this. This may needs some additional configuration. Please share your experience.

Sunslash commented 5 years ago

Hello Christian. Thanks for your reply. I guess I'll take a look at libcurl.

From what I gather, it's mainly a problem of properly setting some options through curl_easy_setopt. Another point to take into consideration is that it would be better to keep the connection open to avoid having to perform the SSL handshake before each xmlrpc call.

On Fri, May 24, 2019 at 12:55 PM Christian Ege notifications@github.com wrote:

@Sunslash https://github.com/Sunslash that's indeed a good question. Due to the fact we can't use SSL effectively we have not investigated if this is possible with the current approach. I would expect that the underlying cURL needs to be capable of this. This may needs some additional configuration. Please share your experience.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ifm/xmlrpc-c/issues/4?email_source=notifications&email_token=AEMDQDWNDTG7DM6TUZYY4SLPW7CQJA5CNFSM4HPNR532YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE5RSI#issuecomment-495573193, or mute the thread https://github.com/notifications/unsubscribe-auth/AEMDQDUBBQWGKZHRW3MALTDPW7CQJANCNFSM4HPNR53Q .