MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / nowrite

Method nowrite

ssnet.py:484–488  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

482 self.maybe_close()
483
484 def nowrite(self):
485 if not self.shut_write:
486 self.shut_write = True
487 self.mux.send(self.channel, CMD_EOF, '')
488 self.maybe_close()
489
490 def maybe_close(self):
491 if self.shut_read and self.shut_write:

Callers 4

__del__Method · 0.95
got_packetMethod · 0.95
copy_toMethod · 0.45
callbackMethod · 0.45

Calls 2

maybe_closeMethod · 0.95
sendMethod · 0.80

Tested by

no test coverage detected