This repository was archived by the owner on Dec 6, 2024. It is now read-only.
Commit 871e6b4
Add a programatic way to exit linkerd-tcp (#24)
Problem:
Some profiling tools are not well suited for long running server
processes and rely on the process exiting to finish their work.
Solution:
POST /quitquitquit is an out-of-band signal for exiting the process. POST
is used to prevent accidental curling (which uses GET by default) or
web browsing from exiting the process.1 parent ce21663 commit 871e6b4
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments