Commit f4055e7f authored by Olivier Crête's avatar Olivier Crête

agent: Read from sockets until G_IO_ERROR_WOULD_BLOCK

parent 448174e5
......@@ -3497,8 +3497,8 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent,
SocketSource *socket_source = item->data;
if (socket_source->last_condition & G_IO_IN) {
while (socket_source->last_condition & G_IO_IN && !received_enough &&
!error_reported) {
agent_unlock ();
component_io_cb (NULL, socket_source->last_condition, socket_source);
agent_lock();
......
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