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

API Request with not existent JSON Keyword freezes the client. #30

Closed fraunhofer-iis-bot closed 1 year ago

fraunhofer-iis-bot commented 4 years ago

In GitLab by @fraunhofer-iis-anon on Mar 13, 2020, 12:33

if request with an JSON-keyword or typo in keyword is send, the Client doesn't end.

Example:

cmd_request = {
    'japi_requesTYPO': 'get_temperature',
    'unit': 'kelvin',
    }
fraunhofer-iis-bot commented 4 years ago

In GitLab by @fraunhofer-iis-anon on Mar 13, 2020, 12:35

mentioned in issue libjapi-demo#1

fraunhofer-iis-bot commented 4 years ago

In GitLab by @cstender on Mar 13, 2020, 16:30

This is the expected behavior. At the moment no fix is planned.

fraunhofer-iis-bot commented 4 years ago

In GitLab by @cstender on Mar 13, 2020, 16:30

closed