[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 fr

[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 Resolution|---

[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 obsolet

[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=32456&action=edit Maven project for a valve that dumps the full request with the body NOTE: For our u

[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 --- (In reply to Christopher Schultz from comment #22) > - Tomcat 7, root (r1155369) to tip: 5 commits: r1446110, r1446138, r1446138, > *r156*, r1561675, r1518197. The single *starred* commit cha

[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 --- (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 actually the case. This is th

[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 --- (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 to let people deal with

[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 --- 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 burden. --

[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 f

[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 --- 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 idea. If people, lik

[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=32446&action=edit Maven project for a valve that dumps the full request with the body NOTE: For our u

[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 --- (In reply to Christopher Schultz from comment #14) > Please note that these classes do nothing -- just like HttpServletWrapper. That should have read "HttpServletRequestWrapper/HttpServletRespon

[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 --- 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 thing that is happening here

[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 changed: What|Removed |Added Attachment #21974|0 |1 is obsolete|

[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 --- 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 will likely not

[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 --- 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 in a way similar to a Filter i

[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 --- 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 at the moment so

[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||mr.oliver.hernandez@

[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 aft

[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 --- 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 container, but I woul

[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 --- (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 7. You will have to wait pr

[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 request

[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 yo

[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 --- 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. -

[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 --- 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, what version of Tomcat are y

[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 passing

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 implementatio