]> gitweb.factorcode.org Git - factor.git/commitdiff
Do not attempt to set an SNI hostname on a server
authorBenjamin Pollack <benjamin@bitquabit.com>
Thu, 3 Mar 2016 21:40:50 +0000 (16:40 -0500)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 3 Mar 2016 21:58:31 +0000 (13:58 -0800)
basis/io/sockets/secure/unix/unix.factor

index e1c5a5032a2778936b00665393f9947cd1dd5476..b2faf280dab53010ad250e6b1d120f06dee14dec 100644 (file)
@@ -28,8 +28,7 @@ M: secure (server) addrspec>> (server) ;
 
 M: secure (accept)
     [
-        [ hostname>> ] [ addrspec>> ] bi (accept)
-        [ |dispose <ssl-socket> ] dip
+        addrspec>> (accept) [ |dispose f <ssl-socket> ] dip
     ] with-destructors ;
 
 : check-shutdown-response ( handle r -- event )