Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006355 [Resin] minor always 06-16-20 13:11 06-16-20 15:47
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.64
Summary 0006355: access.log pattern "%b" (result content length) is incorrect for larger files
Description I have created several very large files (around Integer.MAX_VALUE in Bytes) and downloaded them with a Resin-Pro-4.0.64 default configuration and checked the entries in access.log and there are differences which can be obtained from the following list of four files:

Filename: 2147483647.txt
Size in Bytes: 2147483647
Size access.log: 002147483647

Filename: 2147483648.txt
Size in Bytes: 2147483648
Size access.log: -002147483648

Filename: 2147483657.txt
Size in Bytes: 2147483657
Size access.log: -002147483639

Filename: SUPER_DUPER_HUGE.txt
Size in Bytes: 4294967296
Size access.log: 0

Additional Information Access Log configuration from conf/cluster-default.xml:

    <host-default>
      <access-log path="log/access.log"
                 format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
                 rollover-period="1W"/>

access.log entries:

0:0:0:0:0:0:0:1 - - [16/Jun/2020:21:45:10 +0200] "GET /test/upload-content/2147483647.txt HTTP/1.1" 200 002147483647 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
0:0:0:0:0:0:0:1 - - [16/Jun/2020:21:46:21 +0200] "GET /test/upload-content/2147483648.txt HTTP/1.1" 200 -002147483648 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
0:0:0:0:0:0:0:1 - - [16/Jun/2020:21:49:41 +0200] "GET /test/upload-content/SUPER_DUPER_HUGE.txt HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
0:0:0:0:0:0:0:1 - - [16/Jun/2020:21:56:37 +0200] "GET /test/upload-content/2147483657.txt HTTP/1.1" 200 -002147483639 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
0:0:0:0:0:0:0:1 - - [16/Jun/2020:22:00:07 +0200] "GET /test/upload-content/SUPER_DUPER_HUGE.txt HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-16-20 13:11 stbu New Issue
06-16-20 13:11 stbu Issue Monitored: stbu
06-16-20 15:47 ferg Assigned To  => ferg
06-16-20 15:47 ferg Status new => closed
06-16-20 15:47 ferg Resolution open => fixed
06-16-20 15:47 ferg Fixed in Version  => 4.0.65


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker