Empty-file downloads fail and requeue

I sometimes make notes in folders by creating empty text files in them. The text file name is the note.

When people try to download these zero-byte files, the transfers often fail, with the status going through a repeating cycle of queued, requesting, connecting, uploading, aborted, and back to queued... over and over, until someone else gets the download slot.

When it happened this most recent time, I found out the downloader was using the same client as me (SoulseekQt build 2013.3.18). He tried deleting it from his queue, but it kept reappearing, I think because he has me in his user list (another common problem on Soulseek... canceled downloads come through anyway).

So then I tried adding some content to the text file, so it wouldn't be zero bytes. That was all it needed; the file went through with Completed status on both sides.

So it seems there's a problem with the handling of zero-byte files.

This should be fixed in tonight's build.

Thanks, Nir