Просмотр исходного кода

bugfix for invalid message

master
Patrick Peng Sun 8 лет назад
Родитель
Сommit
0196a3ce08
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      server.go

+ 2
- 2
server.go Просмотреть файл

} else { } else {
//put into user session based pipeline //put into user session based pipeline
AllInMessage <- in AllInMessage <- in
//read instant response
reply = <-in.instantResponse
} }


//read instant response
reply = <-in.instantResponse
in.destroy() in.destroy()
//uncomment the followin two lines to enable echo test //uncomment the followin two lines to enable echo test
// state, _ := echoCommand(in.header.FromUserName, in) // state, _ := echoCommand(in.header.FromUserName, in)

Загрузка…
Отмена
Сохранить