lsp_mg_read: remove dead code, return nil on empty read
mg_upload: trigger callback when file is already closed
Environmental variables required for PHP cgi.

In few windows machines, the environment variables "ProgramFiles" is required to successfully execute PHP code especially socket functions.
Merge pull request #157 from Thileepan/master

Environment variable required for PHP cgi
removing warning about _CRT_SECURE_NO_WARNINGS if it is already defined

	modified:   mongoose.c
Merge pull request #159 from aerotech/master

_CRT_SECURE_NO_WARNINGS should not generate a warning if already defined
Expose mg_url_decode to the API
url_decode -> mg_url_decode
Fixed leaks, per afs-bb https://github.com/valenok/mongoose/pull/161
Updated readme
Signature for mg_get_cookie changed
websocket code fix, https://github.com/valenok/mongoose/pull/146
Added .ttf mime type, https://github.com/valenok/mongoose/issues/129
Not using realloc2 in set_ports_option
Not leaking socket in set ports option
Added sanity checking in send_file_data()
Fix parameter 1 for select in poll()
Merge pull request #164 from fredfung/master

Fix parameter 1 for select in poll()
Style changes in poll()
Merge pull request #131 from abadc0de/lua_read_fixup

lsp_mg_read: remove dead code, return nil on empty read