Re: memory leaking on POST
"Philip M. Gollucci" <[email protected]>
| Newsgroups | gmane.comp.apache.apreq |
|---|---|
| Organization | P6M7G8 Inc. |
| Message-ID | <[email protected]> |
Joe Schaefer wrote: > "Brian McQueen" <[email protected]> writes: > >> I do believe it has to do with my handling of the brigade, but I see >> nothing suspicious. The data is parsed with apreq_body. On a >> successful parse I get the pointer to the upload brigade from the >> parsed parameter, and I pass that pointer to a function, which gets a >> file handle and does apreq_brigade_fwrite. The file handle is then >> closed. On errors I do nothing with the upload brigade. Its pretty >> simple. Does that sound right? Any tips about safe handling of >> parameters or pointers to brigades? > > Until someone teaches apreq_brigade_fwrite about spool buckets, > it probably shouldn't be used for upload brigades. Sorry about that. I was looking at this a while ago -- APR/U have this function. We custom coded our own -- why ? -- ------------------------------------------------------------------------ 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 When I call your name, Girl, it starts to flame Burning in my heart, Tearing it all apart.. No matter how I try My love I cannot hide....