Added declaration to avoid warning C4115 (named type definition in parentheses) issued by Visual Studio 2012.
Suppress warning C4204 (non-constant aggregate initializer) issued by Visual Studio 2012 due to missing C99 support.
Suppress warning C4127 (conditional expression is constant) issued by Visual Studio 2012 introduced by FD_SET(..) which is using the do-while(0) trick.
Avoid memory leaks if duplicate options are passed.
Added support for Ogg Vorbis audio files
Changed signature of url_decode(): signalling on destination buffer overflow. mg_get_var() now does not require extra space for variable buffer
Using O_BINARY on win32 for uploaded files
Minor refactoring
On new connection, clear off receiving buffer
Added test_skip_quoted()
Added mg_upload()
Merge branch 'master' of ssh://github.com/valenok/mongoose
Merge pull request #49 from nullable-type/master

Avoid some level-4 warnings issued by Visual Studio (2012 and possibly previous versions)
Minor refactoring in examples/upload.c
Merge pull request #60 from bakanatorz/master

Added support for Ogg Vorbis audio files
Made the names of the function arguments of the declaration and the definition of mg_get_var(..) the same.

Changed the error codes to have a consistent way of reporting errors. -2 is returned if there is a problem with the size of the destination buffer. -1 is returned if the variable is not found.

Updated the documentation of mg_get_var(..) in mongoose.h and removed the redundant comments from mongoose.c.
Merge pull request #65 from nullable-type/master

Inconsistent error codes of mg_get_var(..)
Merge branch 'master' of ssh://github.com/valenok/mongoose
Made behavior of mg_get_cookie(..) on errors the same as mg_get_var(..). Separated the two cases a.) problems with destination buffer and b.) cookie header or cookie parameter not existing.
Fix for hang when sending large request with SSL enabled

When using SSL, we must use SSL_pending() in addition to/instead of select() to determine whether there is SSL data to be read.
This update makes the SSL_pending() function available and uses is to check for data if select() indicates there is no data.

See https://github.com/valenok/mongoose/issues/47