Some code for Content-Length and Range still uses atoi()...
Created attachment 660417 [details] [diff] [review]
Comment on attachment 660417 [details] [diff] [review]
Should I change 3rd parameter of nsIUploadChannel.setUploadStream to 64-bit?
Created attachment 662060 [details] [diff] [review]
Part 1 - setUploadStream can handle 64-bit length
Created attachment 662061 [details] [diff] [review]
Part 2 - don't use atoi to parse header
Thanks Christian for the reviews.