tftpy icon indicating copy to clipboard operation
tftpy copied to clipboard

use advisory locking on files being transferred

Open msoulier opened this issue 15 years ago • 2 comments

Currently we do no locking at all. The client and server should use flock with read/write locks if they are reading/writing, to prevent file corruption.

msoulier avatar Jul 16 '10 23:07 msoulier

On the client side this is simple, as we don't mind blocking. Although come to think of it, we might want to have an option to not-block on locking, but fail instead. The client might not want to block on locking.

And on the server it's trickier. We don't want to block at all. It would block the whole server.

msoulier avatar Jul 17 '10 00:07 msoulier

Scheduling for 1.0.

msoulier avatar Aug 26 '11 12:08 msoulier