Open anatoliyck opened 4 years ago
is that expected to have a client sending more than one CONNECT
?
I think it would be better to have instead a boolean set to true
when client connected so we don't handle the connect procedure twice.
also the heartbeat code seems similar in client and server, it would be good to have this code factored in a class for using in both cases
is that expected to have a client sending more than one
CONNECT
?
No, its client bug, but server should handle it.
@anatoliyck agreed, was just wondering
Hi, I have an issue with a lot of logs about idle connections on the STOMP server(3.7.1 version) with websocket bridge.
Example from my logs:
As you can see this hashCode is the same for all logs.
Logs count(only for this connection):
Clients use the following heart-beat value:
5000,10000
UPD: I reproduced this issue -> client sends more than one
CONNECT
command. A quick solution is a changeStompServerTCPConnectionImpl#configureHeartbeat
to:But we should handle this case normally.