XRPLF / clio

An XRP Ledger API Server
https://xrpl.org
ISC License
55 stars 48 forks source link

Websockets replies order #1437

Closed kuznetsss closed 1 week ago

kuznetsss commented 1 month ago

Issue Description

There is no strong guaranty that order of responses will be corresponding to the order of requests.

Steps to Reproduce

echo '{ "id": 1, "command": "server_info" }' | websocat ws://clio_ip:clio_port

Expected Result

Clio sends response and closes the connection.

Actual Result

Clio closes the connection before sending response.

kuznetsss commented 1 week ago

I think we should keep current behaviour to allow user to close connection any time.