1. 15 Apr, 2014 2 commits
    • 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.
    • Philip Withnall's avatar
      agent: Fix a leak in nice_output_stream_write() with a NULL cancellable · a5b8578d
      Philip Withnall authored
      If @cancellable is NULL in a call to nice_output_stream_write(), the
      WriteData struct is created with a reference count of 4, but only two
      operations are scheduled which will result in its reference count being
      decremented. The third operation is only scheduled if @cancellable is
      non-NULL (and the final reference is dropped unconditionally at the end
      of the function).
      Fix this by properly implementing reference counting for WriteData,
      rather than hard-coding the expected number of references in a fragile
      and unmaintainable way.
  2. 09 Apr, 2014 1 commit
  3. 06 Mar, 2014 1 commit
  4. 25 Feb, 2014 1 commit
  5. 24 Feb, 2014 1 commit
  6. 20 Feb, 2014 1 commit
  7. 13 Feb, 2014 1 commit
  8. 31 Jan, 2014 11 commits