From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A76BE4696C3 for ; Fri, 24 Apr 2020 17:03:10 +0300 (MSK) References: From: lvasiliev Message-ID: <45e919a6-acb7-fa7a-9e5c-5e29dbd13201@tarantool.org> Date: Fri, 24 Apr 2020 17:03:09 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH] socket: fix error while closing socket.tcp_server List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alexander.turenko@tarantool.org, i.kosarev@tarantool.org Cc: tarantool-patches@dev.tarantool.org On 24.04.2020 15:26, Leonid Vasiliev wrote: > The tcp server starts in a separate fiber and when > the socket closes from another fiber the server's > fiber fails with an attempt to validate the server > socket. For check the socket status at server's > fiber a flag has been added and now server's fiber > will terminate correctly if the socket was closed. > > Fixes: #4087 > --- > @Changelog fix error while closing socket.tcp_server socket(gh-4087) https://github.com/tarantool/tarantool/issues/4087 https://github.com/tarantool/tarantool/tree/lvasiliev/gh-4087-fix-socket-stuff