Toni Uhlig
84448d5e4e
error handling enhancements
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-15 13:05:49 +02:00
Toni Uhlig
be4366b0e1
several fixes and improvments
...
- set errno to 0 if it is checked right after a libc call
- ignore SIGPIPE as we want to avoid signal handling where possible
- fixed another issue in nDPIsrvd/c-json-stdout which caused buffering errors
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-14 17:40:02 +02:00
Toni Uhlig
a5f8783bda
minor improvments
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-14 16:10:21 +02:00
Toni Uhlig
37e46a506a
c-json-stdout: fixed broken buffering
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-14 15:24:40 +02:00
Toni Uhlig
d828ef1bf0
json buffering and parsing
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-04 22:38:08 +02:00
Toni Uhlig
8a6021268e
introduced NETWORK_BUFFER_MAX_SIZE to replace BUFSIZ as this might change depending on the arch/libc used
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-04 17:29:31 +02:00
Toni Uhlig
0004753eb1
added basic "consumer" example
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-04 16:15:21 +02:00
Toni Uhlig
e9467b7fb6
Merge commit '791b8f611e5388015d30f64a50ab4fa5293a4a1c' as 'examples/c-json-stdout/jsmn'
2020-08-04 01:27:54 +02:00