Re: copy on write for splice() from file to pipe?

From: Herbert Xu
Date: Mon Feb 13 2023 - 04:44:23 EST


David Laight <David.Laight@xxxxxxxxxx> wrote:
>
> It is also worth remembering that TCP needs to be able
> to retransmit the data and a much later time.
> So the application must not change the data until it has
> been acked by the remote system.

I don't believe changing the data on retransmit violates any
standards. Correct me if I'm wrong :)
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt