mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-28 03:54:04 -04:00
introduct Connection interface
This commit is contained in:
@@ -92,7 +92,7 @@ func (this *Server) Listen(port v2net.Port) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *Server) handleConnection(connection *hub.TCPConn) {
|
||||
func (this *Server) handleConnection(connection hub.Connection) {
|
||||
defer connection.Close()
|
||||
|
||||
timedReader := v2net.NewTimeOutReader(120, connection)
|
||||
|
||||
Reference in New Issue
Block a user