MCPcopy Index your code
hub / github.com/python/cpython / buffer_updated

Method buffer_updated

Lib/asyncio/sslproto.py:438–451  ·  view source on GitHub ↗
(self, nbytes)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 5

_do_handshakeMethod · 0.95
_do_readMethod · 0.95
_do_flushMethod · 0.95
_do_shutdownMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected