Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

golang.org/x/net/http2/h2demo

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

golang.org/x/net/http2/h2demo

  • v0.0.0-20220106012031-21a9c9cfe9c3
  • Go
  • Socket score

Version published
Created
Source

This is a demo webserver that shows off Go's HTTP/2 support.

It runs at https://http2.golang.org/ so people can hit our implementation with their HTTP/2 clients, etc. We intentionally do not run it behind any other HTTP implementation so clients (including people demonstrating attacks, etc) can hit our server directly. It just runs behind a TCP load balancer.

When running locally, you'll need to click through TLS cert warnings. The dev cert was initially made like:

Make CA: $ openssl genrsa -out rootCA.key 2048 $ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem

Make cert: $ openssl genrsa -out server.key 2048 $ openssl req -new -key server.key -out server.csr $ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500

FAQs

Package last updated on 06 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc