This is an example of using the NPN/ALPN support in Go's TLS and HTTP libraries
to allow a single TLS listener and http.Server
to handle both HTTP/2 and
arbitrary protocol clients on the same port. See the code for more detailed
comments.
-
Notifications
You must be signed in to change notification settings - Fork 6
jefferai/golang-alpn-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An example showing ALPN to allow multiplexing a single TLS listener/http.Server between different protocols
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published