1. 28 Oct, 2018 1 commit
  2. 01 Oct, 2015 2 commits
  3. 23 Aug, 2014 2 commits
    • Philip Withnall's avatar
      agent: Add missing stream-closed checks for pseudo-TCP · 67179ffd
      Philip Withnall authored
      This got lost in rebasing the FIN–ACK work. component->tcp is now only
      NULL before the pseudo-TCP stream is initially created — afterwards, it
      is always non-NULL, but pseudo_tcp_stream_is_closed() returns TRUE if
      the stream has closed (gracefully or on errors). This allows
      differentiation between the states: TCP support was never initialised;
      and TCP support was initialised but is now closed.
    • Philip Withnall's avatar
      agent: Return 0 on EOS from nice_input_stream_read() · 7b6935c6
      Philip Withnall authored
      We should return 0 instead of G_IO_ERROR_CLOSED for consistency with
      recv() and read().
  4. 21 Aug, 2014 1 commit
  5. 31 Mar, 2014 1 commit
  6. 06 Mar, 2014 1 commit
  7. 20 Feb, 2014 1 commit
  8. 31 Jan, 2014 3 commits
    • Olivier Crête's avatar
      inputstream: Make the GSource hold a weak ref on the agent · ebb787e2
      Olivier Crête authored
      This also means that it can't have the component ref. Also make the
      cancellable a child source of this GPollableInputStream one
    • Philip Withnall's avatar
    • Philip Withnall's avatar
      agent: Add support for GIO-style I/O streams · 949f979a
      Philip Withnall authored
      This adds three new classes:
       • NiceIOStream
       • NiceInputStream
       • NiceOutputStream
      which allow wrapping a single stream/component pair in an I/O stream
      which can be used with the standard GIO functions.
      The streams are constructed as wrappers around a NiceAgent, with changes
      to the NiceAgent’s properties affecting all instantiated streams.
      Streams are only supported for reliable connections.
      If the NiceAgent stream which underlies a NiceInputStream,
      NiceOutputStream or NiceIOStream is removed, the I/O stream is marked as
      This is based on work originally done by Youness Alaoui