coapjs / node-coap

CoAP - Node.js style
MIT License
528 stars 154 forks source link

fix: correctly clear timeout in `BlockCache` class #353

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

In the context of https://github.com/eclipse/thingweb.node-wot/pull/846, I noticed that the server is currently not cleaning up timeouts in the BlockCache class correctly. This PR implements a simple fix.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3335895103


Totals Coverage Status
Change from base Build 3332174505: 7.4%
Covered Lines: 1913
Relevant Lines: 3059

💛 - Coveralls
coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3335911026

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 3332174505: 7.4%
Covered Lines: 1913
Relevant Lines: 3059

💛 - Coveralls