bugGNUstep - Bugs: bug #43641, GSServerStream doesn't support...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43641: GSServerStream doesn't support connections with SSL/TLS

Submitted by:  Sergei Golovin <svg>
Submitted on:  Thu 20 Nov 2014 08:39:44 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 20 Nov 2014 09:45:43 AM UTC, comment #1:

Thanks ... I applied your patch (with minor changes ... there was a bad warning log which would crash if ever triggered). It's good to have TLS support on server connections.

Richard Frith-Macdonald <CaS>
Project Member
Thu 20 Nov 2014 08:39:44 AM UTC, original submission:

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.

Sergei Golovin <svg>

 

Attached Files
file #32484:  SSL_serversocket_capture.patch added by svg (18KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by svg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Nov 2014 09:45:43 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 20 Nov 2014 08:39:44 AM UTCsvgAttached File-=>Added SSL_serversocket_capture.patch, #32484

    Back to the top


    Powered by Savane 3.1-cleanup1