mirror of
				https://github.com/onyx-and-iris/q3rcon-proxy.git
				synced 2025-10-29 20:01:47 +00:00 
			
		
		
		
	dont wait for response
This commit is contained in:
		
							parent
							
								
									9640e6dc2d
								
							
						
					
					
						commit
						5eff7e1c08
					
				| @ -23,7 +23,7 @@ func main() { | |||||||
| 		log.Fatal(err) | 		log.Fatal(err) | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	log.Printf("lilproxy initialized") | 	log.Printf("lilproxy initialized on port: (%s) target address: (%s)", port, target) | ||||||
| 
 | 
 | ||||||
| 	log.Fatal(c.ListenAndServe()) | 	log.Fatal(c.ListenAndServe()) | ||||||
| } | } | ||||||
|  | |||||||
| @ -40,7 +40,7 @@ func (s *Session) listen() error { | |||||||
| 			continue | 			continue | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		s.proxyFrom(buf[:n]) | 		go s.proxyFrom(buf[:n]) | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -63,7 +63,7 @@ func (c *Client) ListenAndServe() error { | |||||||
| 			c.sessions[caddr.String()] = session | 			c.sessions[caddr.String()] = session | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		session.proxyTo(buf[:n]) | 		go session.proxyTo(buf[:n]) | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user