MCPcopy Create free account
hub / github.com/apache/mesos / on_header_value

Method on_header_value

3rdparty/libprocess/src/decoder.hpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 static int on_header_value(http_parser* p, const char* data, size_t length)
173 {
174 DataDecoder* decoder = (DataDecoder*) p->data;
175 CHECK_NOTNULL(decoder->request);
176 decoder->value.append(data, length);
177 decoder->header = HEADER_VALUE;
178 return http_parsing::SUCCESS;
179 }
180
181 static int on_headers_complete(http_parser* p)
182 {

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected