[Bug 45014] Request and Response classes should have wrappers for use in Valves

2023-06-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=45014 Mark Thomas changed: What|Removed |Added CC||wolfg...@illmeyer.com --- Comment #26

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2017-04-04 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=45014 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 mr.oliver.hernan...@gmail.com changed: What|Removed |Added Attachment #32446|0 |1 is

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-11 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #24 from mr.oliver.hernan...@gmail.com --- Created attachment 32456 -- https://issues.apache.org/bugzilla/attachment.cgi?id=32456action=edit Maven project for a valve that dumps the full request with the body NOTE: For our

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #18 from Remy Maucherat r...@apache.org --- Adding your dummy classes means wrapping is supported and, probably, that there is more API stability that what is actually the case. I continue to believe that this is not a good

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #19 from mr.oliver.hernan...@gmail.com --- Remy, please re-read my previous comments (https://issues.apache.org/bugzilla/show_bug.cgi?id=45014#c5 https://issues.apache.org/bugzilla/show_bug.cgi?id=45014#c6). This need is far

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #21 from Christopher Schultz ch...@christopherschultz.net --- (In reply to Remy Maucherat from comment #20) Yes, I did note that I guess in hindsight I could have implemented a filter. This is a feature for hackers, my vote is

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #22 from Christopher Schultz ch...@christopherschultz.net --- (In reply to Remy Maucherat from comment #18) Adding your dummy classes means wrapping is supported and, probably, that there is more API stability that what is

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #23 from Christopher Schultz ch...@christopherschultz.net --- (In reply to Christopher Schultz from comment #22) - Tomcat 7, root (r1155369) to tip: 5 commits: r1446110, r1446138, r1446138, *r156*, r1561675, r1518197. The

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #17 from mr.oliver.hernan...@gmail.com --- I tend to agree more with Christopher, mainly because of this section of the javadoc for the Valve interface that is misleading: Consume bytes from the input stream associated with the

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #16 from mr.oliver.hernan...@gmail.com --- Created attachment 32446 -- https://issues.apache.org/bugzilla/attachment.cgi?id=32446action=edit Maven project for a valve that dumps the full request with the body NOTE: For our

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #20 from Remy Maucherat r...@apache.org --- Yes, I did note that I guess in hindsight I could have implemented a filter. This is a feature for hackers, my vote is to let people deal with it to avoid having any additional support

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #9 from mr.oliver.hernan...@gmail.com --- Thanks Christopher. Your classes were a very good starting point for our use case. I have a custom valve implemented now that logs the request body like we need. I'll share it soon

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 mr.oliver.hernan...@gmail.com changed: What|Removed |Added CC|

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #10 from Remy Maucherat r...@apache.org --- Good thing it it works for you, but I'll have to veto its actual inclusion in Tomcat: it would mean wrapping is possible and supported before the filter chain, and it is not the case

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #8 from Remy Maucherat r...@apache.org --- Wrapping is not possible until the filter chain is reached, it's really quite simple. If you want to change that, it is a big design change that you could advocate for the servlet

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #11 from Christopher Schultz ch...@christopherschultz.net --- Remy, please help me understand why one cannot wrap a Coyote request/response? I don't see a reason why a Valve in the chain would not wrap the request or response

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #12 from Remy Maucherat r...@apache.org --- Please read again my previous comment for the veto justification. I don't believe the classes can be wrapped without issues, usually wrapping occurs to deal with the streams and that

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #7 from Christopher Schultz ch...@christopherschultz.net --- (In reply to mr.oliver.hernandez from comment #5) We're actually using JBoss 7.4, which my understanding is that internally it's using a branched version of Tomcat

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #14 from Christopher Schultz ch...@christopherschultz.net --- Remy, whether these classes are included or not, Valve authors can write their own wrapper classes and wrap the Coyote request and response objects in them. The only

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #15 from Christopher Schultz ch...@christopherschultz.net --- (In reply to Christopher Schultz from comment #14) Please note that these classes do nothing -- just like HttpServletWrapper. That should have read

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Attachment #21974|0

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #6 from mr.oliver.hernan...@gmail.com --- Oh, forgot to mention, our servers are SSL enabled, and the issue only occurs when the requests are encrypted. So, tools like tcpdump/tcpmon won't help, we need to see the entire

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #5 from mr.oliver.hernan...@gmail.com --- We're actually using JBoss 7.4, which my understanding is that internally it's using a branched version of Tomcat 7. Remy, can you please clarify? What exactly is not the point? Are

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #2 from mr.oliver.hernan...@gmail.com --- I 100% agree that this should be added. I'm running into the use case where I need to read a request's input stream, and per the javadoc for Valve, I must wrap the request before

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #3 from Christopher Schultz ch...@christopherschultz.net --- Wow, a blast from the past. I had entirely forgotten about this. I'll re-work the patch for trunk and see how far everything is interested in back-porting. mr.oliver,

[Bug 45014] Request and Response classes should have wrappers for use in Valves

2015-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #4 from Remy Maucherat r...@apache.org --- That is clearly not the point. Up until the filter chain, the core classes should be used. -- You are receiving this mail because: You are the assignee for the bug.

DO NOT REPLY [Bug 45014] Request and Response classes should have wrappers for use in Valves

2008-05-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45014 --- Comment #1 from Christopher Schultz [EMAIL PROTECTED] 2008-05-15 15:02:59 PST --- Created an attachment (id=21974) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=21974) Request and response wrapper class implementations