[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] evbuffer_add_printf does not send out data
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] evbuffer_add_printf does not send out data
- From: Siyuan Xiang <siyxiang@xxxxxxx>
- Date: Tue, 22 Mar 2011 19:19:53 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Tue, 22 Mar 2011 22:20:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=kFpJ00/ItyzNMOpVRo/jsP8YeNtSFDazShpXCqSNCwQ=; b=dukSeq+fGdQAgsqxzvAJLUQEAZivCcEuz6/MKmMvC+70b03HV4RMtXcK8T6c3f8NvK zHVM19G6qibsoRlVu6UZNEMBN5T//Ldiz7jFzbt+CB9fggiG4K55tvLuRcruYO7ksZFE pua1zwkwQZ/6ryEa0SbOsWuzNO0KDmcJBbQIM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=HG9Sa5JZU9zF+s1UvxihMUturFIiTnu8xfvYN8kuYMVp22GUdtVhBH4xxIiHBOPYP5 g9dQEDZLScNg3iCnPtasyH5cX02K0bv3sf+aU3agTqQk01V5qbseFhtwQpaQwREL/Zt9 TciP6vdkumXXzc1LfKG4Ywv4dEH/DNTbr/Uqg=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
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?
Regards,
Siyuan
---