| 
						
						
							
								
							
						
						
					 | 
					@ -655,7 +655,7 @@ class TCPRelayHandler(object): | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            else: | 
					 | 
					 | 
					            else: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                common.connect_log('TCP request %s:%d by user %d' % | 
					 | 
					 | 
					                common.connect_log('TCP request %s:%d by user %d' % | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        (common.to_str(remote_addr), remote_port, self._user_id)) | 
					 | 
					 | 
					                        (common.to_str(remote_addr), remote_port, self._user_id)) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                if remote_addr == b'0.0.0.0' and remote_port == 80: | 
					 | 
					 | 
					                if (remote_addr == b'0.0.0.0' or remote_addr == b'255.0.0.255' or remote_addr == b'fe80::ffff') and remote_port == 80: | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                    backdata = b'HTTP/1.0 200 OK\r\nConnection: close\r\n\r\nShadowsocksR ' + common.to_bytes(version.version()) | 
					 | 
					 | 
					                    backdata = b'HTTP/1.0 200 OK\r\nConnection: close\r\n\r\nShadowsocksR ' + common.to_bytes(version.version()) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    backdata = self._protocol.server_pre_encrypt(backdata) | 
					 | 
					 | 
					                    backdata = self._protocol.server_pre_encrypt(backdata) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    backdata = self._encryptor.encrypt(backdata) | 
					 | 
					 | 
					                    backdata = self._encryptor.encrypt(backdata) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |