projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07964a3
)
outputstream: Always try sending
author
Olivier Crête
<olivier.crete@collabora.com>
Mon, 7 Jul 2014 23:38:13 +0000
(19:38 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Mon, 7 Jul 2014 23:38:13 +0000
(19:38 -0400)
Otherwise we're never woken up when it's again possible to send
agent/outputstream.c
patch
|
blob
|
history
diff --git
a/agent/outputstream.c
b/agent/outputstream.c
index
a8364ad
..
2062421
100644
(file)
--- a/
agent/outputstream.c
+++ b/
agent/outputstream.c
@@
-538,13
+538,6
@@
nice_output_stream_write_nonblocking (GPollableOutputStream *stream,
return 0;
}
- /* This is equivalent to the default GPollableOutputStream implementation. */
- if (!g_pollable_output_stream_is_writable (stream)) {
- g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK,
- g_strerror (EAGAIN));
- g_object_unref (agent);
- return -1;
- }
n_sent = nice_agent_send (agent, priv->stream_id, priv->component_id,
count, buffer);