netsend fails on large files

Bug #625017 reported by Jason Spence
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netsend (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: netsend

Attempting to transmit a large file using netsend fails:

 $ netsend tcp transmit stallion.cpio.bz2 172.30.1.61
 ERROR [file.c:50]: Can't stat file stallion.cpio.bz2 (Value too large for defined data type)

Defining _FILE_OFFSET_BITS=64 and rebuilding the package allows the file to transmit, but then it aborts after the first gigabyte:

 $ ./netsend udp transmit ~/stallion.cpio.bz2 172.30.1.61
 ERROR [trans_common.c:101]: Could not write 8192 bytes: Connection refused

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.