Thanks Niels,
I have made some changes to my program and the persistent connection
seems to be working fine with this version.
I still had to copy the http-internal.h file manually to make my
program compile, is this working as intended?
I did have some issues with this on my OS X laptop, but I haven't
determined if it is a problem with my program. I will write a simple
test program and see what I can find.
-Ben
On Nov 28, 2006, at 9:34 PM, Niels Provos wrote:
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 <[EMAIL PROTECTED]> 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 <[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
>
>
--
Ben Rigas
Software Engineer, InterOP Technologies
(239) 425-3000
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users