Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SAM UDP port parameter #1889

Merged
merged 1 commit into from
Mar 10, 2023
Merged

Conversation

polistern
Copy link
Contributor

@polistern polistern commented Feb 26, 2023

SAM UDP port parameter (attempt 2)

Selecting UDP port for listening based in TCP port (port - 1) is a pretty ambiguous.
Added a separate backwards compatible option to specify UDP port in the config file.

[sam]
enabled = true
address = 127.0.0.1
port = 7656
portudp = 7655

Previous discussion: #1795

Behavior

If portudp is not specified - set default 0 and will use old logic with port - 1
If portudp is specified to 0 value - use old logic with port - 1
If portudp is specified to non-zero value - use this value

@orignal orignal merged commit 98f06e3 into PurpleI2P:openssl Mar 10, 2023
@polistern polistern deleted the feat/sam-udp-port branch March 21, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants