commit | 859888f53e0d9e3628daef7d718f70b552306680 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Tue Sep 12 14:29:16 2017 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Tue Sep 12 14:29:16 2017 +0000 |
tree | ba123d7538ba867bfa283baa4c38581f4d4b7e28 | |
parent | b88c6bf5ce579b5080ae73bb562513482192e730 [diff] |
face: retain PendingInterest during Interest processing When an incoming Interest matches multiple InterestFilters, if one of them replies immediately, the PendingInterest instance could be prematurely destructed and cause memory access errors. This commit retains the PendingInterest with a shared_ptr to avoid this bug. refs #4228 Change-Id: I4767f294711edda3b75f8dfcac085ede88f3cdef
ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:
See the file docs/INSTALL.rst
for build and install instructions.
Please submit any bugs or issues to the ndn-cxx issue tracker: https://redmine.named-data.net/projects/ndn-cxx/issues
Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/
ndn-cxx is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING.md
.