| 55 | } |
| 56 | |
| 57 | void HttpServer::threadEntry() { |
| 58 | SI_LOG_INFO("Setting up HTTP server"); |
| 59 | |
| 60 | for (;; ) { |
| 61 | // call poll with a timeout of 500 ms |
| 62 | poll(500); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | std::size_t HttpServer::readFile(const char *filePath, std::string &data) const { |
| 67 | std::ifstream file; |
nothing calls this directly
no outgoing calls
no test coverage detected