From 22a85bd4e1f6005455b91bb3edff68d4019526a1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 27 Jun 2026 13:05:03 +0100 Subject: Increase size field to 64bit and fix scan types 2^31 not big enough for large file downloads, bumped to 64bit. Replace woolly types with specific uintXX_t in scn call. --- src/ingestor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ingestor.cpp') diff --git a/src/ingestor.cpp b/src/ingestor.cpp index 16638eb..ff5cd92 100644 --- a/src/ingestor.cpp +++ b/src/ingestor.cpp @@ -192,9 +192,9 @@ namespace WebStat { QuotedString, // path : "%u" : "/foo/bar" QueryString, // query_string : "%q" : "?query=string" or "" std::string_view, // protocol : %r : HTTPS/2.0 - unsigned short, // status : %>s : 200 - unsigned int, // size : %B : 1234 - unsigned int, // duration : %D : 1234 + uint16_t, // status : %>s : 200 + uint64_t, // size : %B : 1234 + uint32_t, // duration : %D : 1234 CLFString, // referrer : "%{Referer}i" : "https://google.com/whatever" or "-" CLFString, // user_agent : "%{User-agent}i" : "Chromium v123.4" or "-" CLFString // content_type : "%{Content-type}o" : "test/plain" or "-" -- cgit v1.3