…string`; also adjusted the internal function name.
…IX forward slashes `/` in the paths...
…st` directory as a post-build task in MSVC2013: auto-update that published binary whenever we build it again in 'production mode'.
…st & easy access: not every user has a full-fledged MSVC build environment and this binary is meant to be used by everyone who wishes to run a simple local website, e.g. when working with web site 'sources' included with a book.
…e()` and helper `mg_vec_matches_string()`; `default_mime_type` parameter MAY be NULL (which is useful to signal the caller that we don't know the MIME type for the given file/extension). - fix issue #2 : produce a 404 for JS/CSS/etc. files, i.e. any files which have a MIME type other than `text/html`
…rather than the WinPthreads32 library. This is a temporary change until winpthreads is fixed.
…the server - fix bug: don't print '304' HTTP errors in the log pane: it only scares users and it just means that Mongoose reported the file as 'Not Modified' which is perfectly legal.
…when mongoose restarts or is idle for a while.
…printf() as our implementation now has changed in a way that printf() errors, if any, are fatal anyhow, so a mg_cry() about such a failure would result in at least one more printf() b0rking then... Conflicts: Makefile mongoose.c
Conflicts: examples/chat.c main.c mongoose.c mongoose.h
…ode only works all the time when these append_log calls are included; looks like I missed some windows message queue peculiarity here :-S
…ngoose is used as a server which MAY connect to several ports, where other server apps MAY already have occupied some of these ports. One use is when mongoose is used as a specialty examples server where the ports serving the content don't really matter to be set up front, as long a port is available to serve the content after all.
Conflicts: upskirt win32/msvc2010/mongoose.sln
…errors to show in the browser: don't override everything with the 'click here to restart/stop' page.
…od root directory (current dir)
…hem. Also tweaked the generic error page a bit to render correctly in Safari/Win.
…bugs (like missing close box in dialog, button to visit root URL, etc.)
… Also filter for them in the mongoose user callback.
…ave precedence over the default page output ('click here for restart and here for quit')
…_SERVER_EXIT callback or later; also we require the use of the Win32_pthreads library as the mongoose-internal implementation of the broadcast call creates a race condition which will keep the book_samples_server in an infinite loop, waiting for a few client threads forever. Also export the mg_substitute_index_file() call to help client code act on existing index files when a directory request is being processed.
…rt request. Also exported the path logic in mg_mk_fullpath(), which was previously internal and Win32 only.
…arkDown and SSI support taken from the virtual_host server sample.
… the application window to start serving that directory.