This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix the issue where scp transfer completion tracking wasn't being triggered for 100% completion
This
closes
#91
pull request at github/apache/ant
master
wenjingwang
Jaikiran Pai
6 years ago
parent
812ba7083b
commit
e91c4dc223
4 changed files
with
12 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
CONTRIBUTORS
+4
-0
WHATSNEW
+4
-0
contributors.xml
+3
-4
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java
+ 1
- 0
CONTRIBUTORS
View File
@@ -441,6 +441,7 @@ Vladislav Bauer
Volker Leidl
Waldek Herka
Wang Weijun
Wenjing Wang
Will Wang
William Bernardet
William Ferguson
+ 4
- 0
WHATSNEW
View File
@@ -56,6 +56,10 @@ Fixed bugs:
actual address could potentially be unreachable. This is now fixed
and the resolved address is actually checked for reachability.
* Fixes an issue where scp transfer completion tracking wasn't being
triggered for 100% completion.
Github Pull Request #91
Other changes:
--------------
+ 4
- 0
contributors.xml
View File
@@ -1815,6 +1815,10 @@
<first>Wang</first>
<last>Weijun</last>
</name>
<name>
<first>Wenjing</first>
<last>Wang</last>
</name>
<name>
<first>Will</first>
<last>Wang</last>
+ 3
- 4
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpFromMessage.java
View File
@@ -286,15 +286,14 @@ public class ScpFromMessage extends AbstractSshMessage {
fos.write(buf, 0, length);
filesize -= length;
totalLength += length;
if (filesize == 0) {
break;
}
if (trackProgress) {
percentTransmitted = trackProgress(initFilesize,
totalLength,
percentTransmitted);
}
if (filesize == 0) {
break;
}
}
} finally {
final long endTime = System.currentTimeMillis();
Write
Preview
Loading…
Cancel
Save