Re: [PATCH v9 10/14] pkt-line: add functions to read/write flush terminated packet streams

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

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> I must be missing something.  Is the other side always supposed to
> give a flush packet or something?  Perhaps that is what is happening
> here.  If so, I am OK with that, even though it somehow sounds a bit
> wasteful.

Ah, scratch that.  What I was missing was that this channel is
designed to carry multiple interactions and delimiting with EOF
which by definition can happen only once cannot be a norm.
Expecting a flush to declare the current stream terminated is
perfectly fine.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]