[Libevent-users] evhttp questions, 1.2
Niels Provos
provos at citi.umich.edu
Tue Nov 28 21:34:02 EST 2006
I merged a bunch of changes from the trunk into the patches branch.
Have a look at
http://www.monkey.org/~provos/libevent-1.2a.tar.gz
It contains a number of other minor fixes, too. If nobody complains,
I plan on releasing this in the next couple days.
Thanks for your patience,
Niels.
On 11/16/06, Niels Provos <provos at citi.umich.edu> wrote:
> Hi Ben,
>
> the http support is still very experimental. You are right in all the
> problems that you are seeing. Your best bet at the moment is to track
> the subversion trunk.
>
> Niels.
>
> On 11/16/06, Ben Rigas <ben.rigas at interoptechnologies.com> wrote:
> > Hello all,
> >
> > I am experimenting with the HTTP support in libevent 1.2, but I have
> > some issues.
> >
> > First thing I noticed was that the "http-internal.h" file was not
> > being installed, and seems to be required to use the HTTP structures.
> > I copied this to my include path and things work ok.
> >
> > Another thing is that I can't figure out how to use the same
> > evhttp_connection to do multiple requests. If I try to use the same
> > evhttp_connection for a second request, it does not throw any errors
> > (ie, my new evhttp_make_request does not fail) but the request is
> > never actually sent out. If I make a new evhttp_connection each time,
> > then this works.. but I don't see why the evhttp_connection could not
> > be reused.
> >
> > Is there some function call that I could be missing to clear the
> > connection between requests? I looked through the headers, but didn't
> > see anything that was obvious.
> >
> > Thanks,
> >
> > -Ben
> >
> >
> > --
> >
> > Ben Rigas
> > Software Engineer, InterOP Technologies
> >
> > _______________________________________________
> > Libevent-users mailing list
> > Libevent-users at monkey.org
> > http://monkey.org/mailman/listinfo/libevent-users
> >
> >
>
More information about the Libevent-users
mailing list