Closed tomwys closed 10 years ago
Autobahn expects that details in GOODBAY should be set to dictionary/map. turnpike sets this parameter to nil.
details
GOODBAY
nil
Fix should look something like that:
./router.go: sess.Send(&Goodbye{Reason: reason, Details: make(map[string]interface{})}) ./router.go: sess.Send(&Goodbye{Reason: WAMP_ERROR_GOODBYE_AND_OUT, Details: make(map[string]interface{})})
PS. I'm not 100% sure that this is turnpike fault, but after reading WAMP documentation it seams to me that Autobahn implementation is good and turnpike should be fixed. If you thing differently please create ticket to Autobahn.
Good catch, thanks.
Autobahn expects that
details
inGOODBAY
should be set to dictionary/map. turnpike sets this parameter tonil
.Fix should look something like that:
PS. I'm not 100% sure that this is turnpike fault, but after reading WAMP documentation it seams to me that Autobahn implementation is good and turnpike should be fixed. If you thing differently please create ticket to Autobahn.