Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6355 | minor | always | 06-16-20 13:11 | 06-16-20 15:47 | |
|
|||||
Reporter: | stbu | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.64 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.65 | ||
|
|||||
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 |
||||
Steps To Reproduce: | |||||
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" |
||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |