[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] evbuffer_add_printf does not send out data



On Tue, Mar 22, 2011 at 10:19 PM, Siyuan Xiang <siyxiang@xxxxxxx> wrote:
> Hi, all,
> I am using libevent 2.0.10-stable on windows xp with vc8,
> I use evbuffer_add_printf in the call back function read(), the http request
> can be sent out.
> buf when I use evbuffer_add_printf() in another thread, it doesn't send out
> the http request.
> I used wireshark to incept the packets.
> What should I do if I would like to send out http request in another thread?
> Did I do something wrong?

Hi!  The evhttp code and the evrpc code are the two parts of libevent
that did not get ported to be threadsafe in time for Libevent 2.0.  If
anybody wants to work on that, that would be great.

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.