|
From: | Sergei Golovin |
Subject: | [bug #43641] GSServerStream doesn't support connections with SSL/TLS |
Date: | Thu, 20 Nov 2014 08:39:45 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL: <http://savannah.gnu.org/bugs/?43641> Summary: GSServerStream doesn't support connections with SSL/TLS Project: GNUstep Submitted by: svg Submitted on: Thu 20 Nov 2014 12:39:44 PM SAMT Category: Base/Foundation Severity: 3 - Normal Item Group: Change Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The current base doesn't allow to instantiate a GSServerStream to accept connections with SSL/TLS. The attached patch moves a chunk of code producing a dictionary with all relevant to SSL/TLS stream properties from -[GSTLSHandler initWithInput:output:] to the particular class method +[populateProperties:withTLSPriority:formInputStream:orOutputStream]. It allows use of that code from the -[GSServerStream acceptWithInputStream:outputStream:] to assign the GSServerStream's properties to the passive input and output streams. The patch also brings the helper Tests/base/NSURL/Helpers/capture.m to a usable state and adds the new testcase Tests/base/NSURL/test02.m using that helper. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 20 Nov 2014 12:39:44 PM SAMT Name: SSL_serversocket_capture.patch Size: 18kB By: svg <http://savannah.gnu.org/bugs/download.php?file_id=32484> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?43641> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |