mirror of
https://github.com/restic/restic.git
synced 2025-12-24 00:29:39 -05:00
The builtin mechanism to capture a stacktrace in Go is to send a SIGQUIT to the running process. However, this mechanism is not avaiable on Windows. Thus, tweak the SIGINT handler to dump a stacktrace if the environment variable `RESTIC_DEBUG_STACKTRACE_SIGINT` is set. |
||
|---|---|---|
| .. | ||
| debug.go | ||
| doc.go | ||
| log_test.go | ||
| round_tripper.go | ||
| round_tripper_debug.go | ||
| round_tripper_release.go | ||
| round_tripper_test.go | ||
| stacktrace.go | ||