no need to check anymore
This commit is contained in:
		
							parent
							
								
									1efc1313db
								
							
						
					
					
						commit
						e34cf94271
					
				| 
						 | 
				
			
			@ -52,10 +52,7 @@ class TransitConnection(LineReceiver):
 | 
			
		|||
    def connectionMade(self):
 | 
			
		||||
        self._started = time.time()
 | 
			
		||||
        self._log_requests = self.factory._log_requests
 | 
			
		||||
        try:
 | 
			
		||||
            self.transport.setTcpKeepAlive(True)
 | 
			
		||||
        except AttributeError:
 | 
			
		||||
            pass
 | 
			
		||||
        self.transport.setTcpKeepAlive(True)
 | 
			
		||||
 | 
			
		||||
    def lineReceived(self, line):
 | 
			
		||||
        # old: "please relay {64}\n"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user