SFML community forums

General => Feature requests => Topic started by: MrMormon on December 27, 2011, 11:23:45 pm

Title: HTTPS
Post by: MrMormon on December 27, 2011, 11:23:45 pm
Nothing in the documentation mentions https, yet there is http support. I'd like to request this feature. According to http://serverfault.com/questions/98951/does-https-use-tcp-or-udp, this would normally be built off of TCP, which SMFL also has.
Title: HTTPS
Post by: Hiura on December 28, 2011, 09:43:41 am
Well, it's "slightly" more complex than choosing the transport protocol between TCP and UDP. To convince yourself you should read HTTPS RFC here : http://tools.ietf.org/html/rfc2818 . And this one too as TLS is required : http://tools.ietf.org/html/rfc2246 .

I don't know if Laurent will one day implement this in SFML because this task is really big. If you really need such feature you might want to find a specific library to do the job.
Title: HTTPS
Post by: MrMormon on December 28, 2011, 01:43:59 pm
I already have. :) It just seems odd that there is http support, which I can only imagine is used for internet purposes, but no security. Some web applications and sites require security.
Title: HTTPS
Post by: eXpl0it3r on December 28, 2011, 05:11:09 pm
Quote from: "MrMormon"
It just seems odd that there is http support, which I can only imagine is used for internet purposes, but no security. Some web applications and sites require security.


Like Hiura already pointed out it's not so odd anymore when you look at the implementation part, it's just not as easy as HTTP.  :wink:
Title: HTTPS
Post by: MrMormon on December 28, 2011, 05:14:38 pm
How difficult is stealing libcurl source code? :wink: Just kidding, but I don't know much about copyleft licenses.
Title: HTTPS
Post by: Hiura on December 28, 2011, 05:21:59 pm
How difficult is using libcurl ? My point is the same as before : for such huge (did you really read 80+ pages of RFCs ?) feature you should rely on already-existing-and-well-tested librairies instead of SFML.
Title: HTTPS
Post by: MrMormon on December 28, 2011, 05:42:48 pm
I plan on making a game and I originally chose SFML when I read it had udp features. But since I need https for something else, I'm going with glfw and libcurl.

It was just a thought.