Bitcoin Core  22.99.0
P2P Digital Currency
Functions
http_request.cpp File Reference
#include <httpserver.h>
#include <netaddress.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <util/strencodings.h>
#include <event2/buffer.h>
#include <event2/event.h>
#include <event2/http.h>
#include <event2/http_struct.h>
#include <cassert>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for http_request.cpp:

Go to the source code of this file.

Functions

int evhttp_parse_firstline (struct evhttp_request *, struct evbuffer *)
 
int evhttp_parse_headers (struct evhttp_request *, struct evbuffer *)
 
int evhttp_parse_firstline_ (struct evhttp_request *r, struct evbuffer *b)
 
int evhttp_parse_headers_ (struct evhttp_request *r, struct evbuffer *b)
 
std::string RequestMethodString (HTTPRequest::RequestMethod m)
 HTTP request method as string - use for logging only. More...
 
 FUZZ_TARGET (http_request)
 

Function Documentation

◆ evhttp_parse_firstline()

int evhttp_parse_firstline ( struct evhttp_request *  ,
struct evbuffer *   
)
Here is the caller graph for this function:

◆ evhttp_parse_firstline_()

int evhttp_parse_firstline_ ( struct evhttp_request *  r,
struct evbuffer *  b 
)
inline

Definition at line 27 of file http_request.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evhttp_parse_headers()

int evhttp_parse_headers ( struct evhttp_request *  ,
struct evbuffer *   
)
Here is the caller graph for this function:

◆ evhttp_parse_headers_()

int evhttp_parse_headers_ ( struct evhttp_request *  r,
struct evbuffer *  b 
)
inline

Definition at line 31 of file http_request.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FUZZ_TARGET()

FUZZ_TARGET ( http_request  )

Definition at line 42 of file http_request.cpp.

Here is the call graph for this function:

◆ RequestMethodString()

std::string RequestMethodString ( HTTPRequest::RequestMethod  m)

HTTP request method as string - use for logging only.

Definition at line 185 of file httpserver.cpp.

Here is the caller graph for this function: