[Bug 2028] SCP continues to send data packets when filesystem is full or ulimits reached.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Sep 7 11:05:55 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=2028

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
The problem is there's no backchannel in the scp protocol other than
the return code.  Basically the sending scp says "write this here, this
here and this over there" and the receiving scp gets to answer either
"OK" or "not OK".

The only thing the receiving scp could do in this case is to exit early
with a non-zero return code.  That would mean that in the case where
more than one file is being copied, and only one has a problem (eg file
size limit, permissions or whatever) right now all but the problem file
will work.  Changing it would cause it to work worse in those cases.

Sorry, but there's nothing much that can be done with scp.   sftp can
do it because it's a much more structured protocol and the only
suggestion I have is if this matters to you then use sftp.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list