MCPcopy Create free account
hub / github.com/GraphChi/graphchi-cpp / read_request

Function read_request

src/external/vpiotr-mongoose-cpp/mongoose.c:2616–2632  ·  view source on GitHub ↗

Keep reading the input (either opened file descriptor fd, or socket sock, or SSL descriptor ssl) into buffer buf, until \r\n\r\n appears in the buffer (which marks the end of HTTP request). Buffer buf may already have some data. The length of the data is stored in nread. Upon every read operation, increase nread by the number of bytes read.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

handle_cgi_requestFunction · 0.85
process_new_connectionFunction · 0.85

Calls 2

pullFunction · 0.85
get_request_lenFunction · 0.85

Tested by

no test coverage detected