| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/internet/ |
Upload File : |
ó
iù™Nc @ sr d Z d d l Z d d l m Z e d k ra d d l m Z d d l m Z d d l m Z
n0 d d l m Z d d l m Z d d
l m
Z
d d l m Z d d l
m Z d d
l m Z d d l m Z m Z d d l m Z d d l m Z m Z d d l m Z d d d „ ƒ YZ i d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( sH
This module implements OpenSSL socket BIO based TLS support. It is only used if
memory BIO APIs are not available, which is when the version of pyOpenSSL
installed is older than 0.10 (when L{twisted.protocols.tls} is not importable).
This implementation is undesirable because of the complexity of working with
OpenSSL's non-blocking socket-based APIs (which this module probably does about
99% correctly, but see #4455 for an example of a problem with it).
Eventually, use of this module should emit a warning. See #4974 and 5014.
@see: L{twisted.internet._newtls}
@since: 11.1
iÿÿÿÿN( t platformTypet win32( t WSAEINTR( t WSAEWOULDBLOCK( t
WSAENOBUFS( t EINTR( t EWOULDBLOCK( t ENOBUFS( t SSL( t
implements( t log( t
ITLSTransportt
ISSLTransport( t FileDescriptor( t CONNECTION_DONEt CONNECTION_LOST( t _TLSDelayedt _TLSMixinc B s e Z d Z d Z d Z e Z Z d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z d „ Z d „ Z d
„ Z RS( t
sock_shutdowni c C s
| j j ƒ S( N( t sockett get_peer_certificate( t self( ( s<