Re: sending data to output filter
On Tue, 10 Jun 2008 23:35:42 +0200 Tamas Palagyi [EMAIL PROTECTED] wrote: If the ap_pass_brigade() returned means that all my data has been sent successfully? Yes - to the next filter in the chain (if pass_brigade returned success). Is ap_pass_brigade going to block till all data sent (or gives back error)? That's out of your hands. A filter in the chain may or may not buffer some or all of the data, and may block or return to you while still processing. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
Re: sending data to output filter
Thanks Nick, I am writing a module that have similar proxy functionality as mod_proxy_connect: proxying traffic from client nodes to internal nodes those speaking their unknown binary protocol. The difference that I use the bucket/brigades IO to be able to use the filter infrastructure. Mainly because of mod_ssl, letting Apache doing the SSL enc/decryption. My main concern was whether there already is a module that does this thing. But my research gave no useful results. Proxy modules either work at socket level (connect) or handle their own protocol only (like ajp). Have you heard a module that would do similar things what I described? Thanks, Tamas On Wed, 2008-06-11 at 11:53 +0100, Nick Kew wrote: On Tue, 10 Jun 2008 23:35:42 +0200 Tamas Palagyi [EMAIL PROTECTED] wrote: If the ap_pass_brigade() returned means that all my data has been sent successfully? Yes - to the next filter in the chain (if pass_brigade returned success). Is ap_pass_brigade going to block till all data sent (or gives back error)? That's out of your hands. A filter in the chain may or may not buffer some or all of the data, and may block or return to you while still processing.
Re: Response Time and mod_rt
On Tue, 10 Jun 2008 19:40:14 -0700 (PDT) N S [EMAIL PROTECTED] wrote: Where can I get the mod_rt module? Or can someone send it to me? Cause I want to know each request response time in my Apache access_log? Or any other way that I don't know? http://modules.apache.org/search.php Although I can't see personally where you would insert this sort of functionality myself... I'm sure a better person could tell you how to do this. There's nothing obvious for me in the request struct. -- The Teletype machine to the Death Star is making a weird noise because of BobaFett. Microsoft is trying to be EBITDA positive by the end of the year. :: http://www.s5h.net/ :: http://www.s5h.net/gpg.html signature.asc Description: PGP signature