a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Before v1.12 the fd.Writev of golang have a fatal bug,
so I send multiple byte steam packages by merging them. However, the latest golang version v1.14.1 has released, I think getty should use writev now.
Before v1.12 the fd.Writev of golang have a fatal bug, so I send multiple byte steam packages by merging them. However, the latest golang version v1.14.1 has released, I think getty should use writev now.
there are two funcs which can use writev:
1 session.go:session.WriteBytesArray 2 session.go:session.handleLoop