summaryrefslogtreecommitdiff
path: root/cpukit/mghttpd (follow)
AgeCommit message (Collapse)Author
2020-10-10mghttpd/mongoose: Fix string truncation warningFrank Kühndel
This fixes the compiler warning below. ../../../cpukit/mghttpd/mongoose.c:1919:45: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 255 [-Wformat-truncation=]
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-10-10build: Merge mghttpd/Makefile.amSebastian Huber
2018-10-09build: Remove specialized CPPFLAGSSebastian Huber
2018-10-04mghttpd: Add configuration to source fileSebastian Huber
Update #3375.
2018-04-11cpukit/mttpd: Add a callback to generate a per file HTTP etagChris Johns
Close #3323.
2018-01-25Remove make preinstallChris Johns
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-12-13mghttpd: Include <mghttpd/mongoose.h>Sebastian Huber
Prepare for header file move to common include directory. Update #3254.
2016-06-22Move printer initialization to separate headerSebastian Huber
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
2016-06-06mghttpd: Add RTEMS printer supportSebastian Huber
2014-12-15Enable WebSocket support in the Mongoose HTTP serverNick Withers
2014-08-28Regenerate all preinstall.am files.Joel Sherrill
Apparently, at some point automake output changed and these were not updated.
2013-12-04Update to Mongoose 3.9 at the last point before the MIT -> GPL license changeNick Withers
[That is, https://github.com/cesanta/mongoose/commit/04fc209644b414d915c446bb1815b55e9fe63acc. See https://groups.google.com/forum/#!topic/mongoose-users/aafbOnHonkI] The RTEMS patches described in the following emails and made to the previous Mongoose base have been applied: - http://www.rtems.org/pipermail/rtems-devel/2012-July/001345.html - http://www.rtems.org/pipermail/rtems-devel/2012-July/001343.html - http://www.rtems.org/pipermail/rtems-devel/2012-July/001346.html (except to mongoose.1, see below) ...as well as a patch very similar to that discussed at http://forums.bannister.org/ubbthreads.php?ubb=showflat&topic=7600&gonew=1 to provide poll() (which might be able to go away soon, with incoming RTEMS poll() support) mg_connect(), mg_url_encode() and mg_vprintf() were additionally marked "static" to silence warnings. mongoose.1 appears to have been removed from the upstream distribution. Note that the API's changed, for example: - A struct mg_callbacks must now be provided to mg_start(). Initialise members to NULL to disable various types of callbacks - Callback interfaces have changed significantly in general - The short form of options (e.g., "u" instead of "run_as_user") are no longer available (upstream) - The "max_request_size" options has been removed
2012-10-03mghttpd: Requires POSIX to build server and testsJoel Sherrill
Formerly, mghttpd was conditional only on networking being enabled. It uses on pthread and must also be conditional on POSIX threads support being enabled.
2012-07-12mghttpd: Clarify commentChristian Mauderer
2012-07-12mghttpd: Add stack size and scheduling optionsChristian Mauderer
2012-07-12mghttpd: Use MD5 librarySebastian Huber
2012-07-12mghttpd: Use HAVE_CONFIG_HSebastian Huber
2012-07-12mghttpd: Update MongooseChristian Mauderer
Update to Mongoose Mercurial revision 268:38a02c8a6744 available at: https://code.google.com/p/mongoose/
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-02-01Remove all .cvsignore files.Joel Sherrill
2009-12-10Whitespace removal.Ralf Corsepius
2009-11-232009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* mghttpd/mongoose.c: crypto_sw table is not used when SSL is disabled. RTEMS does not have flockfile/funlockfile.
2009-11-17Various 16bit fixes.Ralf Corsepius
2009-11-17Add HAVE_CONFIG_H.Ralf Corsepius
2009-11-17Add HAVE_SYS_MMAN_H HAVE_DLFCN_H.Ralf Corsepius
2009-11-17Convert to unix encoding.Ralf Corsepius
2009-11-17New.Ralf Corsepius
2009-11-172009-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* mghttpd/mongoose.c, mghttpd/mongoose.h, mghttpd/mongoose.1: Import from svn http://mongoose.googlecode.com/svn/trunk (r477).