Skip to content

sharkd: Remove json newline restriction

Remove the restriction of having the json string on a single line.

Valid json string input would now be:

{
   "jsonrpc": "2.0"
  , "id": 1
  , "method":"status"
}
{"jsonrpc": "2.0","id": 1, "method":"status"}{"jsonrpc": "2.0","id": 1,
"method":"status"
}{"jsonrpc": "2.0","id": 1,"method":"status"}

Note: This also needs to be updated in the documentation; https://wiki.wireshark.org/Development/sharkd#request-syntax

Closes #17823

Edited by MarcoKaldenbach

Merge request reports