diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-21 13:45:44 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-21 13:45:44 +0000 |
commit | 03ee87b35abdb8b92e8b55ec040fa943f9a6786c (patch) | |
tree | f6afd9650084eae3f0c92f47c6f205694168ad32 /Demos/Device/ClassDriver/RNDISEthernet | |
parent | 41ad6bd6d7e886412f6c12d98f040e51c3ee4fdf (diff) | |
download | lufa-03ee87b35abdb8b92e8b55ec040fa943f9a6786c.tar.gz lufa-03ee87b35abdb8b92e8b55ec040fa943f9a6786c.tar.bz2 lufa-03ee87b35abdb8b92e8b55ec040fa943f9a6786c.zip |
Fix up the incomplete Webserver project so that it integrates with the uIP stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated.
Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet')
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c b/Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c index dff684b31..7f2502027 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c @@ -43,7 +43,10 @@ char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n" "Server: LUFA RNDIS\r\n"
"Content-type: text/html\r\n"
"Connection: close\r\n\r\n";
-
+
+/** HTTP server response header, for transmission before a resource not found error. This indicates to the host that the given
+ * given URL is invalid, and gives extra error information.
+ */
char PROGMEM HTTP404Header[] = "HTTP/1.1 404 Not Found\r\n"
"Server: LUFA RNDIS\r\n"
"Connection: close\r\n\r\n";
|