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 <[EMAIL PROTECTED]> 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@monkey.org http://monkey.org/mailman/listinfo/libevent-users
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users