Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib64/python3..../asyncio
File: constants.py
import enum
[0] Fix | Delete
[1] Fix | Delete
# After the connection is lost, log warnings after this many write()s.
[2] Fix | Delete
LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5
[3] Fix | Delete
[4] Fix | Delete
# Seconds to wait before retrying accept().
[5] Fix | Delete
ACCEPT_RETRY_DELAY = 1
[6] Fix | Delete
[7] Fix | Delete
# Number of stack entries to capture in debug mode.
[8] Fix | Delete
# The larger the number, the slower the operation in debug mode
[9] Fix | Delete
# (see extract_stack() in format_helpers.py).
[10] Fix | Delete
DEBUG_STACK_DEPTH = 10
[11] Fix | Delete
[12] Fix | Delete
# Number of seconds to wait for SSL handshake to complete
[13] Fix | Delete
# The default timeout matches that of Nginx.
[14] Fix | Delete
SSL_HANDSHAKE_TIMEOUT = 60.0
[15] Fix | Delete
[16] Fix | Delete
# Used in sendfile fallback code. We use fallback for platforms
[17] Fix | Delete
# that don't support sendfile, or for TLS connections.
[18] Fix | Delete
SENDFILE_FALLBACK_READBUFFER_SIZE = 1024 * 256
[19] Fix | Delete
[20] Fix | Delete
# The enum should be here to break circular dependencies between
[21] Fix | Delete
# base_events and sslproto
[22] Fix | Delete
class _SendfileMode(enum.Enum):
[23] Fix | Delete
UNSUPPORTED = enum.auto()
[24] Fix | Delete
TRY_NATIVE = enum.auto()
[25] Fix | Delete
FALLBACK = enum.auto()
[26] Fix | Delete
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function