Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

An example showing ALPN to allow multiplexing a single TLS listener/http.Server between different protocols

Notifications You must be signed in to change notification settings

jefferai/golang-alpn-example

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

golang-alpn-example

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.

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

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.