MCPcopy Create free account
hub / github.com/apache/trafficserver / get_body_ptr

Function get_body_ptr

src/api/InkAPITest.cc:205–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203//////////////////////////////////////////////////////////////////////////////
204
205static char *
206get_body_ptr(const char *request)
207{
208 char *ptr = const_cast<char *>(strstr(request, "\r\n\r\n"));
209 return (ptr != nullptr) ? (ptr + 4) : nullptr;
210}
211
212/* Caller must free returned request */
213static char *

Callers 1

cont_test_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected