[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] evhttp server on unix socket
- To: libevent-users@xxxxxxxxxxxxx
- Subject: Re: [Libevent-users] evhttp server on unix socket
- From: Nick Mathewson <nickm@xxxxxxxxxxxxx>
- Date: Wed, 1 Dec 2010 10:48:23 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Wed, 01 Dec 2010 10:48:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=HR8GK6TcXdfDSkcXz5FNlDrx7UQMww379MpwKum4PLc=; b=EGIoLjRGqYKyEV1yMfKaV64/Z83wppYY/zJSthu5VOMw2WlVNwYd8qu7cihpjqHfq1 ajQ31HgyxlWxbKYis3M52cXm7KOEXtoBvLy2UfriuEOQILuMU/YZl5HHYDzwLCb6BpJJ HFlRJEJtEUkcbXWCS+Rmdq1sOx9z83vbudUvI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=R9WXCkzyk78NcStdoCXC9hhQLNR7tnp1kcCQ1aZTasHDLEytlmh32ATNXOwwcBPx6w CTCQ/yadGJv5tKg2/4oMlhHKCdoSakgHdnkGY2nzO8WJC8rEeHpbS/bivB1s/G7efubg KFaAJfmwZkUSM3KYd09Jlh3PHoiH5mOEIX9GM=
- In-reply-to: <4CF5EB09.3020400@xxxxxxxxxx>
- References: <4CF5EB09.3020400@xxxxxxxxxx>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
On Wed, Dec 1, 2010 at 1:28 AM, Christophe Zbierski
<czbierski@xxxxxxxxxx> wrote:
> Hi, is it possible to bind an HTTP server on unix socket instead of address
> and port (int evhttp_bind_socket(struct evhttp *http, const char *address,
> u_short port) ).
Make sure you're using the latest 2.0.x-rc, and try
evhttp_accept_socket or evhttp_bind_listener ?
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.