Fraunhofer-IIS / libjapi

libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
MIT License
3 stars 1 forks source link

Draft: Resolve "server has to remove ungracefully disconnected zombie clients" #112

Open fraunhofer-iis-bot opened 1 year ago

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 12:48

Closes #49

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 14:23

added 1 commit

Compare with previous version

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 14:23

requested review from @Michael-M-Baron

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 14:24

I pushed first version that should for the moment solve your issue. @Michael-M-Baron can you verify? The numbers should be tuned to your application. I will add configuration options in next commits

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 14:44

added 1 commit

Compare with previous version

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 8, 2023, 15:21

added 1 commit

Compare with previous version

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 26, 2023, 17:08

added 3 commits

Compare with previous version

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 26, 2023, 17:32

added 1 commit

Compare with previous version

fraunhofer-iis-bot commented 1 year ago

In GitLab by @vornkat-iis on May 26, 2023, 17:36

Functionality tests are still missing. I have a draft locally but am not fully sure how to do this.

vornkat-iis commented 7 months ago

Added my draft here, maybe it helps one day to finish this issue. Tests pass right now because all relevant lines are commented out. Feel free to adapt