[haiku-bugs] Re: [Haiku] #12388: Missing support for TLS SNI (easy)

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 16 May 2016 12:24:30 -0000

#12388: Missing support for TLS SNI (easy)
--------------------------------+----------------------------
   Reporter:  FreeFull          |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Network Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  1                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

 Looks good in general, I see some possible changes/improvements (this is
 open to discussion):
 - In SecureSocket, _SetupConnect is checking for NULL, I think it should
 also check for an empty string as that's what String() will return (as
 used in Connect).
 - When there is no hostname, the given IP address could be converted to a
 string and used ("127.0.0.1" or whatever). I'm not sure if this is of any
 use.
 - This should also be tested outside Web+, in particular when 302
 redirects are involved, because Web+ handles those on its own and does not
 use the HttpRequest code for that. We should make sure that the behavior
 is still correct in that case (the redirected host should be used for the
 second connection).

--
Ticket URL: <https://dev.haiku-os.org/ticket/12388#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: