libonion
|
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include "onion.h"
#include "dict.h"
#include "types_internal.h"
#include "log.h"
#include "sessions.h"
#include "block.h"
#include "listen_point.h"
#include "websocket.h"
#include "low.h"
#include "ptr_list.h"
#include "poller.h"
#include "utils.h"
Functions | |
void | onion_request_parser_data_free (void *token) |
Frees the parser data. | |
onion_request * | onion_request_new_from_socket (onion_listen_point *con, int fd, struct sockaddr_storage *cli_addr, socklen_t cli_len) |
onion_connection_status | onion_request_process (onion_request *req) |
Launches one handler for the given requestOnce the request is ready, launch it. | |
bool | onion_request_is_secure (onion_request *req) |
Determine if the request was sent over a secure listen point. |
void onion_request_parser_data_free | ( | void * | token | ) |
Frees the parser data.
References ONION_DEBUG0, and onion_low_free().
Referenced by onion_request_t::onion_request_clean(), and onion_request_t::onion_request_free().