From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4F9634696C4 for ; Fri, 10 Apr 2020 11:10:49 +0300 (MSK) Received: by mail-lj1-f195.google.com with SMTP id n23so1193054ljg.3 for ; Fri, 10 Apr 2020 01:10:49 -0700 (PDT) Date: Fri, 10 Apr 2020 11:10:46 +0300 From: Cyrill Gorcunov Message-ID: <20200410081046.GK3072@uranus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 08/13] popen: unblock popen_read_timeout at a first byte List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org On Fri, Apr 10, 2020 at 05:50:46AM +0300, Alexander Turenko wrote: > Before this change popen_read_timeout() waits until a passed buffer will > be fully filled (or until EOF / timeout / IO error occurs). Now it waits > for any amount of data (but at least one byte). > > It allows to communicate with an interactive child program: write, read, > repeat. > > Part of #4031 Acked-by: Cyrill Gorcunov