swift-server / http

:warning: Historical HTTP API - please use https://github.com/swift-server/async-http-client instead
Apache License 2.0
703 stars 48 forks source link

Support for multiple addresses per server #91

Open gtaban opened 6 years ago

gtaban commented 6 years ago

From @helje5: https://github.com/swift-server/http/pull/81#issuecomment-342630664

An open question is, do we want to support multiple binds? I tend to say yes. This would modify the structure of the server a little.

(the other option is to use multiple servers if you want to listen on multiple addresses, but that would be kinda wasteful).

rymcol commented 6 years ago

+1 for multiple binds