|  | @@ -117,7 +117,8 @@ func ReadRequest(reader io.Reader, auth *Authenticator, udp bool) (*Request, err
 | 
											
												
													
														|  |  	if request.OTA {
 |  |  	if request.OTA {
 | 
											
												
													
														|  |  		actualAuth := auth.Authenticate(nil, buffer.Value[0:lenBuffer])
 |  |  		actualAuth := auth.Authenticate(nil, buffer.Value[0:lenBuffer])
 | 
											
												
													
														|  |  		if !serial.BytesLiteral(actualAuth).Equals(serial.BytesLiteral(authBytes)) {
 |  |  		if !serial.BytesLiteral(actualAuth).Equals(serial.BytesLiteral(authBytes)) {
 | 
											
												
													
														|  | -			log.Error("Shadowsocks: Invalid OTA: ", actualAuth)
 |  | 
 | 
											
												
													
														|  | 
 |  | +			log.Debug("Shadowsocks: Invalid OTA. Expecting ", actualAuth, ", but got ", authBytes)
 | 
											
												
													
														|  | 
 |  | +			log.Warning("Shadowsocks: Invalid OTA.")
 | 
											
												
													
														|  |  			return nil, proxy.ErrorInvalidAuthentication
 |  |  			return nil, proxy.ErrorInvalidAuthentication
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  	}
 |  |  	}
 |