summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-11cpukit/mttpd: Add a callback to generate a per file HTTP etagChris Johns1-6/+13
Close #3323.
2018-01-25Remove make preinstallChris Johns3-435/+5
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 Huber1-1/+1
Prepare for header file move to common include directory. Update #3254.
2016-06-22Move printer initialization to separate headerSebastian Huber1-1/+1
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 Huber2-0/+16
2014-12-15Enable WebSocket support in the Mongoose HTTP serverNick Withers1-1/+1
2014-08-28Regenerate all preinstall.am files.Joel Sherrill1-6/+6
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 Withers3-1403/+2572
[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 Sherrill2-0/+4
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 Mauderer1-4/+4
2012-07-12mghttpd: Add stack size and scheduling optionsChristian Mauderer2-0/+66
2012-07-12mghttpd: Use MD5 librarySebastian Huber1-0/+5
2012-07-12mghttpd: Use HAVE_CONFIG_HSebastian Huber1-0/+4
2012-07-12mghttpd: Update MongooseChristian Mauderer4-4797/+4292
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 Sherrill3-5/+0
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 Sherrill1-1/+0
2009-12-10Whitespace removal.Ralf Corsepius1-3/+3
2009-11-232009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+6
* 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 Corsepius1-7/+7
2009-11-17Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2009-11-17Add HAVE_SYS_MMAN_H HAVE_DLFCN_H.Ralf Corsepius1-0/+4
2009-11-17Convert to unix encoding.Ralf Corsepius2-4978/+4978
2009-11-17New.Ralf Corsepius3-0/+56
2009-11-172009-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-0/+5159
* mghttpd/mongoose.c, mghttpd/mongoose.h, mghttpd/mongoose.1: Import from svn http://mongoose.googlecode.com/svn/trunk (r477).