github vapor/vapor 4.29.1
Fix crash related to setting nil hostname and port

latest releases: 4.102.0, 4.101.4, 4.101.3...
3 years ago
This patch was authored by @dimitribouniol and released by @Joannis.

Fixes a crash that could occur if the configuration configures a hostname address with a nil host or port, and the server is started according to the default configuration (#2479, fixes #2478).

The doc comment for HTTPServer.Configuration.address also clarifies the usage of having a nil host or port when using a .hostname-based address.

Don't miss a new vapor release

NewReleases is sending notifications on new releases.