panicweb

command
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

panicweb implements a simulation of a web server that panics.

It starts a web server, a few handlers and a few hanging clients, then panics.

It loads both panicparse's http handler and pprof's one for comparison.

It is separate from the panic tool because importing "net/http" creates a background thread, which breaks the "asleep" panic case in tool panic.

Directories

Path Synopsis
Package internal implements the handlers for panicweb so they are in a separate package than "main".
Package internal implements the handlers for panicweb so they are in a separate package than "main".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL