From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Handling HTTP "Upgrade" requests Date: Tue, 10 Mar 2015 21:59:00 +0100 Message-ID: <87zj7ky3fv.fsf@pobox.com> References: <87wq3aan0s.fsf@fsf.org> <1424840743.14360.18.camel@Renee-desktop.suse> <8dvbiqufhr.fsf@freestation00.office.fsf.org> <1424937100.7013.37.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426021171 863 80.91.229.3 (10 Mar 2015 20:59:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Mar 2015 20:59:31 +0000 (UTC) Cc: Dave Thompson , guile-devel@gnu.org, David Thompson To: Nala Ginrut Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 10 21:59:16 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YVRFA-00020C-JX for guile-devel@m.gmane.org; Tue, 10 Mar 2015 21:59:12 +0100 Original-Received: from localhost ([::1]:51385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRFA-0004FO-59 for guile-devel@m.gmane.org; Tue, 10 Mar 2015 16:59:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRF8-0004FJ-0P for guile-devel@gnu.org; Tue, 10 Mar 2015 16:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVRF7-0001lw-6n for guile-devel@gnu.org; Tue, 10 Mar 2015 16:59:09 -0400 Original-Received: from pb-sasl1.int.icgroup.com ([208.72.237.25]:62484 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVRF3-0001lS-KG; Tue, 10 Mar 2015 16:59:05 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id E8B953C851; Tue, 10 Mar 2015 16:59:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=KuY5DuxYr/f/D6CEX6v9bVP1CUs=; b=F9pI2N /l5fB3wN4uD82rO1R7Oy1lXp68rATet9jQ8AbBy84e0YklUd+Rscr0fWSH895mn2 lTKIYNDfYqjORUyT0P2FPG7B6AmpfNAMmHYKj6x1falE0FT4RE05Ywf28evUFjaY hooFDiFsqyn5V34Nm6YaBLwNXM2Ol4YESjeQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=CpK58naISy6VGoM42sdFrz79EWnxKXvY 4rdIbJFtRCbcvrO12goX6VM6B5Hx+XkbaYImf8eb1cRCfUyrtA9fAGo2pfJ4Lpkv GLRaP5Cnsb4jZJZ2D4rUlOjudTztCeapRc5Xtgr6Q9uIaoWzeC9ROcyZBw+s4Uvn H7Jael62mMg= Original-Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id DE9843C84F; Tue, 10 Mar 2015 16:59:04 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 2A4143C84E; Tue, 10 Mar 2015 16:59:04 -0400 (EDT) In-Reply-To: <1424937100.7013.37.camel@Renee-desktop.suse> (Nala Ginrut's message of "Thu, 26 Feb 2015 15:51:40 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Pobox-Relay-ID: 4903AB88-C768-11E4-81C5-B058D0B8C469-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17694 Archived-At: On Thu 26 Feb 2015 08:51, Nala Ginrut writes: > 3. I have to mention that the current inner server is not non-block and > weak for slow-header-DDOS. Indeed. I think the right solution is cothreads. What do you think? > PS: To those who care, unfortunately, Guile has no epoll/kqueue yet, > that's one of the reasons why I want to write new server core for > Artanis. ;-) The wip-ethreads branch has something like this. Perhaps that could serve for inspiration :) Andy -- http://wingolog.org/