1. 11 2月, 2014 4 次提交
    • Travis Cross's avatar
      Add mod_sofia support for setting socket TCP keepalive · cd6154b4
      Travis Cross 提交于
      Some OSes like linux provide a mechanism for sending TCP keepalive
      pings.  Sofia provides its own mechanism for doing this in userspace.
      We shouldn't conflate these two mechanisms.
      
      FS-6104
      cd6154b4
    • Travis Cross's avatar
      Rework handling of Linux TCP keepalives in Sofia · 92e2caf8
      Travis Cross 提交于
      This separates out the Linux socket TCP keepalive timeout interval
      from Sofia's internal mechanisms.  Earlier we tied these together.  In
      retrospect this seems improper.
      
      These two values can now be set separately.
      
      You might, for example, want to keep the Sofia internal mechanism
      disabled completely while enabling the platform-based mechanism if
      your platform supports it.
      
      We also here reform the default value of the socket TCP keepalive
      parameter to 30 seconds.
      
      This is what commit 1bf17857 should
      have been.
      
      FS-6104
      92e2caf8
    • Travis Cross's avatar
      f7c4dd79
    • Travis Cross's avatar
      Synchronize Sofia and Linux TCP keepalive timeout units · 01a4aeaa
      Travis Cross 提交于
      Sofia keeps the TCP keepalive timeout in milliseconds, but Linux
      expects the value in seconds.  Before this change, it's unlikely the
      TCP_KEEPIDLE and TCP_KEEPINTVL calls were having much effect as we
      would have been passing them a huge value.
      
      FS-6104
      01a4aeaa
  2. 10 2月, 2014 6 次提交
  3. 09 2月, 2014 7 次提交
  4. 08 2月, 2014 4 次提交
  5. 07 2月, 2014 1 次提交
  6. 06 2月, 2014 14 次提交
  7. 05 2月, 2014 4 次提交