Srebrenko Sehic wrote:
I've reimplemented read_post_body as specified below and the problem *still* persist. I can only read POST body once. I've looked at libapreq2 code and they implement "apreq_brigade_copy" which (it seems) takes a copy of the bucket brigade and passes "the original" on along.
Well if you going to end up doing what APREQ is doing why not just use it. The memory overhead is not that big, and will be constant, as you won't be changing it itself. Its probably even faster then the way you're doing it as ALL the loops in are in C and glued via XS.
-- ------------------------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."