Erik - / SW_HTTPServer

Fork of SW_HTTPServer by David Smart

Revision:
9:2ea342765c9d
Parent:
8:262583f054f6
Child:
10:9c8d2c6a3469
--- a/SW_HTTPServer.h	Mon Jul 01 04:36:54 2013 +0000
+++ b/SW_HTTPServer.h	Thu Jul 04 01:58:13 2013 +0000
@@ -13,18 +13,20 @@
 #define PC Serial
 #endif
 
-/// This is the default buffer size used to send files. You might
-/// size this to be a little less than the ethernet frame size
-#define FILESEND_BUF_SIZE 1200
+/// This is the default buffer size used to send files. You might size
+/// this to be equal or less than the payload size of 1460 bytes.
+/// See User Manual 3.6.1.
+#define FILESEND_BUF_SIZE 1460
 
 
-/// MAX_HEADER_SIZE is the default size to contain the largest header. This is
-/// the size of the URL and query string, and also all the
+/// MAX_HEADER_SIZE is the default size to contain the largest header. 
+/// This is the size of the URL and query string, and also all the
 /// other header information about the client. This can be
 /// a couple of K, larger if you have big forms as it includes the 
 /// form data that is submitted.
 #define MAX_HEADER_SIZE 1000
 
+
 /// HTTPServer is a simple web server using the WiFly module.
 /// 
 /// While simple, it is a capable, web server. The basic mode