#363 http server returns Content-Length:zu

For_2.0
open
nobody
5
2015-07-21
2015-07-21
No

Built with MinGW-w64 toolset, the previous version (2.0.21) works fine, but version 2.0.22 does not.

The cause is simple: previous version is using MinGW-w64's printf group of functions, the later is using Windows' functions. Note: the MinGW functions handle both kinds of format specifiers, posix & MS.

Using the known fixes (CPPFLAGS=-D__USE_MINGW_ANSI_STDIO=1) doesn't make a difference.

I didn't find what caused this change, but the attached fix (should *) work in general.

  • Only tested with MinGW-w64.
1 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks