On Fri, May 20, 2011 at 3:36 AM, Ben Chen <benfoun...@gmail.com> wrote: > What I mean is http uploading a big file from client to server. Currently > POST support in libevent is just suitable for html form post. When big file > uploading, we need a way to let the content already uploaded be put into a > file, so that no too much mem consumed in the process.
Sounds like the patches that Victor Boivie ( https://github.com/nmathewson/Libevent/pull/14 ) and Cliff Frey ( https://github.com/nmathewson/Libevent/pull/15 ) have been working on might be what you're looking for. If I understand right, they both try to add the ability to notice data as it arrives rather than when the request or response is done. (Note: I might not in fact understand right!) I'd love to see more comment on these, BTW. As it is, I think that the right answer is to merge Cliff's patches into 2.1, but I'd like the opinion of people who use evhttp more than I do. -- Nick *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.