pangiole / akka-wamp

WAMP - Web Application Messaging Protocol implementation written with Akka
Other
47 stars 12 forks source link

Lack of specification in case of offending messages #22

Closed pangiole closed 8 years ago

pangiole commented 8 years ago

What a router shall do if client connects and sends any of the offending messages?

I cannot read anything about the above scenario on the WAMP specification

This question has been also asked in wamp-proto/issues/255

pangiole commented 8 years ago

A solution for this issue has been provided by v0.8.0 as new configuration entry:

akka {
  wamp {
     router {
      # The boolean switch to disconnect those peers that send 
      # offending messages (e.g. not deserializable or causing
      # session failures)
      #
      # By default, offending messages are just dropped and 
      # the router resumes processing next incoming messages
      #
      disconnect-offending-peers = false
}}}
pangiole commented 8 years ago

See #33