Feature #2261
closed
Don't use exceptions in PartialMessageStore::receiveNdnlpData
Added by Davide Pesavento almost 10 years ago.
Updated over 9 years ago.
Description
Some time ago we made Face::decodeAndDispatchInput
non-throwing, now it just returns false when there's a decode error.
The same should be done with PartialMessageStore::receiveNdnlpData
.
Also, should ndnlp::ParseError
inherit from tlv::Error
?
- Tracker changed from Task to Feature
- Subject changed from Handle all TLV decoding exceptions in PartialMessageStore::receiveNdnlpData to Don't use exceptions in PartialMessageStore::receiveNdnlpData
- Description updated (diff)
- Status changed from New to In Progress
- Start date deleted (
12/02/2014)
- Estimated time set to 2.00 h
- Blocked by Bug #2552: Block::fromBuffer(ConstBufferPtr, size_t, Block&) unexpected decode error added
- % Done changed from 0 to 80
- Status changed from In Progress to Code review
- % Done changed from 80 to 100
- Status changed from Code review to In Progress
Reviewer suggests an API change to use move semantics, and mentions that Block::fromBuffer
should apply the same change.
I'll wait for the change in Block::fromBuffer
, to avoid using the deprecated overload of that function.
- Blocked by Feature #2553: Block::fromBuffer use move semantics added
- Status changed from In Progress to Code review
- Blocked by deleted (Feature #2553: Block::fromBuffer use move semantics)
- Status changed from Code review to Closed
Also available in: Atom
PDF