[Extra] Response when no Command in Progress (was AD Review of draft-ietf-extra-imap4rev2)

Alexey Melnikov <alexey.melnikov@isode.com> Mon, 04 January 2021 17:06 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FF173A0E9B for <extra@ietfa.amsl.com>; Mon, 4 Jan 2021 09:06:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.188
X-Spam-Level:
X-Spam-Status: No, score=-0.188 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 kjIaqpFt3C16 for <extra@ietfa.amsl.com>; Mon, 4 Jan 2021 09:06:49 -0800 (PST)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id B3D973A0E97 for <extra@ietf.org>; Mon, 4 Jan 2021 09:06:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1609780008; d=isode.com; s=june2016; i=@isode.com; bh=gjhoZj6r7z+Ji0O4uIiU3mWukDHMOFvy8zqhnsOcy+g=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=X+VbkBf+pYJcS1HLCUAiakAUwIlF8lGvEq0ZsKD/mm0oXD1B6DWPC4lG3yf3Yxm0IcNW+n +oxlS9bmiO/VsYheIXNdvhoatZl8KhEwF2EwQ9pS9WsLCiTXoGH5BIk9ohJpDbhYVihyRx S1/LTX413aylXV/ZoCsTG1V7GUMFJlU=;
Received: from [172.27.255.49] (connect.isode.net [172.20.0.72]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <X=NLKABqml1u@statler.isode.com>; Mon, 4 Jan 2021 17:06:48 +0000
To: "Murray S. Kucherawy" <superuser@gmail.com>, extra@ietf.org
References: <CAL0qLwaLa+PuGWRrKTbpmDa_SWKT9ZQUEQ9dsPgXfUmTzcYAYw@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <72a2b1dc-1a9f-07ab-23aa-48dd2048b06e@isode.com>
Date: Mon, 4 Jan 2021 17:06:48 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
In-Reply-To: <CAL0qLwaLa+PuGWRrKTbpmDa_SWKT9ZQUEQ9dsPgXfUmTzcYAYw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------8760C196CF555FE6077B8C47"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/_b5c9aNcxV45UB6BSIhNcBaqF_0>
Subject: [Extra] Response when no Command in Progress (was AD Review of draft-ietf-extra-imap4rev2)
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jan 2021 17:06:51 -0000

Hi Murray,

I've changed subject for this issue, so that it doesn't get lost in 
myriad of other replies.

On 04/01/2021 08:18, Murray S. Kucherawy wrote:

> Section 5.3
>
>
> Maybe my understanding is wrong, but if you do a non-blocking write 
> while you don’t have enough buffer space available, won’t some of what 
> you write be lost, resulting in gibberish at the other end?
>
All the API I've seen tell you how much (possibly 0 octets) were 
written, so a properly written application will not send gibberish. 
Because IMAP is line oriented and, in some cases, octet counted (like 
literals), a partial write is never a problem on the receiving side.
>
> Maybe this needs to mention retries of stuff that couldn’t be sent (if 
> any) when a non-blocking write returns?
>
Possibly. Can you suggest some text on this point?
>
> I’m tempted to suggest just removing this.  This is something you deal 
> with at the socket layer, and IMHO isn’t really part of IMAP itself.
>
Personally, I found warning in this section useful. If it is removed, it 
is not going to change my implementation ;-).

But seriously: I think I would like WG's feedback on this one.

Thank you,

Alexey