Re: [Libevent-users] [PATCH] bev_ssl: Allow users to set allow_dirty_shutdown

2011-11-24 Thread Catalin Patulea
On Thu, Nov 24, 2011 at 12:34 PM, Nick Mathewson wrote: > I tidied the documentation a little in a44cd2b0205df; and fixed a > couple of robustness issues in f3b89dec9eac2cf: you might want to > check those out to make sure I didn't mess it up for you. Still works fine here, thanks! ***

Re: [Libevent-users] [PATCH] bev_ssl: Allow users to set allow_dirty_shutdown

2011-11-24 Thread Nick Mathewson
On Mon, Nov 21, 2011 at 8:06 PM, Catalin Patulea wrote: > By default, allow_dirty_shutdown is 0, reporting > TCP-close-before-SSL-close as BEV_EVENT_ERROR. > > But many https servers out there do dirty shutdowns, so clients need > to be able to set this flag. > > This patch simply adds a getter/se

[Libevent-users] [PATCH] bev_ssl: Allow users to set allow_dirty_shutdown

2011-11-21 Thread Catalin Patulea
By default, allow_dirty_shutdown is 0, reporting TCP-close-before-SSL-close as BEV_EVENT_ERROR. But many https servers out there do dirty shutdowns, so clients need to be able to set this flag. This patch simply adds a getter/setter for the flag. Default behaviour of bev_ssl does not change. From