Skip to content

Prefork #4

Merged
merged 4 commits into from
May 20, 2021
Merged

Prefork #4

merged 4 commits into from
May 20, 2021

Commits on May 20, 2021

  1. mxshadowsrc: Hoist two variables into static context

    For prefork we need the listen_socket and the filename in the threads,
    so hoist these variables up into the static context.
    donald committed May 20, 2021
    Configuration menu
    Copy the full SHA
    9129837 View commit details
    Browse the repository at this point in the history
  2. mxshadowsrc: Remove DEBUG_MAX_CONNECTS

    Remove debug termination logic, which will be reimplemented in a
    different way when we prefork.
    donald committed May 20, 2021
    Configuration menu
    Copy the full SHA
    89843f1 View commit details
    Browse the repository at this point in the history
  3. mxshadowsrv: Prefork threads

    Prefork threads to avoid overhead per client connect.
    
    - Rename MAX_THREADS to THREADS
    - Hoist accept loop into client threads
    - Do not detach threads, use join instead
    donald committed May 20, 2021
    Configuration menu
    Copy the full SHA
    55d9b15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7ecdbb View commit details
    Browse the repository at this point in the history