This patch is very helpful! I would suggest to merge this patch. For example, I have 300GB disk image file. It's size is 316878911488 in byte number. In hex it is 0x49C7747800L. Casting this to integer may cause overflow or underflow. And the casted result becomes 0xC7747800 (if int is 32-bit width). This is a negative number: -948668416. httpfs_stat will return negative number, and then httpfs_lookup or httpfs_getattr will fail as it gets < 0 value. if(httpfs_stat(e.ino, &e.attr) < 0){ assert(errno);...
Yes, I know. I have used netatalk-3.1.9.tar.bz2 for base working code, because github...
I have made a instant patch for fixing this problem. I hope this will help. kenj...
FPDisconnectOldSession won't work