Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

pupnp.h

Blame
    • Eden Abitbol's avatar
      ac963b5c
      upnp: fix intermittent xml download error · ac963b5c
      Eden Abitbol authored and Sébastien Blin's avatar Sébastien Blin committed
      Depending on the platform, libupnp sometimes fails to download
      the xml document provided by devices that answer the search
      request. re-enabling blocking the blocking tcp connections at
      compile time for libupnp seems to fix this issue.
      
      The function used by the libupnp api to download the xml documents
      is purely synchronous. To prevent the function from blocking
      the upnp thread in case it hangs in the api, we used the disable
      blocking tcp connection flag. Now that std::future is used to
      circumvent this problem, we can re-enable the blocking tcp
      connection.
      
      Change-Id: I6efa02521e25171fcbca8c58a2c93987f5414f29
      ac963b5c
      History
      upnp: fix intermittent xml download error
      Eden Abitbol authored and Sébastien Blin's avatar Sébastien Blin committed
      Depending on the platform, libupnp sometimes fails to download
      the xml document provided by devices that answer the search
      request. re-enabling blocking the blocking tcp connections at
      compile time for libupnp seems to fix this issue.
      
      The function used by the libupnp api to download the xml documents
      is purely synchronous. To prevent the function from blocking
      the upnp thread in case it hangs in the api, we used the disable
      blocking tcp connection flag. Now that std::future is used to
      circumvent this problem, we can re-enable the blocking tcp
      connection.
      
      Change-Id: I6efa02521e25171fcbca8c58a2c93987f5414f29
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.