SSL support in wxHTTP

816 views
Skip to first unread message

wxUserMan

unread,
Sep 21, 2011, 2:06:42 PM9/21/11
to wx-discuss
Hello. I'm interesting in a question of secure HTTP connection (aka
HTTPS). Are you planning to add SSL support to wxHTTP class? It would
be nice if you are. So when it could be done? (which version of
wxWidgets?)

Vadim Zeitlin

unread,
Sep 22, 2011, 6:43:07 AM9/22/11
to wx-di...@googlegroups.com
On Wed, 21 Sep 2011 11:06:42 -0700 (PDT) wxUserMan <ibra...@gmail.com> wrote:

w> Hello. I'm interesting in a question of secure HTTP connection (aka
w> HTTPS). Are you planning to add SSL support to wxHTTP class? It would
w> be nice if you are. So when it could be done? (which version of
w> wxWidgets?)

Hello,

There are no plans to add HTTPS support to wxWidgets. I'd recommend that
you use another, specialized network library for your remote connection
needs, there are many better libraries than wxWidgets for this sort of
things.

Regards,
VZ

Ulrich Telle

unread,
Nov 19, 2011, 4:44:50 AM11/19/11
to wx-di...@googlegroups.com

For networking I use cURL resp libcurl (http://curl.haxx.se) - cURL
supports all kinds of network protocols you can imagine, and it's
actively supported. And there exists wxCURL
(http://wxcode.sourceforge.net/components/wxcurl/) a wxWidgets interface
to libcurl - although it needs some tweaking to get it to work.

Regards,

Ulrich

Gunter Königsmann

unread,
Oct 13, 2018, 4:48:26 PM10/13/18
to wx-discuss
7 years later https has gone much more mainstream. In my case I was surprised that a wxHttp request for finding the version number for the last release of a software package failed ("301 Moved Permanently") as the http request was automatically redirected to https => don't know how much work it is, and if the answer still is "No" this is OK. But I at least wanted to ask if it is time to start a new discussion of adding https to wxHttp.

Vadim Zeitlin

unread,
Oct 13, 2018, 7:31:00 PM10/13/18
to wx-di...@googlegroups.com, wx-...@googlegroups.com
[cc'd to wx-dev as I don't know if (m)any people are subscribed to
wx-discuss which is pretty bad, so it's probably better to just move
this discussion to wx-dev]

On Sat, 13 Oct 2018 13:47:01 -0700 (PDT) Gunter Königsmann wrote:

GK> 7 years later https has gone much more mainstream. In my case I was
GK> surprised that a wxHttp request for finding the version number for the last
GK> release of a software package failed ("301 Moved Permanently") as the http
GK> request was automatically redirected to https => don't know how much work
GK> it is, and if the answer still is "No" this is OK. But I at least wanted to
GK> ask if it is time to start a new discussion of adding https to wxHttp.

Hi,

I don't think much has changed since the last time this was discussed
(which definitely was more recent than 7 years ago, although I don't
remember when was it exactly): we don't want to even try implementing
support for HTTPS on our own, there are other, specialized, network
libraries which already do this. However, in keeping up with the spirit of
wxWidgets, it would be nice to have some very high-level wrappers for the
platform-specific APIs available under each of the supported platforms,
i.e. WinINET under Windows, NSWhateverItsCalled under macOS and libcurl
under Linux/everything else (because this seems the closest thing to a de
facto standard there).

Moreover, code for wrapping WinINET and libcurl in wx-like API already
exists, so it's "just" a question of bringing them together behind common
API, documenting it and proposing it for inclusion. While I don't have any
plans to do it myself, this could definitely be useful to have and
contributions would be warmly welcome.

Regards,
VZ
Reply all
Reply to author
Forward
0 new messages