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 87A6D18CB3 for ; Sun, 29 Nov 2015 13:49:12 +0000 (UTC) Received: (qmail 37973 invoked by uid 500); 29 Nov 2015 13:49:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 37905 invoked by uid 500); 29 Nov 2015 13:49:12 -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 37895 invoked by uid 99); 29 Nov 2015 13:49:12 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2015 13:49:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 86BA8C05AC for ; Sun, 29 Nov 2015 13:49:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=qqmail.nl Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id jr6NkvXNL9y5 for ; Sun, 29 Nov 2015 13:49:09 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id AF3F221270 for ; Sun, 29 Nov 2015 13:49:08 +0000 (UTC) Received: by wmww144 with SMTP id w144so99965383wmw.1 for ; Sun, 29 Nov 2015 05:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qqmail.nl; s=google; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:thread-index :content-language; bh=wIMVad6FWrgyNWxovTjoo98SOVFKSaCcPNI6BtIcO7M=; b=agtlC4yU4H3ry6S0D8O00g7AnC1UugriSn6qA1olHQYMQt9n8glVMD2NtkZuXaRf/C hfsoD7/kgXC2NKwq8H0bD0i6n3BcssLj8IZJBHJ9E/W6fB6FmDhuFOUAhG3G2AtT/XmL O+7JlasTv8eZ61xJPnC287kL2Ys/pUqGsYJNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=wIMVad6FWrgyNWxovTjoo98SOVFKSaCcPNI6BtIcO7M=; b=N0a5624G8ZgBQKMJPze0LcTOPkIjGsee8ymdMd9szgEJNy89bvqgSEZIeWQqaYVJ50 IyIQuV1JuncbFeYjVLGEqecV/iBm79kAIHqDacJaf73K7yTwCcLZoQSYbFb5NPd47orp eMmbZ7EmlnhPyCaySM5hH+4vNuRkYr4xqBZDmWsz9+2RXxsC6Z7qXxpVT4FGrxsYTLcm xFcYgcAGipuADgRAi8RNxKrhQTVQPWKtoUtnbPF8OSbP92hJysP7RnzAHOZVkPfrrtZk cgUE2F6ZbJ2oRL8BZV8ndwWXD8KrQlSdIZOpc4YRfdACEYLab91CpWqjTL4dA9ZlykLz EzkQ== X-Gm-Message-State: ALoCoQnDHqfBUVvkJExF5NxmBzv8XkgOyU4oXilyLWVd7NL16BjEM/rHH1SX/9YU/5KP9zKYhOa3 X-Received: by 10.28.0.149 with SMTP id 143mr22460926wma.103.1448804941908; Sun, 29 Nov 2015 05:49:01 -0800 (PST) Received: from i72600 ([2001:610:66e:0:52e5:49ff:fee1:96b7]) by smtp.gmail.com with ESMTPSA id h67sm16669898wmf.17.2015.11.29.05.49.01 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Nov 2015 05:49:01 -0800 (PST) From: "Bert Huijben" To: References: <02f401d12912$fcba4130$f62ec390$@qqmail.nl> <030501d12916$cf7e1120$6e7a3360$@qqmail.nl> <56599792.3060402@greenbytes.de> <03a401d129dd$fafdbfe0$f0f93fa0$@qqmail.nl> <03aa01d129e1$2d49d990$87dd8cb0$@qqmail.nl> <040101d12a23$ced65530$6c82ff90$@qqmail.nl> <40F35186-1FFF-48EF-BB67-DAE432526244@greenbytes.de> In-Reply-To: <40F35186-1FFF-48EF-BB67-DAE432526244@greenbytes.de> Subject: RE: No H2 Window updates! Date: Sun, 29 Nov 2015 14:48:46 +0100 Message-ID: <044701d12aac$acf3b7d0$06db2770$@qqmail.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJt5VCTIFs6KteEjCgZz0PozG8d2QIIvd2DAZcYZYkCyYw91gGJZW1zAbrPaIMCr7A/zJ0WoYDg Content-Language: nl > -----Original Message----- > From: Stefan Eissing [mailto:stefan.eissing@greenbytes.de] > Sent: zondag 29 november 2015 09:04 > To: dev@httpd.apache.org > Subject: Re: No H2 Window updates! > > Ok, thanks. I think I have an idea of what's happening: > - on short request bodies, window updates get omitted and gives a shrinking > connection window Yes, this is the problem I'm seeing. I would like to see this fixed for 2.4.18... and I wouldn't be surprised if this also fixes Jan Erhardts problem. Web frameworks are likely to issue many small (<16K) posts to a server, which all fit in a single frame. In my testcase I needed > 500 requests though. > - the window size of the connection itself should be at max Value right from > the start That is one solution. (Google sends one huge window update on the connection directly at the start, after the settings frame) But this really needs a proper design behind it... Optimal windowing is a hard topic. The window needs to be large enough not to slow down the client... but not too big to hog the server (and by that the connection), etc. etc. The problem with a huge connection window up front is that it may be used for a lot of small requests.... or one large. That large one can easily be throttled at the stream level, while those small ones can't. > > I won't be able to do anything about it until later this week, though. With an increased default window on the httpd site the Subversion test now completes successfully over H2 on 2.4.17 and 2.4.18. It just reports an XPASS in a specific case where we assume that httpd handles a request as invalid because one header is to long with the http/1.1 rules. If this change is expected on the httpd site, the assumption should be fixed in the Subversion testsuite. Thanks, Bert