Skip to content

Revisit fstrm_capture --max-conns concurrent connections #55

Description

@reedjc

Document what numbers are allowed for --maxconns for fstrm_capture.

Check for valid max-conns value. (Because libmy/argv.c using atoi(3) has many caveats and doesn't do checking).

It defaults to -1 and each cb_accept_conn will decrement (like == -2) and cb_close_conn will increase (like == 0). I am unclear if this behavior is correct. And I didn't test it. cmikk asked me to open this ticket to revisit its behavior, such as if the 0 is used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions