Commit ce90943f authored by Olivier Crête's avatar Olivier Crête 👻

socket: Add note that the packet dropping in tcp-bsd is broken behavior

parent f08083c8
......@@ -285,6 +285,9 @@ socket_send_message (NiceSocket *sock, const NiceOutputMessage *message)
ret = message->length;
}
} else {
/* FIXME: This dropping will break http/socks5/etc
* We probably need a way to the upper layer to control reliability
*/
/* If the queue is too long, drop whatever packets we can. */
if (g_queue_get_length (&priv->send_queue) >= MAX_QUEUE_LENGTH) {
guint peek_idx = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment