diff options
| author | 2025-01-25 14:42:33 -0500 | |
|---|---|---|
| committer | 2025-01-25 14:42:33 -0500 | |
| commit | 390515d40c115217d27be3f74c38d4d3eefde02b (patch) | |
| tree | f670365698e845055ff13398076f71e4a5e8206f /src/cache/handlers | |
| parent | f638237a6b4f3d3edf9bdd995c15df537f8d7e7c (diff) | |
| download | camu-390515d40c115217d27be3f74c38d4d3eefde02b.tar.gz camu-390515d40c115217d27be3f74c38d4d3eefde02b.tar.bz2 camu-390515d40c115217d27be3f74c38d4d3eefde02b.zip | |
Discard packet_stream queue on demote
- Cleanup some comments.
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/cache/handlers')
| -rw-r--r-- | src/cache/handlers/http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cache/handlers/http.c b/src/cache/handlers/http.c index 3bbb751..b34e4ba 100644 --- a/src/cache/handlers/http.c +++ b/src/cache/handlers/http.c @@ -1,8 +1,7 @@ -#include <al/random.h> #include <al/log.h> #include "../backings/memory.h" -#include "../backings/file.h" +//#include "../backings/file.h" #include "../threaded_waits.h" #include "../wait.h" @@ -41,7 +40,7 @@ static void http_callback(void *userdata, u8 op, u8 *buf, void *opaque) } case NNWT_HTTP_CONTENT_LENGTH: { curl_off_t length = *(curl_off_t *)opaque; - al_log_debug("cache_handler_http", "Content-Length: %lld.", length); + al_log_debug("cache_handler_http", "Content-Length: %"CURL_FORMAT_CURL_OFF_T".", length); cch_entry_set_size(http->handler.entry, length); cch_threaded_waits_signal_any(&http->handler); break; |