Project

General

Profile

Actions

Task #1921

closed

Task #2579: Provide send/sendData in Face() and deprecate in Transport

Provide equivalent to NDN_MAX_PACKET_SIZE

Added by Jeff Burke over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
08/24/2014
Due date:
% Done:

100%

Estimated time:

Description

Provide equivalent to NDN-CXX's NDN_MAX_PACKET_SIZE across all libraries, and document, unless it is there already?

See:

Actions #1

Updated by Anonymous about 9 years ago

  • Project changed from 4 to NDN-CCL
Actions #2

Updated by Anonymous about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
  • Parent task set to #2579

In NDN-CPP branch issue/1921-NDN_MAX_PACKET_SIZE, added static inline method getMaxNdnPacketSize(). Noted that expressInterest with throw an exception if the encoded Interest size exceeds this.

https://github.com/named-data/ndn-cpp/commit/35a491e6fc8ca9b1c3c952d3d9ac85256a3f2fb6#diff-fc9ca00a058e883a4d5a27670375ba98

https://github.com/named-data/ndn-cpp/tree/issue/1921-NDN_MAX_PACKET_SIZE

This is blocking on feature #2579 because we need Face.putData so that it will also throw an exception if the encoded Data size exceeds it.

Actions #3

Updated by Anonymous about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Added the check in putData.

Actions

Also available in: Atom PDF