[Libevent-users] evhttp and reading large POSTed data (goal of a
multipart/form-data parser)
Elliot F
elliotf-libevent at gratuitous.net
Mon Mar 5 18:33:30 EST 2007
Hello all,
I'm writing a small web server using libevent's http layer, and would
like some pointers on how to continue reading the input buffer. The end
goal is a stream parser for a multipart/form-data. If one already
exists, please let me know.
When using 'EVBUFFER_DATA(evhttp_request->input_buffer)', I only get a
portion of the upload. I'm assuming/hoping there is some way of
associating a callback with that connection (or vice versa) to continue
reading any data related to that request. Could someone point me in the
right direction? Any tips and/or advice are welcome, including pointers
to example code.
Thank you in advance,
Elliot F
More information about the Libevent-users
mailing list