Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/netius/base/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ def _start_serving(
ssl_handshake_timeout=None,
):
# @TODO: this is pending proper Netius implementation
# to make it compatible with
# https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Server.start_serving
self._add_reader(
sock.fileno(),
self._accept_connection,
Expand Down Expand Up @@ -821,9 +823,6 @@ def _serve_stream_compat(
:see: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.create_server
"""

# @TODO: implement this stuff meaning that the compat
# mode is the mode in which Netius runs compatible
# with the asyncio module
from . import common

loop = loop or common.get_loop()
Expand Down