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

Improve IPv6 address handling in ocspserve #1187

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Improve IPv6 address handling in ocspserve #1187

merged 1 commit into from
Nov 23, 2022

Commits on May 8, 2021

  1. Improve IPv6 address handling in ocspserve

    When setting an IPv6 address to listing on via the -address command-line
    argument for both serve and ocspserve, the latter errors with "listen
    tcp: address ::1:8889: too many colons in address" unless it is escaped.
    However, the former uses the net library to process the address and
    port, which results in the enforced escaping of IPv6 addresses
    regardless of if the address is already enclosed in square brackets
    (e.g. [::1]).
    
    This changes oscpserve to use the same net library call as serve to
    provide consistency between the two calls when handling IPv6 addresses.
    jonathanio committed May 8, 2021
    Configuration menu
    Copy the full SHA
    00a28f6 View commit details
    Browse the repository at this point in the history