Skip to content

Commit

Permalink
pythongh-99277: remove older version of get_write_buffer_limits (py…
Browse files Browse the repository at this point in the history
…thon#99280)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
2 people authored and ethanfurman committed Nov 12, 2022
1 parent d5fa9c6 commit 2f88446
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions Lib/asyncio/sslproto.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,6 @@ def get_read_buffer_size(self):
"""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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`

0 comments on commit 2f88446

Please sign in to comment.