oknozor / vessel

A selfhostable soulseek client
11 stars 1 forks source link

[BUG] - something block the thread when sending chat message via http #14

Closed oknozor closed 3 years ago

oknozor commented 3 years ago

Reproduce :

First connect to a room :

curl --request GET \
  --url http://localhost:3030/rooms/Underground%20Hiphop/join

Send a message :

 curl --request POST \
  --url http://localhost:3030/rooms/Underground%20Hiphop \
  --header 'Content-Type: application/json' \
  --data '{
    "message": "test message from vessel server"
}'

The message gets delivered only when something else is red from the soulseek server tcp stream.