fix http resource not found
This commit is contained in:
@@ -15,6 +15,9 @@
|
||||
/* Wait forever (epoll_wait()) */
|
||||
#define CWS_SERVER_EPOLL_TIMEOUT -1
|
||||
|
||||
/* Main server loop */
|
||||
extern volatile bool cws_server_run;
|
||||
|
||||
/**
|
||||
* @brief Runs the server
|
||||
*
|
||||
@@ -40,12 +43,6 @@ void cws_server_setup_hints(struct addrinfo *hints, size_t len, const char *host
|
||||
*/
|
||||
void cws_server_loop(int sockfd);
|
||||
|
||||
// @TODO
|
||||
/**
|
||||
* @brief Cleanup server's resources
|
||||
*/
|
||||
void cws_server_cleanup();
|
||||
|
||||
/**
|
||||
* @brief Adds a file descriptor to the interest list
|
||||
*
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define CWS_HASHMAP_MAX_CLIENTS 1024
|
||||
|
||||
/**
|
||||
* @brief Hash map struct
|
||||
* @brief Client Hashmap struct
|
||||
*
|
||||
*/
|
||||
typedef struct cws_bucket_t {
|
||||
|
||||
Reference in New Issue
Block a user