Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3D5E11DE8 for ; Wed, 25 Jun 2014 12:33:37 +0000 (UTC) Received: (qmail 87337 invoked by uid 500); 25 Jun 2014 12:33:37 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 87266 invoked by uid 500); 25 Jun 2014 12:33:36 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 87256 invoked by uid 99); 25 Jun 2014 12:33:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 12:33:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 209.85.128.174 as permitted sender) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 12:33:33 +0000 Received: by mail-ve0-f174.google.com with SMTP id jx11so1882994veb.19 for ; Wed, 25 Jun 2014 05:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jsrVtv/+60L/ky0B9uynaZH4l0CGnexLTIcHYfmbxAM=; b=qb3TVkOsKAsVm8YQ1cC2DhaNwSnkfERRhfdSrK1stJ5g5kqRjIsLYVF0IMKZYrhMj6 CUsvETY3D85srIT4/A/UISjRWWkduRYgH/bGy00FN++ecWIa8pQWymoyKbdfrSvhdHHA bcMKrmhhTU0Gf2wRDsANQptLocEiwtY5F4FfbMEmzuhvIHuYH/5RrlN0YRlJ4WE869kF YvA8Vg+PPeWFIr06JfMBQUhYmGnbmCwawmgwoBB2csc0796Y3S3bolNt1xkbSQV/3z1h ptPUHopVNWRlzswdMpQ/1W+O/5pyWITCyxYmqpKmPa4/5BIzesLy1DvU9w9DmDvs8ro/ +gaw== MIME-Version: 1.0 X-Received: by 10.220.174.137 with SMTP id t9mr6731379vcz.12.1403699589332; Wed, 25 Jun 2014 05:33:09 -0700 (PDT) Received: by 10.58.243.73 with HTTP; Wed, 25 Jun 2014 05:33:09 -0700 (PDT) In-Reply-To: <20140625122404.72B51238897A@eris.apache.org> References: <20140625122404.72B51238897A@eris.apache.org> Date: Wed, 25 Jun 2014 08:33:09 -0400 Message-ID: Subject: Re: svn commit: r1605369 - /httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c From: Eric Covener To: Apache HTTP Server Development List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Jun 25, 2014 at 8:24 AM, wrote: > Refactor asynchronous mod_proxy_wstunnel using pollfd returned by MPM. > r1601943 and r1605307 made Event MPM return woken pollfd, so async > wstunnel doesn't need its own apr_pollset_poll. If both sockets are readable, we'll go all the way through ap_mpm_register_socket_callback_timeout + locking queues and getting dispatched to a new thread to read the 2nd socket. I think this also prevents us from doing ProxyWebsocketAsyncDelay to stay on the thread because we no longer have a poll during the callback invocation. -- Eric Covener covener@gmail.com