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

Method parse

include/proxy/hdrs/MIME.h:1392–1403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1390 -------------------------------------------------------------------------*/
1391
1392inline int
1393MIMEHdr::parse(MIMEParser *parser, const char **start, const char *end, bool must_copy_strs, bool eof,
1394 bool remove_ws_from_field_name, size_t max_hdr_field_size)
1395{
1396 if (!m_heap)
1397 m_heap = new_HdrHeap();
1398
1399 if (!m_mime)
1400 m_mime = mime_hdr_create(m_heap);
1401
1402 return mime_parser_parse(parser, m_heap, m_mime, start, end, must_copy_strs, eof, remove_ws_from_field_name, max_hdr_field_size);
1403}
1404
1405/*-------------------------------------------------------------------------
1406 -------------------------------------------------------------------------*/

Callers

nothing calls this directly

Calls 3

new_HdrHeapFunction · 0.85
mime_hdr_createFunction · 0.85
mime_parser_parseFunction · 0.85

Tested by

no test coverage detected