shrub/pkg/arvo/sys/vane
fang 08ad367cd8
eyre: when a %request causes a crud, serve 500
Previously, if an incoming request caused a crash, we would just drop it
on the floor. We should at least have the decency to serve the client a
quick 500 and let them get on with their day.

We make sure not to touch state here. The connection is guaranteed-fresh
because of the task's semantics, and we're handling it in-line in one go.

Notably we only give a simple "crud!" for the body, instead of the full
error trace. We don't know whether the request is authenticated or not
(and who knows if checking was the cause of the crash!), and the crud
might leak sensitive details about the ship it occurred on. For the
owner, the trace still gets printed into the terminal.
2023-05-04 17:42:36 +02:00
..
ames.hoon ames: use +pry:mop and +del:mop instead of virtualizing 2023-05-02 17:07:14 +02:00
behn.hoon arvo: restructures |mass, switches to %x //whey 2023-04-24 16:21:41 -04:00
clay.hoon clay: virtualize parsing to workaround runaway memoization 2023-05-02 17:16:22 -04:00
dill.hoon arvo: restructures |mass, switches to %x //whey 2023-04-24 16:21:41 -04:00
eyre.hoon eyre: when a %request causes a crud, serve 500 2023-05-04 17:42:36 +02:00
gall.hoon gall: hold on to .ken.yoke through uninstalls 2023-04-28 19:19:42 +02:00
iris.hoon arvo: restructures |mass, switches to %x //whey 2023-04-24 16:21:41 -04:00
jael.hoon jael: fake ships always have rift=0 2023-05-02 17:36:22 +02:00
khan.hoon clay: defer all calls to %wick 2022-10-26 22:09:53 -07:00