Project

General

Profile

Actions

Task #3101

open

Exception safety of Face::onReceiveElement

Added by Alex Afanasyev over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

What is the expected exception safety of Face::onReceiveElement. As of right now, it will throw tlv::Error derived exception any time somebody presents a valid TLV block that looks like Interest, Data (after #2930 like NDNLP) packet, but something is wrong with the packet.

The consequence of this exception (it is not handled, as far as I checked) is that the application will probably crash or stop functioning, as processing loop will be terminated.

Should we change that or it is an intended behavior?

Actions #1

Updated by Junxiao Shi over 9 years ago

  • Status changed from Feedback to New

20150814 conference call decides to make the behavior same as NFD UnixStreamFace: bad packets should be ignored silently (or with logging).

Actions #2

Updated by Junxiao Shi about 9 years ago

  • Category set to Base
Actions

Also available in: Atom PDF