Searched refs:handshake_len (Results 1 – 1 of 1) sorted by relevance
258 int handshake_len; in core_connection_switch_stream() local280 handshake_len = in core_connection_switch_stream()282 _zero_terminate(buf, sizeof(buf), handshake_len); in core_connection_switch_stream()284 if (handshake_len >= 1) { in core_connection_switch_stream()285 if (buf[handshake_len - 1] == '\r' || buf[handshake_len - 1] == '\n') { in core_connection_switch_stream()286 buf[handshake_len - 1] = '\0'; in core_connection_switch_stream()287 if (handshake_len >= 2 && (buf[handshake_len - 2] == '\r' || in core_connection_switch_stream()288 buf[handshake_len - 2] == '\n')) { in core_connection_switch_stream()289 buf[handshake_len - 2] = '\0'; in core_connection_switch_stream()294 if (_is_reply_ok(buf, handshake_len)) { in core_connection_switch_stream()[all …]