diff options
Diffstat (limited to 'internal/protocol.go')
-rwxr-xr-x | internal/protocol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/protocol.go b/internal/protocol.go index c5916f22..cefd685d 100755 --- a/internal/protocol.go +++ b/internal/protocol.go @@ -36,7 +36,7 @@ func SendControl(rl relay.Relay, payload interface{}) error { defer putFrame(fr) fr.WriteVersion(fr.Header(), frame.VERSION_1) - fr.WriteFlags(fr.Header(), frame.CONTROL) + fr.WriteFlags(fr.Header(), frame.CONTROL, frame.CODEC_JSON) if data, ok := payload.([]byte); ok { // check if payload no more that 4Gb |