A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Changes

RevisionDateWhoCommit message
60:d49a346c386f 2019-02-27 WiredHome Enable header code 302 default tip
59:9a71ac02c782 2019-02-26 WiredHome Update server handler and memory allocation
58:5303e962f711 2018-11-18 WiredHome Use secure versions of strcpy, strcat.
57:fb81057b4d77 2018-07-10 WiredHome Adjust the blocking and non-blocking interfaces.
56:df915cb8ba9a 2018-07-10 WiredHome Change socket i/f to blocking
55:238dd90b6fb3 2018-07-02 WiredHome Fixed a defect where it was failing to reply. When it experienced a timeout waiting, the state machine transferred to a different state rather than continuing to wait for a request. This was a huge improvement.
54:435bf9b66b2b 2018-06-10 WiredHome Revert to last stable
53:e5d96abe5e9b 2018-06-10 WiredHome Intermediate check-in
52:611a3b360f8c 2017-12-03 WiredHome tiny code cleanup
51:758601b9bacd 2017-04-11 WiredHome Adjusted listen to handle a backlog of 5 transactions.
50:10db483f5154 2017-04-10 WiredHome a little optimization of the header( ) function.
49:cd391662f254 2017-04-09 WiredHome Integrate the blocking time parameter into the code.; Correct/improve the documentation for sending custom headers.
48:078adbe279ac 2017-04-08 WiredHome Minor change - an additional optional parameter on the constructor that defines the blocking time (in msec) when Poll() is called. The default was way too long for most needs.
47:4c29c8f0cff2 2017-02-05 WiredHome Added javascript (.js) to the default list of file types.
46:eaa86d48be6f 2017-02-05 WiredHome Update the documentation on the dynamic callback functions.
45:360c7c1d07b7 2016-04-11 WiredHome Modified the timeout on the set_blocking call
44:71f09e4255f4 2016-03-26 WiredHome Significant changes; unfortunately as a breaking change. The header() API is where the breaking change is, and will require a small amount of source-code change by the users. Improvements to efficiency, parsing of different methods, and responses.
43:3fc773c2986e 2015-02-02 WiredHome Corrected a defect where one of the HTTPServer parameters was not being used as planned - for parsing header items.; Updating the mbed library, make it easy to run on the Application Board (shows IP address on the LCD).; Not quite 100% yet.
42:0d5b682bb17a 2014-09-03 Sissors Fixed some bugs regarding processing of post stuff (it checked if received was smaller or equal to what it should receive instead of smaller, and a debug statement caused a lock up in some situations).
41:6f2f1fb96742 2014-09-03 Sissors CC3000 support (modified some blocking for it, required for rev 46), fixed close connection, added a debug message in send command.
40:02c49fadbb94 2014-09-01 WiredHome Trivial documentation changes.
39:0427544a5c08 2014-09-01 WiredHome Removed requirement for WiFly module - permitting any Ethernet compatible interface.; Improved the processing of POST method.
38:c8fa31e6fe02 2014-07-26 WiredHome Starting to remove Wifly dependence.; The last is the published stable version, this one is experimental.
37:0cb2774e2410 2014-05-11 WiredHome Enhanced to support POST as well as GET methods.
36:1bb5fa6b109c 2014-05-02 WiredHome Small update to disable DEBUG output and to swap from modserial to RawSerial.
35:2d756262d095 2014-01-04 WiredHome A small change to diagnostics only.
34:019212c05980 2014-01-04 WiredHome Remove a diagnostic message.
33:ef165a67ab22 2014-01-03 WiredHome Numerous changes related to debug, and cache management, as well as for routing transactions from a POST command.
32:7ded9bacb546 2013-12-30 WiredHome Explore how to pass chunks received to client app
31:8f72be717a3c 2013-11-28 WiredHome Debug turned off.
30:864843965b40 2013-10-12 WiredHome Removed a bit of debugging that hasn't brought value in a while - malloc and free.
29:00116fc9da74 2013-10-11 WiredHome Picked up new MODSERIAL lib from Erik Olieman, which captures stdout.
28:f93ef41b78e1 2013-10-11 WiredHome Revised the return value from the callback in preparation for more complex transactions.
27:90a1f5a5392f 2013-10-10 WiredHome Diagnostic improvements.
26:38102ef2b132 2013-10-10 WiredHome Dead code elimination
25:f7d6df7a700a 2013-10-10 WiredHome Small change in the diagnostic print
24:062431453abb 2013-10-10 WiredHome Added GetWebRoot API
23:6963f45e950a 2013-10-10 WiredHome Enhanced debugging, but this version does not work. It hangs in the SendResponse, for reasons unknown.
22:55974de690c1 2013-10-10 WiredHome documentation updates.
21:660143f20b04 2013-09-26 WiredHome Making one API deprecated - the one which fetches the IP of the connected client. This is based on the WiflyInterface, and makes that more compatible with EthernetInterface.
20:786aa5749007 2013-09-14 WiredHome Reduce dependency on Wifly toward more standardized socket interface.
19:7677fce798fa 2013-09-14 WiredHome Debug turned off
18:6199558632c0 2013-09-14 WiredHome Documentation updates only.
17:69ff00ce39f4 2013-09-05 WiredHome Some additional performance metrics implemented which helped tune and speed it up a bit.
16:6ebacf2946d8 2013-09-01 WiredHome Default to non-blocking mode, and some minor documentation changes.
15:581a21c32962 2013-08-13 WiredHome Corrected a documentation error in the class usage.
14:19c5f6151319 2013-08-12 WiredHome Refactor the base64 encoder and decoder.; Refactor the http server code to simplify the parsing of the header.;
13:8975d7928678 2013-08-12 WiredHome Added Base64 Encode/Decode for simple password management
12:109bf1558300 2013-08-11 WiredHome Added Base64 encode/decode, but not yet implementing it.
11:17d84c41a7b3 2013-08-04 WiredHome Dead code removal, and small cleanup of the diagnostics messaging.
10:9c8d2c6a3469 2013-07-27 WiredHome Rename a timer to better reflect its purpose.; Minor API change to avoid going direct to the Wifly module.
9:2ea342765c9d 2013-07-04 WiredHome Minor documentation changes, and allocation of some items to const space.
8:262583f054f6 2013-07-01 WiredHome Some refactoring while working issues with the wifly interface.
7:99ad7a67f05e 2013-06-27 WiredHome close_connection revised to return the results from close(); Small changes for development
6:fdce4464d92b 2013-06-25 WiredHome Improved documentation on accessing the Wifly object thru the server.
5:c9b27e718054 2013-06-25 WiredHome Add API to get remote address (IP of the connected device)
4:f34642902056 2013-06-25 WiredHome When a pointer to a buffer is passed in to the Wifly APIs that can modify that buffer, it will also pass the size of that buffer to avoid buffer overrun.
3:17928786bdb5 2013-06-24 WiredHome Revise so buffer allocations are alterable
2:a29c32190037 2013-06-02 WiredHome turned off debug
1:54353af0d20a 2013-05-31 WiredHome Updated the documentation