(windows 7 version 0.9 cgi mode)
1. Read binary file into buffer
2. set header content-type
3. response.write the file
4. random return chars are in the downloaded making it unreadable
Using:
#include <fcntl.h> /* _O_BINARY */
unsigned int _CRT_fmode = _O_BINARY;
At the top of v8cgi.cc fixes it
Original issue reported on code.google.com by adamtalb...@googlemail.com on 2 Mar 2011 at 6:31
Original issue reported on code.google.com by
adamtalb...@googlemail.com
on 2 Mar 2011 at 6:31