On Thu, 2013-12-19 at 15:38 +1100, Nick Withers wrote:
> Hi all,
> 
> The attached patch adds an "--enable-httpd-websocket" configure option
> to enable WebSocket (see http://www.websocket.org ,
> http://en.wikipedia.org/wiki/WebSocket ) in the Mongoose HTTP server.

In case it's preferred, the attached patch unconditionally enables
WebSocket support in the Mongoose HTTP server.

The (PowerPC) psim mghttpd01.exe goes from 5708594 B to 5736668 B with
this change, an extra 28074 B.
-- 
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.with...@anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446
>From f313102376dad066deb929958ad4059527bb8787 Mon Sep 17 00:00:00 2001
From: Nick Withers <nick.with...@anu.edu.au>
Date: Mon, 23 Dec 2013 12:17:02 +1100
Subject: [PATCH] Enable WebSocket in the Mongoose HTTP server

---
 cpukit/mghttpd/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/mghttpd/Makefile.am b/cpukit/mghttpd/Makefile.am
index 78af78d..bb5f84b 100644
--- a/cpukit/mghttpd/Makefile.am
+++ b/cpukit/mghttpd/Makefile.am
@@ -7,7 +7,7 @@ include_mghttpddir = $(includedir)/mghttpd
 project_lib_LIBRARIES = libmghttpd.a
 libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS)
 # libmghttpd_a_CPPFLAGS += -DHAVE_MD5
-libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI
+libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI -DUSE_WEBSOCKET
 
 libmghttpd_a_SOURCES = mongoose.c mongoose.h
 include_mghttpd_HEADERS = mongoose.h
-- 
1.8.4.3

_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to