The lib with which to make LPC1768 a simple HTTP server. This have not yet implemented. fopen() DOESN'T WORK after EthernetInterface::connect() is called as using mbed-os 5.4~. See also https://os.mbed.com/questions/80658/HardFault-occurs-when-fopen-is-called-af/ or https://github.com/ARMmbed/mbed-os/issues/6578 and https://github.com/ARMmbed/mbed-os/issues/6624

Fork of HTTP_SERVER by Akifumi Takahashi

History

rename: Filehandler.h -> FileHandler.h default tip

2018-03-23, by aktk [Fri, 23 Mar 2018 07:40:26 +0000] rev 18

rename: Filehandler.h -> FileHandler.h


THe program hang up when fopen()@FileHandler::open()@HTTPServer::run() is called after EthernetInterface::connect()@HTTPServer::init() is done.

2018-03-23, by aktk [Fri, 23 Mar 2018 07:39:28 +0000] rev 17

THe program hang up when fopen()@FileHandler::open()@HTTPServer::run() is called after EthernetInterface::connect()@HTTPServer::init() is done.


ADD: DEBUG_PRINT_LINE etc. @Filehandler.cpp

2018-03-19, by aktk [Mon, 19 Mar 2018 09:25:32 +0000] rev 16

ADD: DEBUG_PRINT_LINE etc. @Filehandler.cpp


Defined functions for procedures of "Request Analysis" and "Response"

2018-03-16, by aktk [Fri, 16 Mar 2018 23:17:28 +0000] rev 15

Defined functions for procedures of "Request Analysis" and "Response"


"sys_thread_new number error"; TCP_PORT=80 redefine; tcp_port->port; char req_buf[] was not uesed, so deleted.; bool keep-alive was not uesed, so deleted.; stack size changed (char buffer[1024->256]); The error could be caused by stack overflow.

2018-03-16, by aktk [Fri, 16 Mar 2018 22:45:47 +0000] rev 14

"sys_thread_new number error"; TCP_PORT=80 redefine; tcp_port->port; char req_buf[] was not uesed, so deleted.; bool keep-alive was not uesed, so deleted.; stack size changed (char buffer[1024->256]); The error could be caused by stack overflow.


add (int) backlog; add (uint16_t) tcp_port; rm enum{TCP_PORT}

2018-03-04, by aktk [Sun, 04 Mar 2018 19:08:36 +0000] rev 13

add (int) backlog; add (uint16_t) tcp_port; rm enum{TCP_PORT}


Changed some name of var, and class.; ; In order to adapt to mbed os 5.

2018-03-04, by aktk [Sun, 04 Mar 2018 18:40:16 +0000] rev 12

Changed some name of var, and class.; ; In order to adapt to mbed os 5.


some printf -> DEBUG_PRINT_LINE;

2016-12-08, by aktk [Thu, 08 Dec 2016 10:10:43 +0000] rev 11

some printf -> DEBUG_PRINT_LINE;


Add contentable field name Upgrade, Sec-WebSocket-Accept, Access-Control-Allow-Origin for Websocket Server @ ResponseMessenger.cpp

2016-12-08, by aktk [Thu, 08 Dec 2016 05:56:53 +0000] rev 10

Add contentable field name Upgrade, Sec-WebSocket-Accept, Access-Control-Allow-Origin for Websocket Server @ ResponseMessenger.cpp


Some comments were added.

2016-12-06, by aktk [Tue, 06 Dec 2016 07:29:01 +0000] rev 9

Some comments were added.