mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.11] gh-99277: remove older version of get_write_buffer_limits
(GH-99280) (#99338)
(cherry picked from commit f1680c3fbf
)
Co-authored-by: Carlo <34414634+csuriano23@users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
c9f2177d13
commit
0dfbb769df
2 changed files with 1 additions and 6 deletions
|
@ -199,12 +199,6 @@ class _SSLProtocolTransport(transports._FlowControlMixin,
|
|||
"""Return the current size of the read buffer."""
|
||||
return self._ssl_protocol._get_read_buffer_size()
|
||||
|
||||
def get_write_buffer_limits(self):
|
||||
"""Get the high and low watermarks for write flow control.
|
||||
Return a tuple (low, high) where low and high are
|
||||
positive number of bytes."""
|
||||
return self._ssl_protocol._transport.get_write_buffer_limits()
|
||||
|
||||
@property
|
||||
def _protocol_paused(self):
|
||||
# Required for sendfile fallback pause_writing/resume_writing logic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue