summaryrefslogtreecommitdiff
path: root/dos
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-12-14 09:14:39 -0500
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2016-12-14 09:14:39 -0500
commitdc65ef038279df55d5e49052eabac4eae2617ee1 (patch)
tree84c7ffc081482c18c2bc0a6ddb1a4d6dd260f925 /dos
parent84de937689bcb35ea3ddae55d9c74dc23463f79c (diff)
downloaduIP-FOSSIL-dc65ef038279df55d5e49052eabac4eae2617ee1.tar.gz
uIP-FOSSIL-dc65ef038279df55d5e49052eabac4eae2617ee1.zip
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.
Diffstat (limited to 'dos')
-rw-r--r--dos/main.c4
-rw-r--r--dos/uip-conf.h2
2 files changed, 4 insertions, 2 deletions
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;