1. 18 3月, 2017 3 次提交
    • P
      (log|lock)daemon: Don't spam logs with IO error messages after client disconnects · f0803dae
      Peter Krempa 提交于
      The log and lock protocol don't have an extra handshake to close the
      connection. Instead they just close the socket. Unfortunately that
      resulted into a lot of spurious garbage logged to the system log files:
      
      2017-03-17 14:00:09.730+0000: 4714: error : virNetSocketReadWire:1800 : End of file while reading data: Input/output error
      
      or in the journal as:
      
      Mar 13 16:19:33 xxxx virtlogd[32360]: End of file while reading data: Input/output error
      
      Use the new facility in the netserverclient to suppress the IO error
      report from the virNetSocket layer.
      f0803dae
    • P
      rpc: serverclient: Add option to suppress errors on EOF · 21a2d1b6
      Peter Krempa 提交于
      The protocol may not use an explicit API to close the connection and
      just close the socket instead. Add option to suppress errors in such
      case.
      21a2d1b6
    • P
      rpc: socket: Add possibility to suppress errors on read hangup · 494c302c
      Peter Krempa 提交于
      In some cases a read error due to connection hangup is expected. This
      patch adds a flag that removes the logging of a virError in such case.
      494c302c
  2. 17 3月, 2017 23 次提交
  3. 16 3月, 2017 14 次提交