Searched refs:max_payload (Results 1 – 4 of 4) sorted by relevance
153 const size_t max_payload = s->get_max_payload(); in local_socket_flush_outgoing() local155 data.resize(max_payload); in local_socket_flush_outgoing()157 size_t avail = max_payload; in local_socket_flush_outgoing()182 if (avail != max_payload && s->peer) { in local_socket_flush_outgoing()183 data.resize(max_payload - avail); in local_socket_flush_outgoing()912 size_t max_payload = MAX_PAYLOAD; in get_max_payload() local914 max_payload = std::min(max_payload, transport->get_max_payload()); in get_max_payload()917 max_payload = std::min(max_payload, peer->transport->get_max_payload()); in get_max_payload()919 return max_payload; in get_max_payload()
276 max_payload = MAX_PAYLOAD; in atransport()392 size_t max_payload; variable
1161 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()1173 return max_payload; in get_max_payload()
939 TEST(liblog, max_payload) { in TEST() argument