(self, nbytes)
| 436 | return self._ssl_buffer_view |
| 437 | |
| 438 | def buffer_updated(self, nbytes): |
| 439 | self._incoming.write(self._ssl_buffer_view[:nbytes]) |
| 440 | |
| 441 | if self._state == SSLProtocolState.DO_HANDSHAKE: |
| 442 | self._do_handshake() |
| 443 | |
| 444 | elif self._state == SSLProtocolState.WRAPPED: |
| 445 | self._do_read() |
| 446 | |
| 447 | elif self._state == SSLProtocolState.FLUSHING: |
| 448 | self._do_flush() |
| 449 | |
| 450 | elif self._state == SSLProtocolState.SHUTDOWN: |
| 451 | self._do_shutdown() |
| 452 | |
| 453 | def eof_received(self): |
| 454 | """Called when the other end of the low-level stream |
no test coverage detected