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

Method cmd_pbsz

Lib/test/test_ftplib.py:469–474  ·  view source on GitHub ↗

Negotiate size of buffer for secure data transfer. For TLS/SSL the only valid value for the parameter is '0'. Any other value is accepted but ignored.

(self, line)

Source from the content-addressed store, hash-verified

467 self._do_ssl_shutdown()
468
469 def cmd_pbsz(self, line):
470 """Negotiate size of buffer for secure data transfer.
471 For TLS/SSL the only valid value for the parameter is '0'.
472 Any other value is accepted but ignored.
473 """
474 self.push('200 PBSZ=0 successful.')
475
476 def cmd_prot(self, line):
477 """Setup un/secure data channel."""

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected