diff options
| author | Mia Herkt <mia@0x0.st> | 2020-12-29 04:06:52 +0100 |
|---|---|---|
| committer | Mia Herkt <mia@0x0.st> | 2021-05-23 19:13:51 +0200 |
| commit | d815d6855f6ea5dae73de70d04394351a01a8187 (patch) | |
| tree | b3881b8be81aab5e86ff532f106a3458b193e80f /templates/404.html | |
| parent | 5db62c2dbf8b6c1ecf67c414488d2e9a4394fe72 (diff) | |
Use template responses
Diffstat (limited to 'templates/404.html')
| -rw-r--r-- | templates/404.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..88ea3cc --- /dev/null +++ b/templates/404.html @@ -0,0 +1,15 @@ +{% set pid = range(20,100)|random %} +<pre>Process {{ pid }} stopped +* thread #1: tid = {{ pid }}, {{ "{:#018x}".format(id(g)) }}, name = 'fhost' + frame #0: +Process {{ pid }} stopped +* thread #8: tid = {{ pid }}, {{ "{:#018x}".format(id(request)) }} fhost`get(path='{{ request.path }}') + 27 at fhost.c:139, name = 'fhost/responder', stop reason = invalid address (fault address: 0x30) + frame #0: {3:#018x} fhost`get(path='{{ request.path }}') + 27 at fhost.c:139 + 136 get(SrvContext *ctx, const char *path) + 137 { + 138 StoredObj *obj = ctx->store->query(shurl_debase(path)); +-> 139 switch (obj->type) { + 140 case ObjTypeFile: + 141 ctx->serve_file_id(obj->id); + 142 break; +(lldb) q</pre> |
