Skip to content

Commit

Permalink
Merge pull request #27033 from TiborBeres/26844-deadlock-when-proxybr…
Browse files Browse the repository at this point in the history
…anch-times-out

Deadlock in sipcontainer caused by proxy branch timeout
  • Loading branch information
TiborBeres committed Jan 12, 2024
2 parents 3493619 + cba7616 commit 14b4d3a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,9 @@ private void executeTimeOut(boolean isTimeout) {
* should be used to send the request out.
*
*/
public synchronized void proxyTimedOut(boolean isTimeout){

//remove synchronized as it caused deadlock
public void proxyTimedOut(boolean isTimeout){

if (c_logger.isTraceDebugEnabled()) {
c_logger.traceDebug(this, "proxyTimedOut", getMyInfo() );
Expand All @@ -1194,7 +1196,7 @@ public synchronized void proxyTimedOut(boolean isTimeout){
_parentTimedOut = true;

executeTimeOut(isTimeout);
}
}

/**
* Gets the branch Id of this Proxy Branch from the top via header.
Expand Down

0 comments on commit 14b4d3a

Please sign in to comment.