Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2015 23:42:22 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: nc (netcat) in 10.1 breaks after upgrade from 9.3
Message-ID:  <551871BE.1090003@quip.cz>
In-Reply-To: <D6B28329-AE2C-4D4C-9527-6E6B3EF71C91@FreeBSD.org>
References:  <55186630.7020507@quip.cz> <D6B28329-AE2C-4D4C-9527-6E6B3EF71C91@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551871BE.1090003>