Searched refs:smart_socket_data (Results 1 – 2 of 2) sorted by relevance
792 if (s->smart_socket_data.empty()) { in smart_socket_enqueue()794 s->smart_socket_data.assign(data.begin(), data.end()); in smart_socket_enqueue()796 std::copy(data.begin(), data.end(), std::back_inserter(s->smart_socket_data)); in smart_socket_enqueue()800 if (s->smart_socket_data.size() < 4) { in smart_socket_enqueue()804 uint32_t len = unhex(s->smart_socket_data.data(), 4); in smart_socket_enqueue()812 if ((len + 4) > s->smart_socket_data.size()) { in smart_socket_enqueue()813 D("SS(%d): waiting for %zu more bytes", s->id, len + 4 - s->smart_socket_data.size()); in smart_socket_enqueue()817 s->smart_socket_data[len + 4] = 0; in smart_socket_enqueue()819 D("SS(%d): '%s'", s->id, (char*)(s->smart_socket_data.data() + 4)); in smart_socket_enqueue()821 service = std::string_view(s->smart_socket_data).substr(4); in smart_socket_enqueue()[all …]
134 std::string smart_socket_data; member