[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] When to call evhttp_connection_free() or/and evhttp_request_free() ?
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] When to call evhttp_connection_free() or/and evhttp_request_free() ?
- From: Artem <ru.netz@xxxxxxxxx>
- Date: Thu, 05 Jan 2012 11:03:41 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 05 Jan 2012 14:03:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=uh98eIjxD3eFFxXrcodRJNdSjM432QLHO6GLmgHSXwg=; b=uiFF9y3f9wb5BWrYsXAqBHA9YPHy1of1DB5d20XQ8plYFtNtbBBpMlW1m4uzNmvWlL qEn1ucN1PICy/Bkpt51cZ9SPoUKhWvdEcoYnE2L5Uy68hhtL1R6cAuwtexQDz9RIP1tS OACLsVMbBXvCtKhCvwi7KKQpvdg7T8/2pUVg8=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
Hello everybody. I have a small question about making requests. I am
using libevent2, making evhttp_connection_base_new(),
evhttp_request_new(), evhttp_make_request(), then get callback calls.
Question is, do I need to do evhttp_connection_free() or/and
evhttp_request_free() in callback?
Thank you.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.