diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-29 09:21:38 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-29 09:21:38 +0000 |
commit | e8b8ed2bad293b190c6b2ce9a575e73fbf93e9e2 (patch) | |
tree | ab31cd802c6c607db3fe0470efe33c09ce58065a /Projects/Webserver/Lib/uip | |
parent | 254a0c1ae83750a3c3e4e5ebfd390146f8ac36e0 (diff) | |
download | lufa-e8b8ed2bad293b190c6b2ce9a575e73fbf93e9e2.tar.gz lufa-e8b8ed2bad293b190c6b2ce9a575e73fbf93e9e2.tar.bz2 lufa-e8b8ed2bad293b190c6b2ce9a575e73fbf93e9e2.zip |
Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed.
Diffstat (limited to 'Projects/Webserver/Lib/uip')
-rw-r--r-- | Projects/Webserver/Lib/uip/conf/apps-conf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Projects/Webserver/Lib/uip/conf/apps-conf.h b/Projects/Webserver/Lib/uip/conf/apps-conf.h index 63a445ca9..88885a303 100644 --- a/Projects/Webserver/Lib/uip/conf/apps-conf.h +++ b/Projects/Webserver/Lib/uip/conf/apps-conf.h @@ -5,10 +5,13 @@ typedef struct
{
+ uint8_t PrevState;
uint8_t CurrentState;
+
+ FIL FileHandle;
char FileName[13];
- FIL FileToSend;
bool FileOpen;
+ uint32_t CurrentFilePos;
} uip_tcp_appstate_t;
typedef struct
|