From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.140.3 with SMTP id n3cs221262rvd; Thu, 4 Mar 2010 11:28:26 -0800 (PST) Received-SPF: pass (google.com: domain of 32AmQSwYMCr0mhuhp1elwvzhdw.qhwudfn-ghyhojrrjohjurxsv.frp@groups.bounces.google.com designates 10.220.127.3 as permitted sender) client-ip=10.220.127.3; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 32AmQSwYMCr0mhuhp1elwvzhdw.qhwudfn-ghyhojrrjohjurxsv.frp@groups.bounces.google.com designates 10.220.127.3 as permitted sender) smtp.mail=32AmQSwYMCr0mhuhp1elwvzhdw.qhwudfn-ghyhojrrjohjurxsv.frp@groups.bounces.google.com; dkim=pass header.i=32AmQSwYMCr0mhuhp1elwvzhdw.qhwudfn-ghyhojrrjohjurxsv.frp@groups.bounces.google.com Received: from mr.google.com ([10.220.127.3]) by 10.220.127.3 with SMTP id e3mr1867568vcs.47.1267730905650 (num_hops = 1); Thu, 04 Mar 2010 11:28:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:received:date :message-id:subject:from:to:x-original-authentication-results :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:x-thread-url:x-message-url:sender :list-subscribe:list-unsubscribe:content-type; bh=CYvPjOGRchbYc0+3/+jaxaZos9EMGVjZkL2Itcb0i2Y=; b=57/5kQa9sKPKe3qTRnVPfNDy9TtyCScbmlKC1eEmyrxM4wmp6m6V60gr+ePnPckkSu zaazoI/kkvt6QdhBHRVxgoiquhzkIEcocSG5Rz3f+55aQC/CGqE17E1d5gsrreZfYB0L 5l6ZFohi7TzUh0u1DW2H/7KP78NfjZp0cj1c0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:message-id:subject:from :to:x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type; b=bBmWgovCt2hKaM3nq+NxH/hrQZ6C3sWokItIyqD3+he8vMRCZPda0TTe3oYEDnfgH1 JMgLBtPlyII3TYZzvHJdF4EJnhwNC2BbSa6UDKDKlSOOWGInaQ1nQrXQGO5kGZriIpKd 7qG3EylPwMVEi9h11wPWG3JZmPfNIS52bUzM0= Received: by 10.220.127.3 with SMTP id e3mr215557vcs.47.1267730904409; Thu, 04 Mar 2010 11:28:24 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.220.174.133 with SMTP id t5ls643973vcz.2.p; Thu, 04 Mar 2010 11:28:23 -0800 (PST) Received: by 10.220.89.146 with SMTP id e18mr1079246vcm.25.1267730903101; Thu, 04 Mar 2010 11:28:23 -0800 (PST) Received: by 10.220.89.146 with SMTP id e18mr1079244vcm.25.1267730903061; Thu, 04 Mar 2010 11:28:23 -0800 (PST) Return-Path: Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by gmr-mx.google.com with ESMTP id 29si580015vws.3.2010.03.04.11.28.22; Thu, 04 Mar 2010 11:28:22 -0800 (PST) Received-SPF: neutral (google.com: 74.125.92.24 is neither permitted nor denied by best guess record for domain of jeremy@bitsweat.net) client-ip=74.125.92.24; Received: by qw-out-2122.google.com with SMTP id 8so519426qwh.17 for ; Thu, 04 Mar 2010 11:28:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.216.21 with SMTP id hg21mr2186779qcb.14.1267730902732; Thu, 04 Mar 2010 11:28:22 -0800 (PST) Date: Thu, 4 Mar 2010 11:28:22 -0800 Message-ID: <69a2885c1003041128h3c0b6558ud496172863623476@mail.gmail.com> Subject: Rack::ETag: stream digest calculation From: Jeremy Kemper To: rack-devel@googlegroups.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 74.125.92.24 is neither permitted nor denied by best guess record for domain of jeremy@bitsweat.net) smtp.mail=jeremy@bitsweat.net X-Original-Sender: jeremy@bitsweat.net Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/d7016ae5c7e2f092 X-Message-Url: http://groups.google.com/group/rack-devel/msg/71eaa2d6bdba64a4 Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=00163631013120d5150480fe9a34 --00163631013120d5150480fe9a34 Content-Type: text/plain; charset=ISO-8859-1 For your consideration: a small tweak to calculate the body digest as it's produced rather than afterward in one big whack: http://github.com/jeremy/rack/commit/f10713cce876d370ee5f1018928521d4b43e0dce jeremy --00163631013120d5150480fe9a34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For your consideration: a small tweak to calculate the body digest as = it's produced rather than afterward in one big whack: