You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Jeff Barrett <JB...@sawyermedia.com> on 2003/01/20 22:31:29 UTC
[vfs][PATCH] FTP Filesystem bug
I found a bug in the VFS code for copying a file when the source and dest files are accessed through the same FTP session. This creates a race condition between reading the source file and writing to the dest file (I think).
Anyway, you can check out the code comments enclosed. I also added a unit test. Let me know if it seems to make sense.
Re: [vfs][PATCH] FTP Filesystem bug
Posted by Adam Murdoch <ad...@apache.org>.
Applied. Thanks.
On Mon, 20 Jan 2003 09:31 pm, Jeff Barrett wrote:
> I found a bug in the VFS code for copying a file when the source and dest
> files are accessed through the same FTP session. This creates a race
> condition between reading the source file and writing to the dest file (I
> think).
>
> Anyway, you can check out the code comments enclosed. I also added a unit
> test. Let me know if it seems to make sense.
--
Adam
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>