Bugzilla – Attachment 1303 Details for
Bug 1217
scp does not limit bandwidth
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Crank upper backoff limit for scp bwlimit
scp-bwlimit-uppercrank.diff (text/plain), 507 bytes, created by
Damien Miller
on 2007-06-12 17:33:19 AEST
(
hide
)
Description:
Crank upper backoff limit for scp bwlimit
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2007-06-12 17:33:19 AEST
Size:
507 bytes
patch
obsolete
>Index: scp.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/scp.c,v >retrieving revision 1.156 >diff -u -p -r1.156 scp.c >--- scp.c 22 Jan 2007 13:06:21 -0000 1.156 >+++ scp.c 12 Jun 2007 07:31:54 -0000 >@@ -766,8 +766,8 @@ bwlimit(int amount) > thresh = 2048; > } else if (bwend.tv_usec < 100) { > thresh *= 2; >- if (thresh > 32768) >- thresh = 32768; >+ if (thresh > (1 << 24)) >+ thresh = (1 << 24); > } > > TIMEVAL_TO_TIMESPEC(&bwend, &ts);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1217
:
1172
|
1173
| 1303