forked fromAsyncHttpClient/async-http-client
- Notifications
You must be signed in to change notification settings - Fork0
Commita3e6421
Fixed integer overflow when file size > Integer.MAX_INT,closeAsyncHttpClient#1342
Motivation:`FilePart` currently uses an int to track written length. Huge files can cause an overflow.Modification:Use a long instead of an intResult:No more overflow1 parent1f678c4 commita3e6421
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments
Comments
(0)