No-SilverBullet opened a new pull request, #2785:
URL: https://github.com/apache/dubbo-go/pull/2785

   What this PR does
   
   https://pkg.go.dev/net#Conn.SetDeadline
   
   > *// SetDeadline sets the read and write deadlines associated*
   >
   > *// with the connection. It is equivalent to calling both*
   >
   > // SetReadDeadline and SetWriteDeadline.
   
   Therefore, `SetDeadline` will cause the connection to be closed before the 
server returns completely, so setdeadline is removed and `SetTimeout` is used 
instead. In addition, `IdleConnTimeout` is added to close idle connections 
after timeout to avoid invalid reuse.
   
   
   
   Which issue(s) this PR fixes
   
   https://github.com/apache/dubbo-go/issues/2302


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to