Use template responses
This commit is contained in:
parent
5db62c2dbf
commit
d815d6855f
6 changed files with 79 additions and 105 deletions
15
templates/404.html
Normal file
15
templates/404.html
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue