(self)
| 725 | # Incoming flow |
| 726 | |
| 727 | def _do_read(self): |
| 728 | if ( |
| 729 | self._state not in ( |
| 730 | SSLProtocolState.WRAPPED, |
| 731 | SSLProtocolState.FLUSHING, |
| 732 | ) |
| 733 | ): |
| 734 | return |
| 735 | try: |
| 736 | if not self._app_reading_paused: |
| 737 | if self._app_protocol_is_buffer: |
| 738 | self._do_read__buffered() |
| 739 | else: |
| 740 | self._do_read__copied() |
| 741 | if self._write_backlog: |
| 742 | self._do_write() |
| 743 | else: |
| 744 | self._process_outgoing() |
| 745 | self._control_ssl_reading() |
| 746 | except Exception as ex: |
| 747 | self._fatal_error(ex, 'Fatal error on SSL protocol') |
| 748 | |
| 749 | def _do_read__buffered(self): |
| 750 | offset = 0 |
no test coverage detected