project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Return the closure reason in case of a protocol violation #31

Open karalabe opened 10 years ago

karalabe commented 10 years ago

Currently whenever a protocol violation occurs from the binding, the connection is plan dropped. Since the new protocol spec added support for returning some descriptive errors in such cases, do so.