Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 15, 2021

Motivation:

Port 443 is commonly used for HTTPS. When we're using TLS we should
default to this unless otherwise specified.

Modifications:

  • Add a connect(host:) to the TLS builder for ClientConnection which
    defaults to port 443.

Result:

Motivation:

Port 443 is commonly used for HTTPS. When we're using TLS we should
default to this unless otherwise specified.

Modifications:

- Add a `connect(host:)` to the TLS builder for `ClientConnection` which
  defaults to port 443.

Result:

- Resolves grpc#981
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Jul 15, 2021
@Lukasa Lukasa merged commit 40de76e into grpc:main Jul 15, 2021
@glbrntt glbrntt deleted the gb-default-port-for-tls branch July 15, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connect with server using address instead of hostname+port number

2 participants