Closed gnyman closed 4 years ago
Ugh. That was a dumb oversight on my part.
Deprecated the fields as suggested and updated the references. The test succeeds, but if you change Line 288 in wormhole_test.go
to use the old field it will fail as expected. Let me know if you have any other suggestions for improvements.
any other feedback or do you think we could get this merged?
This looks great! Thank you for your contribution, I really appreciate it.
This is a quick attempt at making wormhole-william support files bigger than 2 GiB on 32 bit architectures.
I ran in to this limitation when trying to transfer a big file to a 32 bit host. The receiver only saw the file as ~2GIB and only downloaded the first 2GiB. These are the fixes I did to make it work.
I also created a simple test which sets things up to transfer a ~30 GiB file, this test fails on
GOARCH=386
without the int64 fix.My Golang is really rusty, so I'd appreciate any feedback :-)