Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005393 [Resin] minor always 03-12-13 10:43 08-05-13 09:56
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.35
Summary 0005393: Long headers truncated in access-log when <access-log> is a child of <host-default>
Description Individual long headers are truncated when printed in access-log using "%{Cookie}i".

Analysis:

When <access-log> is configured as a child of <host-default>, ServletService.setAccessLog is never called. AbstractHttpResponse's logBuffer size is initialized during it's constructor from the buffer size of request.getServer().getAccessLog. This always returns null, so AbstractHttpResponse's logBuffer size is always 1024.

Setting <access-log> as a child of <cluster-default> works around the issue.
Additional Information Rep by A. Foong
Attached Files

- Relationships

- Notes
(0006216)
afoong
03-12-13 10:53

Please note, this also affects %{Set-Cookie}
 
(0006217)
cowan
03-12-13 11:01

server/02ev
 
(0006300)
ferg
08-05-13 09:56

Added <access-log-buffer-size> in <cluster>.
 

- Issue History
Date Modified Username Field Change
03-12-13 10:43 cowan New Issue
03-12-13 10:53 afoong Issue Monitored: afoong
03-12-13 10:53 afoong Note Added: 0006216
03-12-13 11:01 cowan Note Added: 0006217
08-05-13 09:56 ferg Note Added: 0006300
08-05-13 09:56 ferg Assigned To  => ferg
08-05-13 09:56 ferg Status new => closed
08-05-13 09:56 ferg Resolution open => fixed
08-05-13 09:56 ferg Fixed in Version  => 4.0.37


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