[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Closing bufferevents
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] Closing bufferevents
- From: Zac Sims <zac.sims@xxxxxxxxx>
- Date: Thu, 4 Mar 2010 09:19:09 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 03 Mar 2010 17:19:16 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=8xuSEfl65zXeyNJNwRJGexsGSzGqrcyM/y04nU1Gzsg=; b=WzzsMmFrHR146UZ625ItGLmX8bQzyzJBXCPzp9IKIHqqDASI+zzlXYgtJkhxzWGZMD QaOCzp+7sqPeaqV4y4KZjWwEEZsT5dC/LEJTMvaiwIQRXBZrOiYwnv3Y7YME3/VI4ik5 U8YMPncohXFY0TJ/EdE09ediKxn7iJndflES4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gpd+jV+6PwVPU6x8n4N+zKcg5xf+Y1KbemdTWmz3GYWWsVmcCDbc9pYsRyNErTHT4v E1uMo/w4E5JTrX2ZvmuXIrVH+H4Gfibhi4rROLK8ZOY9Z8EWxW39KKzQSR5vlE8zcr6K 0PXeerDNLTVR6NlQgMp7i4amHTtFgnmuVUmTE=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
G'day,
Small question, which isn't documented as far as I know. If the underlying socket of a buffered event is closed, will the close event (i.e. BEV_EVENT_EOF) be generated before the read callback for the buffered event?
That is, do the read events take priority over the BEV_EVENT_EOF event?
Thanks
Zac