Wes Gamble
2007-Dec-19 19:58 UTC
Handling "puts" stmts. from external libraries w/Apache+FCGI
All, Rails 1.1.6 Apache 2 FCGI I recently ran into an issue where an external library generated a "puts" statement which caused the connection to one of my FCGI processes to break because Apache flipped out about the malformed header (the argument to the puts statement). The browser never was updated as a result. Is there a generic way for me to "catch" puts statements that are introduced by other libraries _before_ they cause such a connection breakage as Apache attempts to stream them back as part of the HTML response? Some way to validate response.body perhaps? Would this issue also exist if I were a good boy and using Mongrel like I should be? Thanks, Wes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---