Skip to content

Commit

Permalink
remove a transaction if a packet fails validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaldino authored and bgrozev committed Aug 21, 2017
1 parent 9da2885 commit 3940381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/ice4j/stack/StunStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ public void handleMessageEvent(StunMessageEvent ev)
catch(Exception exc)
{
//validation failed. log get lost.
logger.log(Level.FINE, "Failed to validate msg: " + ev, exc);
logger.log(Level.FINE, "Failed to validate msg, removing transaction: " + ev, exc);
removeServerTransaction(sTran);
return;
}

Expand Down

0 comments on commit 3940381

Please sign in to comment.