libonion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
request.c File Reference
#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_requestonion_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.

Function Documentation

void onion_request_parser_data_free ( void *  token)