mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	优化代码
This commit is contained in:
		@@ -145,6 +145,10 @@ func (this *ClientConn) Read(b []byte) (n int, err error) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (this *ClientConn) Write(b []byte) (n int, err error) {
 | 
					func (this *ClientConn) Write(b []byte) (n int, err error) {
 | 
				
			||||||
 | 
						if len(b) == 0 {
 | 
				
			||||||
 | 
							return 0, nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						
 | 
				
			||||||
	if this.isDebugging {
 | 
						if this.isDebugging {
 | 
				
			||||||
		this.lastWriteAt = time.Now().Unix()
 | 
							this.lastWriteAt = time.Now().Unix()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user