Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SW_HTTPServer by
Diff: SW_HTTPServer.h
- 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