[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] Memory leak with keepalive?
- To: libevent-users@xxxxxxxxxxxxx
- Subject: Re: [Libevent-users] Memory leak with keepalive?
- From: Niels Provos <provos@xxxxxxxxx>
- Date: Sat, 3 Apr 2010 13:55:32 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sat, 03 Apr 2010 16:55:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Zc9ykK/s5icb1GhaGruUpG7J9oRRwPcF8Mckne7zbGw=; b=wa6gG5fKRXAnV1AtHlSdR3dpXc+fL0Xz3acEOlFGyzBFeJdLG4JV8xu3w4EHkEMw9/ 44Fd2r9urbVwaUOAwcozAV+Aw8V4ekKPrB7/W2NgsufAbevRCMKWd0yPaF0wdDieOLep 5BOsrU690Bb+3bnQrQdCrxsO5XIzBkF9vjrIM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fTeTOJdzRqiZ5qOV8xWBNe6nKXnN1EEKvYb4WxIfzjpMBx1NJmoYp59UF47dMPrlfg 8ziOAfR+iHlVCaQROljX3RCmJPFTXCS8bosq962Hr9Z7msZ+L4Zl5E0tFhBUgOPSCQMB WPkp6FN1wDNW15vOuwMjiNYk2Mq9WpgENKSzo=
- In-reply-to: <20100403203532.GA10553@xxxxxxxxxxxx>
- References: <20100403203532.GA10553@xxxxxxxxxxxx>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
On Sat, Apr 3, 2010 at 1:35 PM, Frank Denis <libevent@xxxxxxxxxxxx> wrote:
> Apparently, when using libevent 2 in order to serve HTTP requests,
> the evhttp_connection instance isn't properly released if the
> "Connection: closed" header is not send.
HTTP 1/1 keeps connections open by default. You are exiting the loop
before the connection has been closed. evhttp_free is not responsible
for cleaning up in those cases.
Niels.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.