lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.92k stars 549 forks source link

Multiple listeners support #15

Closed lpereira closed 5 months ago

HalosGhost commented 8 years ago

I think my favorite part of this is that it might allow for the possibility of having the same server handle both HTTPS and HTTP (just having the 80 listener forcibly redirect to the https address).

fiorix commented 8 years ago

Well, not only that. You can use the NextProto field to serve any SSL/TLS connection from the same port. In Go we use it to serve HTTPS and gRPC on the same port for example.

lpereira commented 5 months ago

Lwan kinda supports multiple listeners now (HTTP and HTTPS). Closing this issue.