Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: HTTPS  (Read 3649 times)

0 Members and 1 Guest are viewing this topic.

MrMormon

  • Newbie
  • *
  • Posts: 4
    • View Profile
HTTPS
« 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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
HTTPS
« Reply #1 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.
SFML / OS X developer

MrMormon

  • Newbie
  • *
  • Posts: 4
    • View Profile
HTTPS
« Reply #2 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
HTTPS
« Reply #3 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:
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

MrMormon

  • Newbie
  • *
  • Posts: 4
    • View Profile
HTTPS
« Reply #4 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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
HTTPS
« Reply #5 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.
SFML / OS X developer

MrMormon

  • Newbie
  • *
  • Posts: 4
    • View Profile
HTTPS
« Reply #6 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.