Re: [quicwg/base-drafts] Octets that are sent twice (#1353)
Mike Bishop <notifications@github.com> Mon, 14 May 2018 20:04 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9142A12D95F for <quic-issues@ietfa.amsl.com>; Mon, 14 May 2018 13:04:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level:
X-Spam-Status: No, score=-8.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKrH5fZzgIc2 for <quic-issues@ietfa.amsl.com>; Mon, 14 May 2018 13:04:34 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E157212D95C for <quic-issues@ietf.org>; Mon, 14 May 2018 13:04:33 -0700 (PDT)
Date: Mon, 14 May 2018 13:04:32 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1526328272; bh=BAClit9rj4X5T8HGmHSqFvum7bFDnMvs8hik8Z1vDig=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=y8nOmd0d+x29QPVoeF19YC1N7gMfiG6lvB9lLbh/UIGdw02q4beuEDPheRQuQzKMe aCWvy8sdS2MnFr+XWvM7BQ1EszGWt6hh/NXFUIQIzC63tgTNjffzmm97OLFtSZLoTk LrCVJueTCEXGOuvwKxQ6R3od/n3UDCo/AveV74Oo=
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab17f44662acdd4a41506ae24c870cb08a86ab235092cf000000011711add092a169ce133b2693@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1353/c388944565@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1353@github.com>
References: <quicwg/base-drafts/pull/1353@github.com>
Subject: Re: [quicwg/base-drafts] Octets that are sent twice (#1353)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5af9ebd0e731a_12312ad4d55a8f503728dd"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/n_DMXWuxH-P98KEUKzGPzTZAY5E>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 May 2018 20:04:35 -0000
In that scenario, consider that bytes 0-800 and 1000-1200 are delivered on the first try, then the file changes, and bytes 800-1000 need to be resent. If the file has changed in the meantime and the server is just reading from disk, you get a window into the new file while still having the outer bytes taken from the old file. And yes, to avoid that, the server needs to hold read access to the file until it's done reading for good, or retain the content that it transferred, or at the least listen for filesystem change notifications. I can see value in a solution (probably at the application layer) to abort a response and indicate that the resource has changed. But randomly intermixing content from the old and new versions without indication of which source it came from, which would be the output of the current structure, seems like an invitation to invalid state. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/pull/1353#issuecomment-388944565
- [quicwg/base-drafts] Octets that are sent twice (… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… ianswett
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Octets that are sent twi… Mike Bishop
- Re: [quicwg/base-drafts] Octets that are sent twi… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Octets that are sent twi… Mike Bishop
- Re: [quicwg/base-drafts] Octets that are sent twi… MikkelFJ
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… ianswett
- Re: [quicwg/base-drafts] Octets that are sent twi… ianswett
- Re: [quicwg/base-drafts] Octets that are sent twi… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… ianswett
- Re: [quicwg/base-drafts] Octets that are sent twi… Martin Thomson
- Re: [quicwg/base-drafts] Octets that are sent twi… janaiyengar
- Re: [quicwg/base-drafts] Octets that are sent twi… janaiyengar