proxy.core.work.delegate 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.

proxy.core.work.delegate.delegate_work_to_pool(worker_pid: int, work_queue: connection.Connection, work_lock: multiprocessing.synchronize.Lock, conn: socket.socket, addr: Optional[HostPort], unix_socket_path: Optional[str] = None) None[source]#

Utility method to delegate a work to threadless executor pool.