You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other information (e.g. stacktraces, related issues, suggestions how to fix)
I'm using the googollee go-socket.io library in linux. You can put together an exact sample of what I have with (Assuming you have go installed)
go get github.com/googollee/go-socket.io
cd $GOPATH/src/github.com/googollee/go-socket.io/example
sed -i bak \
-e 's/= io()/= io({ transports: ['polling'], forceBase64: true })/' \
-e 's,/socket.io-1.3.7.js,//cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.dev.js,' assets/index.html
go run main.go
A chat will be started on localhost:5000 you can try sending unicode characters
The text was updated successfully, but these errors were encountered:
You want to:
Current behaviour
Counts the 🎉 as 2 bytes, but it's actually 4
which results in it sending
23:42["chat message","...."]
over the wireIt should be sending
25:42["chat message","...."]
over the wireConversely when I send back
25:42["chat message","...."]
the client disconnectsSteps to reproduce (if the current behaviour is a bug)
Expected behaviour
send and receive 🎉 over a polling connection
Setup
Other information (e.g. stacktraces, related issues, suggestions how to fix)
I'm using the googollee go-socket.io library in linux. You can put together an exact sample of what I have with (Assuming you have go installed)
A chat will be started on localhost:5000 you can try sending unicode characters
The text was updated successfully, but these errors were encountered: