Add ability to set MaxConnections to 0, at which this parameter will be set to the maximum available value for the OS Add validation for Timeout and SourceTimeout options Improve existing validators Improve error and warning output Misc refactoring
14 lines
220 B
Python
14 lines
220 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
class AsyncNullContext:
|
|
__slots__ = ()
|
|
|
|
async def __aenter__(self) -> None:
|
|
pass
|
|
|
|
async def __aexit__(self, *_: Any) -> None:
|
|
pass
|