[ 
https://issues.apache.org/jira/browse/THRIFT-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473254#comment-13473254
 ] 

Justin Judd edited comment on THRIFT-1723 at 10/10/12 3:29 PM:
---------------------------------------------------------------

Patch containing changes for all features to thrift python library.
                
      was (Author: guitarj87):
    Patch containing changes for both features to thrift python library.
                  
> Number of Python features- Mutual Authentication, abiltity to stop services, 
> dynamic port binding
> -------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1723
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1723
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Python - Library
>            Reporter: Justin Judd
>         Attachments: python_thrift.diff
>
>
> This patch adds three major features
> 1) Mutual Authentication
>   a) Services can validate client certificates
>   b) Clients can use a certificate during a connection to a service
>   c) Validation callback can be provided to handle validation as appropriate 
> for your situation
> 2) Stop python services
>   Other languages had the ability to gracefully stop services.  Followed java 
> server and socket construction to add stop capability into python
> 3) Dynamic port binding
>   If you create a socket with port=0, the system will find an open port and 
> bind to it.  This was possible before, but you could not get the information 
> from the object about which port it bound to.  I split up the listen() method 
> of the socket into 2 different parts.  You can use it as before with no 
> changes( just call server.serve() ), or if you want the socket data, you call 
> .setup() on the socket( server.serverTransport.setup().getsockname() if you 
> want the socket information )

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to