fix: add request timeout
This commit is contained in:
@@ -26,6 +26,7 @@ if typing.TYPE_CHECKING:
|
||||
|
||||
class BaseHandler(abc.ABC, http.server.BaseHTTPRequestHandler):
|
||||
SANITIZE_REGEX = re.compile(r"[^\x20-\x7F]+")
|
||||
timeout = 10
|
||||
|
||||
@typing.override
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user