Re: [Libevent-users] [PATCH] client HTTPS with evhttp

2011-12-12 Thread Myk Taylor
On 12/12/11 12:21, Mark Ellzey wrote: Would you mind submitting the patch branched against patches-2.0 on github? Easier to pull in / comment / test. Actually, if it's ok, let me retarget this at trunk. diff --git a/include/event2/http.h b/include/event2/http.h index 5c9f0e5..5372208 100644 ---

Re: [Libevent-users] [PATCH] client HTTPS with evhttp

2011-12-12 Thread Mark Ellzey
Would you mind submitting the patch branched against patches-2.0 on github? Easier to pull in / comment / test. On Mon, Dec 12, 2011 at 11:57:17AM -0800, Myk Taylor wrote: > >I've written up a patch that allows evhttp to work for HTTPS where a > >second (or further) request is sent on a evhttp_co

Re: [Libevent-users] [PATCH] client HTTPS with evhttp

2011-12-12 Thread Myk Taylor
I've written up a patch that allows evhttp to work for HTTPS where a second (or further) request is sent on a evhttp_connection that has previously timed out and closed its underlying TCP connection. Any thoughts on the patch? Does it need any modification in order to be acceptable? Thanks,

Re: [Libevent-users] avoiding file descriptor collisions

2011-12-12 Thread Myk Taylor
On 12/09/11 11:26, William Ahern wrote: No. Unfortunately, there's a bug in your application. A descriptor is always valid until an explicit close. However, under POSIX "the open() function shall return a file descriptor for the named file that is the lowest file descriptor not currently open fo