[Bug 1779] New: Update mongoose HTTP server to version 2.11

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Apr 15 07:18:08 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1779

           Summary: Update mongoose HTTP server to version 2.11
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de


We should update the mongoose HTTP server to version 2.11.  This is the latest
release.  The benefit is that it has a new server start function:

// Start web server.
//
// Parameters:
//   callback: user defined event handling function or NULL.
//   options: NULL terminated list of option_name, option_value pairs that
//            specify Mongoose configuration parameters.
//
// Example:
//   const char *options[] = {
//     "document_root", "/var/www",
//     "listening_ports", "80,443s",
//     NULL
//   };
//   struct mg_context *ctx = mg_start(&my_func, options);
//
// Please refer to http://code.google.com/p/mongoose/wiki/MongooseManual
// for the list of valid option and their possible values.
//
// Return:
//   web server context, or NULL on error.
struct mg_context *mg_start(mg_callback_t callback, const char **options);

This server start function allows you to pass options.  We can then add an
option to configure the parameters of the server POSIX threads (like priority
etc.).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list