getty icon indicating copy to clipboard operation
getty copied to clipboard

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

Results 15 getty issues
Sort by recently updated
recently updated
newest added

Welcome to use getty. To know who is using it, pls append your org info as follow, * Organization:Alibaba (Required) * Location: Hangzhou, Zhejiang, China(Required) * Contact: [email protected] (Optional) *...

将compress_encoding设置成false,tcp_read_timeout设置成5s。 经过debug发现,conn.go line 252会返回read tcp xxx:xxx->xxx:xxx: i/o timeout的错误。实际的read时间,大概只有2s多一点,并不是tcp_read_timeout设置的5s。

➜ echo_server--20210918-1516-test git:(master) ✗ pwd ................./getty/examples/echo/tcp-echo/server/target/darwin/echo_server--20210918-1516-test ➜ echo_server--20210918-1516-test git:(master) ✗ sh bin/load_echo_server.sh start fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff65d50476] runtime stack: runtime:...

If you r going to wait response,or block the goroutine in a getty session(tcp conection), task pool can not be null。 ``` func (s *Server) newSession(session getty.Session) error { var...

good first issue

* 底层使用epoll + 事件驱动编程模型,替代golang默认的epoll + 协程阻塞编程模型。 * 开关配置,用户可根据自身的场景,决定使用何种协程模型。

there are lot of code that need to consider what kind of the connection, tcp or udp or ws, which let the code logic complex. So suggest to separate udp/tcp/ws...

enhancement

At present, the rpc means that only the server can receive request from client and then send back its response. However, the client can not handle the request from the...

enhancement

**What would you like to be added**: 提供指定http.Server的ErrorLog功能 **Why is this needed**: http.Server的错误日志默认会写到标准输出,但它提供了指定自定义Logger的口子,getty似乎没有开放这个口子? ``` http\server.go type Server struct { // ErrorLog specifies an optional logger for errors accepting // connections,...

good first issue

**What would you like to be added**: Here are some possible reasons for the closure: 1000: Normal closure 1001: Going away 1002: Protocol error 1003: Unsupported data 1004: Too large...