http: Improve a comment
This commit is contained in:
		
							parent
							
								
									6c73ec0f88
								
							
						
					
					
						commit
						d4ae9d90d5
					
				@ -92,7 +92,8 @@ func (this *Handler) ServeHTTP (res http.ResponseWriter, req *http.Request) {
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// make req clone with correct ip
 | 
			
		||||
	// make clone of req with correct ip because modifying req directly is
 | 
			
		||||
	// forbidden
 | 
			
		||||
	req = req.Clone(req.Context())
 | 
			
		||||
	req.RemoteAddr = realRemoteAddr
 | 
			
		||||
	log.Println("(i)", req.Method, req.URL, "from", remoteAddrStr)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user