On Thu, Jul 29, 2010 at 11:34 PM, Nick Mathewson wrote:
>
> 1) Would you mind uploading this to the patch tracker at
> https://sourceforge.net/tracker/?group_id=50884&atid=461324 ?
> Because Libevent 2.0 is feature-frozen for now, I can't merge anything
> for a while, and I wouldn't want to forge
On Thu, Jul 29, 2010 at 8:34 AM, Nick Mathewson wrote:
> 2) Does this "callback to set the bufferevent" trick have other
> realistic applications? If the only use is getting https to work, we
> might as well just hide the details from the user and provide an
> interface to do https directly.
At
On Thu, Jul 29, 2010 at 4:02 AM, Mihai Draghicioiu
wrote:
> Thanks to your suggestion, i've fixed it by prepending #include
> to the other libevent headers. Thanks!
Ugh. That's what I suspected, but it really shouldn't be necessary.
I've added a bug about it, targeting 2.1:
https://sourceforge.
On Tue, Jul 27, 2010 at 3:34 PM, Mark Ellzey wrote:
> Greetings,
>
> Attached is a small patch which allows a user to grab the underlying
> event_base from an evhttp_request. I have patched this against the
> current master on github.
>
> If there is a better way to do this, I am open to suggestio
On Wed, Jul 28, 2010 at 11:28 PM, Zhuang Yuyao wrote:
> hi,
>
> here is my patch and sample code for libevent 2.0 to add ssl support to
> evhttp.
> the trick is to allow the caller to set bufev of struct evhttp_connection.
>
> Best regards,
> Zhuang Yuyao
Thanks!
Two quick questions:
1) Would
On Thu, Jul 29, 2010 at 4:23 AM, Avi Bab wrote:
>
>
> Does writing to an output evbuffer (specifocally I use
> evbuffer_add_reference) of a bufferevent attempt to acquire the event_base’s
> lock?
Usually not. It does acquire the bufferevent's lock. It *might* have
to tell the bufferevent to sta
Does writing to an output evbuffer (specifocally I use evbuffer_add_reference)
of a bufferevent attempt to acquire the event_base's lock?
I.e., if thread A calls evbuffer_add_reference(bufferevent_get_output(bev),
data, data_len, cleanupfn, extra) - will it block while thread B that
dispatches
Thanks to your suggestion, i've fixed it by prepending #include
to the other libevent headers. Thanks!
On Wed, Jul 28, 2010 at 3:47 PM, Mihai Draghicioiu
wrote:
> 2.0.5-beta
>
> #include
> #include
> #include
> #include
>
> thanks
>
> On Tue, Jul 27, 2010 at 9:28 PM, Nick Mathewson wrote:
>