Hello Christian, thanks for reply. :-)
So, I've tested it on Xubuntu 14.04 64 bits and it has worked fine, so it seems to be a problem related to MHD on Windows. I'm using Windows 7 Pro 64 bits, and MHD was compiled for 32 bits with MingWG-w64 32 bits. To compile the demo I just opened and compiled it in my CLion, so I think that it doesn't have an I/O limit, and I have 40 GB on my disk.
I've noticed that the progress stay a long time (~1min) in 99% even on Linux, but it receive the entire upload.
Can anybody confirm if it's a bug related only to MHD on Windows? :-/