-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "broker" to "hub"; add convenience shortcut args; fix outbound…
… connection bug The name "broker" never felt right to me. It acts more like an oldschool Ethernet hub, so I renamed it everywhere to "hub". Added short versions of a few args, in particular input modes and output modes, so you can do `-in -on` to silence input and output. Also `--eai` for `--exit-after-input`, which is a mouthful. If max inbound connections isn't set, we will now set it to one *per listen address* specified by the user, basically the number of times the user gave `-l`/`-L`. There was a bug where if any outbound connection to a target failed, the target was considered failed. The logic has been corrected to consider it failed only if *all* connections failed. Minor change to defer creating and configuring the socket for an outbound connection until after a valid source address has been found.
- Loading branch information
Showing
4 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters