summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/red_channel.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 25854981..fe4c614f 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -529,12 +529,7 @@ static void red_channel_event(int fd, int event, void *data)
if (event & SPICE_WATCH_EVENT_READ) {
red_channel_receive(channel);
}
- // TODO: || channel->send_data.blocked ? (from red_worker. doesn't really make sense if we have an event
- // fired in that case)
- if (event & SPICE_WATCH_EVENT_WRITE || channel->send_data.blocked) {
- if (channel->send_data.blocked && ! (event & SPICE_WATCH_EVENT_WRITE)) {
- red_printf("pushing because of blocked");
- }
+ if (event & SPICE_WATCH_EVENT_WRITE) {
red_channel_push(channel);
}
}