[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] char: drop data written to a disconnected pty




On 31/01/2017 14:19, Ed Swierk wrote:
> Either way, when a pty is disconnected data will get dropped, whether
> by the pty backend (as proposed) or by the serial port device or other
> frontend (as currently).
> 
> The only difference from a user's perspective is whether the dropped
> data gets written to the log file, which is the main motivation for
> this change. The backward compatibility concern would be an existing
> application that relies on data not being logged when the pty is
> disconnected.

Which is clearly a bug and a pointless difference between TCP and pty
backends, so the patch is okay.

Paolo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]