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

Method check_connection_close

src/proxy/FetchSM.cc:247–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247bool
248FetchSM::check_connection_close()
249{
250 static const char CLOSE_TEXT[] = "close";
251 static size_t const CLOSE_LEN = sizeof(CLOSE_TEXT) - 1;
252
253 if (resp_received_close < 0) {
254 resp_received_close =
255 static_cast<int>(this->check_for_field_value(MIME_FIELD_CONNECTION, MIME_LEN_CONNECTION, CLOSE_TEXT, CLOSE_LEN));
256 }
257 return resp_received_close > 0;
258}
259
260int
261FetchSM::dechunk_body()

Callers

nothing calls this directly

Calls 1

check_for_field_valueMethod · 0.95

Tested by

no test coverage detected