• Philip Withnall's avatar
    agent: Fix GSource dispatches for UDP NiceOutputStreams · 479c2ee3
    Philip Withnall authored
    The GSource created by g_pollable_output_stream_create_source() on a
    NiceOutputStream would never have been dispatched, due to not having any
    poll events (or anything else); it only works for TCP streams because of
    a GCancellable child source which is triggered by the TCP code.
    
    Fix that by making ComponentSource suitable for G_IO_IN and G_IO_OUT
    again, and adding that as a child source for UDP output stream GSources.
    479c2ee3
inputstream.c 13.9 KB