Monero
Loading...
Searching...
No Matches
http_protocol_handler.inl File Reference
#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
#include "http_protocol_handler.h"
#include "reg_exp_definer.h"
#include "string_tools.h"
#include "file_io_utils.h"
#include "net_parse_helpers.h"
#include "time_helper.h"
Include dependency graph for http_protocol_handler.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::net_utils::http::multipart_entry

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::net_utils
namespace  epee::net_utils::http

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "net.http"
#define HTTP_MAX_URI_LEN   9000
#define HTTP_MAX_HEADER_LEN   100000
#define HTTP_MAX_STARTING_NEWLINES   8

Functions

bool epee::net_utils::http::match_boundary (const std::string &content_type, std::string &boundary)
bool epee::net_utils::http::parse_header (std::string::const_iterator it_begin, std::string::const_iterator it_end, multipart_entry &entry)
bool epee::net_utils::http::handle_part_of_multipart (std::string::const_iterator it_begin, std::string::const_iterator it_end, multipart_entry &entry)
bool epee::net_utils::http::parse_multipart_body (const std::string &content_type, const std::string &body, std::list< multipart_entry > &out_values)
bool epee::net_utils::http::analize_http_method (const boost::smatch &result, http::http_method &method, int &http_ver_major, int &http_ver_minor)

Macro Definition Documentation

◆ HTTP_MAX_HEADER_LEN

#define HTTP_MAX_HEADER_LEN   100000

◆ HTTP_MAX_STARTING_NEWLINES

#define HTTP_MAX_STARTING_NEWLINES   8

◆ HTTP_MAX_URI_LEN

#define HTTP_MAX_URI_LEN   9000

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "net.http"