http: Add some logging to try to diagnose an intermittent shutdown issue.

This commit is contained in:
2025-10-01 17:48:23 -04:00
parent 3ef795452d
commit 2ec3b6a249
4 changed files with 45 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include "api.js.h"
#include "database.js.h"
#include "file.js.h"
#include "http.h"
#include "httpd.js.h"
#include "log.h"
#include "mem.h"
@@ -1875,6 +1876,7 @@ void tf_task_destroy(tf_task_t* task)
tf_printf("--\n");
uv_print_all_handles(&task->_loop, stdout);
}
tf_http_debug_destroy();
uv_run(&task->_loop, UV_RUN_ONCE);
}
if (task->_trace)