eclipse-thingweb / eclipse-thingweb/node-wot

Possible Memory Leak in HTTP Binding's observeProperty (Long Poll)

Open
#1,429 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

The HTTP Binding implementation for Observable Properties (Long Poll) in property-observe.ts appears to have a potential memory leak that can lead to a MaxListenersExceededWarning in Node.js, particularly under scenarios where client connections are unstable or abruptly terminated. maybe listener for "close" event should be added.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.