The Wayback Machine - https://web.archive.org/web/20210810025157/https://github.com/topics/rpc-service
Skip to content
#

rpc-service

Here are 29 public repositories matching this topic...

dk-lockdown
dk-lockdown commented Apr 26, 2020

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 (
		ok      bool
		tcpConn *net.TCPConn
	)
	
	// 省略部分代码...
	session.SetTaskPool(srvGrpool)
	return nil
}

ortherwise,handleTcpPackage() will blocked,led to the response missing

func (s *session

Improve this page

Add a description, image, and links to the rpc-service topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rpc-service topic, visit your repo's landing page and select "manage topics."

Learn more