diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-06-27 13:05:03 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-06-27 13:05:03 +0100 |
| commit | 22a85bd4e1f6005455b91bb3edff68d4019526a1 (patch) | |
| tree | 1b11874bfc8fa270cff32954157d2cdf7ca66fc5 /src/ingestor.cpp | |
| parent | 1a7c5329d07d9d961899aa7c85f9bd56fc06cb2d (diff) | |
| download | webstat-22a85bd4e1f6005455b91bb3edff68d4019526a1.tar.bz2 webstat-22a85bd4e1f6005455b91bb3edff68d4019526a1.tar.xz webstat-22a85bd4e1f6005455b91bb3edff68d4019526a1.zip | |
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.
Diffstat (limited to 'src/ingestor.cpp')
| -rw-r--r-- | src/ingestor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 "-" |
