Changeset 3669
- Timestamp:
- 18/11/08 18:42:44 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/base/src/net/tls.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/net/tls.py
r3667 r3669 151 151 # readline() may not work correctly (due to a race condition 152 152 # described in IOChannel._handle_read) 153 return self._handshake or super(TLSSocket, self)._is_read_connected() 154 153 return not self._handshake and super(TLSSocket, self)._is_read_connected() 155 154 156 155 def _handle_write(self): … … 161 160 return 162 161 return super(TLSSocket, self)._handle_write() 163 164 def _update_read_monitor(self, signal=None, change=None):165 """166 Update read IOMonitor to register or unregister based on if there are167 any handlers attached to the read signals. If there are no handlers,168 there is no point in reading data from the channel since it will go169 nowhere. This function will deactivate this functionality while170 performing the TLS handshake.171 """172 if self._handshake:173 return174 return super(TLSSocket, self)._update_read_monitor(signal, change)175 162 176 163 @kaa.coroutine()
