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

upnp_context.cpp

Blame
    • Mohamed Chibani's avatar
      e9a6da65
      upnp: unconditionally remove failed mappings · e9a6da65
      Mohamed Chibani authored
      In the previous implementation, a failed mapping was not removed if it's
      beeing used. The responsability was left to the owner to release it when
      done with it. This requires that all the owners implement the mapping
      callback and properly release the mapping. This might be somehow cumbersome
      and prune to error.
      Now, a failed mapping is automatically removed, and no further action is
      required from the owner. The mapping's owner will still receive a notification
      callback (if registered) when the state of the mapping changes to failed (or
      to any other state).
      
      Change-Id: I014ba3906b836efce3173fb22fbe298a4023db7e
      Gitlab: #335
      e9a6da65
      History
      upnp: unconditionally remove failed mappings
      Mohamed Chibani authored
      In the previous implementation, a failed mapping was not removed if it's
      beeing used. The responsability was left to the owner to release it when
      done with it. This requires that all the owners implement the mapping
      callback and properly release the mapping. This might be somehow cumbersome
      and prune to error.
      Now, a failed mapping is automatically removed, and no further action is
      required from the owner. The mapping's owner will still receive a notification
      callback (if registered) when the state of the mapping changes to failed (or
      to any other state).
      
      Change-Id: I014ba3906b836efce3173fb22fbe298a4023db7e
      Gitlab: #335
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.