From owner-freebsd-stable@FreeBSD.ORG Sun Mar 29 21:42:26 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D04F0C31; Sun, 29 Mar 2015 21:42:26 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AC95DFF; Sun, 29 Mar 2015 21:42:26 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 0D55D2842F; Sun, 29 Mar 2015 23:42:24 +0200 (CEST) Received: from illbsd.quip.test (ip-89-177-50-74.net.upcbroadband.cz [89.177.50.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 105C32842B; Sun, 29 Mar 2015 23:42:23 +0200 (CEST) Message-ID: <551871BE.1090003@quip.cz> Date: Sun, 29 Mar 2015 23:42:22 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: nc (netcat) in 10.1 breaks after upgrade from 9.3 References: <55186630.7020507@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2015 21:42:26 -0000 Dimitry Andric wrote on 03/29/2015 23:21: > On 29 Mar 2015, at 22:53, Miroslav Lachman <000.fbsd@quip.cz> wrote: [...] >> It must be changed to: >> >> echo stats | nc -N localhost 11211 >> >> Is it intentional? > > Yes, this was introduced by upstream: > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat.c#rev1.111 > > "Don't shutdown nc(1)'s network socket when stdin closes. Matches *Hobbit*'s > original netcat and GNU netcat; revert to old behaviour with the new -N flag > if needed." OK, thank you for your reply and sorry for the noise. :) Miroslav Lachman