googollee / go-socket.io

socket.io library for golang, a realtime application framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad request by empty server handler

sshaplygin opened this issue · comments

Describe the bug
Server return 400 - bad request if doesn't have any on event handles.
In js server version gulped this event without errors

To Reproduce
Send some message from client to server without on event handler.

Expected behavior
Golang server gulp event without on event handler.

Environment (please complete the following information):

  • Go version: [v1.19]
  • Server version [master - 913e8c2]
  • Client version [v2.3.1]

Additional context
Add any other context about the problem here.

it is doesn't a bug, because pauser sent error :)