From 810858579505ca685baa61c07ccd2c86ab069680 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 11 Apr 2010 21:23:45 +0000 Subject: [PATCH] Configure maximum number of Apple2 web server connections indirectly via maximum number of TCP connections. --- examples/webserver/Makefile.apple2enh.defines | 2 +- platform/apple2enh/contiki-conf.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/webserver/Makefile.apple2enh.defines b/examples/webserver/Makefile.apple2enh.defines index a17e2c1c1..70fa579ff 100644 --- a/examples/webserver/Makefile.apple2enh.defines +++ b/examples/webserver/Makefile.apple2enh.defines @@ -1 +1 @@ -DEFINES = WITH_LOGGING,WITH_BOOST +DEFINES = WITH_LOGGING,WITH_BOOST,CONNECTIONS=5 diff --git a/platform/apple2enh/contiki-conf.h b/platform/apple2enh/contiki-conf.h index 97162b3a4..ccb1ef9d1 100644 --- a/platform/apple2enh/contiki-conf.h +++ b/platform/apple2enh/contiki-conf.h @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: contiki-conf.h,v 1.21 2010/03/27 15:16:57 oliverschmidt Exp $ + * $Id: contiki-conf.h,v 1.22 2010/04/11 21:23:45 oliverschmidt Exp $ */ #ifndef __CONTIKI_CONF_H__ @@ -53,9 +53,6 @@ #define IRC_CONF_WIDTH 80 #define IRC_CONF_HEIGHT 23 -#define WEBSERVER_CONF_CGI_CONNS UIP_CONNS -#define WEBSERVER_CONF_CFS_CONNS 8 - 3 - #define WWW_CONF_WEBPAGE_WIDTH 80 #define WWW_CONF_WEBPAGE_HEIGHT 19 #define WWW_CONF_HISTORY_SIZE 4