From dc65ef038279df55d5e49052eabac4eae2617ee1 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Wed, 14 Dec 2016 09:14:39 -0500 Subject: Now compiles with Turbo C 2.0 using included makefile. Added better logging (to screen). Added supprot for opening and sending gzip'ed files if available on disk. --- dos/main.c | 4 ++-- dos/uip-conf.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'dos') diff --git a/dos/main.c b/dos/main.c index 0acf87e..d8d2870 100644 --- a/dos/main.c +++ b/dos/main.c @@ -84,8 +84,8 @@ int i, ret; void header() { printf("+----------------------------------------------------------+\n"); - printf("| uIP/FOSSIL HTTP Server Version 1.0 |\n"); - printf("| Copyright 2009 Jeffrey Armstrong |\n"); + printf("| uIP/FOSSIL HTTP Server Version 1.1 |\n"); + printf("| Copyright 2009, 2016 Jeffrey Armstrong |\n"); printf("| Portions Copyright Swedish Institute of Computer Science |\n"); printf("| Portions Copyright Adam Dunkels |\n"); printf("+----------------------------------------------------------+\n\n"); diff --git a/dos/uip-conf.h b/dos/uip-conf.h index 7b1099d..0540c0a 100644 --- a/dos/uip-conf.h +++ b/dos/uip-conf.h @@ -44,6 +44,8 @@ #define UIP_CONF_MAX_CONNECTIONS 50 +#define UIP_CONF_BUFFER_SIZE 1500 + typedef unsigned char u8_t; typedef unsigned int u16_t; -- cgit v1.2.3