Re: memory leaking on POST
Joe Schaefer <[email protected]>
| Newsgroups | gmane.comp.apache.apreq |
|---|---|
| Message-ID | <[email protected]> |
"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. -- Joe Schaefer