Ticket #1686 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Deadlock on DNS when cached query is available

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: pjlib-util Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


This is similar to #1108 and #1565.

Change History

comment:1 Changed 6 years ago by nanang

  • Status changed from new to closed
  • Resolution set to fixed

In 4552:

Fix #1686: release mutex when invoking callback to avoid deadlock. Also a bit memory usage optimization, i.e: avoid bloated pool by unfreed old/expired packet in cache entry.

comment:2 Changed 6 years ago by nanang

In 4553:

Re #1686: avoid cache entry destroy in update_res_cache() when it is being used by callback.

Note: See TracTickets for help on using tickets.