Project

General

Profile

Bug #2516

UdpChannel::newPeer does not properly handle error condition

Added by Alex Afanasyev over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Faces
Target version:
Start date:
02/12/2015
Due date:
% Done:

100%

Estimated time:

Description

When UdpChannel is destroyed, newPeer is called with error==cancelled. There could be other error conditions upon which no processing should take place inside the method.


Related issues

Blocks NFD - Bug #2517: NFD state is not properly cleaned up on destructionNew

History

#1 Updated by Alex Afanasyev over 4 years ago

  • Status changed from Resolved to Code review
  • % Done changed from 0 to 100

#2 Updated by Alex Afanasyev over 4 years ago

  • Blocks Bug #2517: NFD state is not properly cleaned up on destruction added

#3 Updated by Alex Afanasyev over 4 years ago

I cannot come up with a feasible test case. This bug was causing error intermittently (depending on what random value goes into UdpChannel::m_newRemoteEndpoint).

#4 Updated by Junxiao Shi over 4 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF