After the recent update to version 2.2.2, all file transfers that use sendfile return corrupt data and/or terminate the connection.
This appears to be a known issue in 2.2.2 that is caused by improper use of FreeBSD's sendfile; it was fixed upstream on Feb 9:
This will apparently be rolled into 2.2.3 upstream; however, since 2.2.2 in its current state for all intents and purposes does not work on FreeBSD, please consider integrating the linked patch into the FreeBSD port.
Fix: Backport patch from upstream:
Patch attached with submission follows:
How-To-Repeat: Read any file larger than a few kilobytes from a Netatalk share.
Over to maintainer (via the GNATS Auto Assign Tool)
marcus 2012-04-29 00:48:35 UTC
FreeBSD ports repository
Fix usage of sendfile on FreeBSD.
Submitted by: Daniel Becker <firstname.lastname@example.org>
Obtained from: netatalk git
Revision Changes Path
1.1 +20 -0 ports/net/netatalk/files/patch-libatalk_adouble_ad_sendfile.c (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"