[PATCH] Mongoose HTTPd from 3.2 to 3.9 (last commit before MIT -> GPL)

Nick Withers nick.withers at anu.edu.au
Thu Nov 7 22:43:51 UTC 2013


On Thu, 2013-11-07 at 09:12 -0500, Gedare Bloom wrote:
> Hi Nick,
> 
> I don't have a network-capable RTEMS setup at the moment, so I can't
> test/commit. However, have you tested the patched version? What RTEMS
> version (HEAD?) did you use, and what BSP?

Current Git master, yeah, with the PowerPC MVME3100.

I haven't tested extensively (just basic pages and that WebSockets work
when USE_WEBSOCKET's defined at build time (I'll try to figure out some
autotools to get --enable-httpd-websocket or something going)) and it'd
be good if someone else could check it, too.

I'm not sure that "static"ing mg_connect(), mg_url_encode() and
mg_vprintf() was necessarily the right thing to do it the later patch,
either. Perhaps they're supposed to be exposed through mongoose.h,
instead?

> -Gedare
> 
> On Thu, Nov 7, 2013 at 5:28 AM, Nick Withers <nick.withers at anu.edu.au> wrote:
> > On Thu, 2013-11-07 at 17:59 +1100, Nick Withers wrote:
> >> Hey all,
> >>
> >> The following patch updates the Mongoose HTTP server from 3.2 to 3.9, at
> >> the last point before the MIT -> GPL license change (going off the
> >> author's confirmation at https://groups.google.com/forum/#!
> >> topic/mongoose-users/aafbOnHonkI ).
> >
> > The attached restores the sys/select.h include and static-ifies some
> > functions to kill warnings.
> >
> >> ____
> >>
> >> From 76c451c9d101068dee796b715d2201d6956b0347 Mon Sep 17 00:00:00 2001
> >> From: Nick Withers <nick.withers at anu.edu.au>
> >> Date: Thu, 7 Nov 2013 17:46:54 +1100
> >> Subject: [PATCH] Update to Mongoose 3.9 at the last point before the MIT ->
> >>  GPL license change
> >>
> >> [See https://groups.google.com/forum/#!topic/mongoose-users/aafbOnHonkI regarding license change]
> >>
> >> 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)
> >>
> >> mongoose.1 appears to have been removed from the upstream distribution.
> >>
> >> Note that the short form of options (e.g., "u" instead of "run_as_user") are no longer available (upstream)
> >> ---
> > (snip)
> >> ____
> >>
> >> Anyone keen to commit it? Perhaps killing the man page isn't the way to
> >> go?
> >>
> >> My personal motivation is that I want to use (or at least, investigate)
> >> WebSockets, which aren't supported by Mongoose 3.2.
-- 
Nick Withers

Embedded Systems Programmer
Room 2.26, Building 57
Department of Nuclear Physics
Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)

eMail: nick.withers at anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446





More information about the devel mailing list