proxy.core.work.fd.fd module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.core.work.fd.fd.ThreadlessFdExecutor(iid: str, work_queue: proxy.core.work.threadless.T, flags: argparse.Namespace, event_queue: Optional[EventQueue] = None)[source]#

Bases: proxy.core.work.threadless.Threadless[proxy.core.work.fd.fd.T]

A threadless executor which handles file descriptors and works with read/write events over a socket.

_abc_impl = <_abc._abc_data object>#
_total: int#
_upstream_conn_filenos: Set[int]#
_upstream_conn_pool: Optional['UpstreamConnectionPool']#
cleanup_inactive_timeout: float#
registered_events_by_work_ids: Dict[int, SelectableEvents]#
selector: Optional[selectors.DefaultSelector]#
unfinished: Set['asyncio.Task[bool]']#
wait_timeout: float#
work(*args: Any) None[source]#
works: Dict[int, 'Work[Any]']#