HttpServer Library for "mbed classic" which added a snapshot handler.
Dependents: GR-PEACH_WebCamera_OV5642_fixedIP GR-PEACH_WebCamera_AP
Fork of HttpServer by
Diff: HTTPServer.h
- Revision:
- 10:4ab2f287d06d
- Parent:
- 9:d117d5f84994
--- a/HTTPServer.h Thu Dec 03 07:57:01 2015 +0000 +++ b/HTTPServer.h Tue Apr 19 02:21:29 2016 +0000 @@ -129,7 +129,7 @@ #ifdef _DEBUG_HTTP_SERVER_H printf("Looking for a handler\r\n"); #endif - map< string, HTTPRequestHandler*(*)(const char*, const char*, TCPSocketConnection*) >::iterator it; + map< string, HTTPRequestHandler*(*)(const char*, const char*, TCPSocketConnection*), handlersComp >::iterator it; int root_len = 0; for (it = m_lpHandlers.begin(); it != m_lpHandlers.end(); it++) { #ifdef _DEBUG_HTTP_SERVER_H