Updated the version history
This commit is contained in:
parent
cb16ab7c41
commit
ab6260a2ac
@ -82,9 +82,9 @@ class TCPServer
|
||||
{
|
||||
T *clientPointer = createNewClient(wc);
|
||||
_clientList.addFirst(clientPointer);
|
||||
//#ifdef DEBUG_TCPS
|
||||
#ifdef DEBUG_TCPS
|
||||
Serial.printf("TCPServer : New client accepted. Id : %u , Number of clients : %u, local port : %u, remote port : %u\n",clientPointer->_id, _clientList.count(),clientPointer->_client.localPort(),clientPointer->_client.remotePort());
|
||||
//#endif
|
||||
#endif
|
||||
greetClient(clientPointer);
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "SDCardManager.h"
|
||||
#include "HttpConstants.h"
|
||||
//#define DEBUG_WEBS
|
||||
#define READ_WRITE_BUFFER_SIZE 2500
|
||||
#define READ_WRITE_BUFFER_SIZE 2000
|
||||
|
||||
template <typename T>
|
||||
class WEBServer : public TCPServer<T>, public HttpConstants
|
||||
@ -53,7 +53,7 @@ class WEBServer : public TCPServer<T>, public HttpConstants
|
||||
if(buffer != NULL)
|
||||
{
|
||||
strcpy(buffer, content);
|
||||
sprintf(header,"HTTP/1.1 200 OK\r\nContent-Type: %s\r\nContent-Length: %lu\r\n\r\n%s",contentType,strlen(buffer), buffer);
|
||||
sprintf(header,"HTTP/1.1 200 OK\r\nContent-Type: %s\r\nContent-Length: %d\r\n\r\n%s",contentType,strlen(buffer), buffer);
|
||||
free(buffer);
|
||||
}
|
||||
}
|
||||
|
@ -33,5 +33,7 @@
|
||||
#define SOFT_VERSION "1.6.1" //Reworked the ScreenManager in order to display previous views and did some code optimization
|
||||
#define SOFT_VERSION "1.6.2" //Added a run method to the screen manager and reworked the error system
|
||||
#define SOFT_VERSION "1.6.3" //Added a new api call to get nearby wifi access points
|
||||
#define SOFT_VERSION "1.6.4" //Added the forceRefresh() method to the ScreenManager Object
|
||||
#define SOFT_VERSION "1.6.5" //Removed the sd card mount and unmount api calls, replaced with the sdCardAction api call which takes a parameter (does the same thing)
|
||||
|
||||
#endif //VERSIONS_H
|
||||
|
Loading…
Reference in New Issue
Block a user