| 245 | } |
| 246 | |
| 247 | bool |
| 248 | FetchSM::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 | |
| 260 | int |
| 261 | FetchSM::dechunk_body() |
nothing calls this directly
no test coverage detected