mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
gc优化
This commit is contained in:
@@ -273,7 +273,7 @@ func (client *Client) Run(){
|
||||
|
||||
//1.解析head
|
||||
response := RpcResponse{}
|
||||
response.RpcResponseData =processor.MakeRpcResponse(0,nil,nil)
|
||||
response.RpcResponseData =processor.MakeRpcResponse(0,RpcError(""),nil)
|
||||
|
||||
err = processor.Unmarshal(bytes[1:], response.RpcResponseData)
|
||||
client.conn.ReleaseReadMsg(bytes)
|
||||
|
||||
Reference in New Issue
Block a user