remoteURL parameter error cause challenge cache not working,critical area consume to much time, which eventually lead to client manifest request timeout(90s) in massive(which i test 80 concurrent) concurrent manifest request situation.
Signed-off-by: spacexnice <yaoyao.xyy@alibaba-inc.com>master
							parent
							
								
									cb744efe8b
								
							
						
					
					
						commit
						3c4b551a7c
					
				|  | @ -203,7 +203,7 @@ func (r *remoteAuthChallenger) tryEstablishChallenges(ctx context.Context) error | |||
| 
 | ||||
| 	remoteURL := r.remoteURL | ||||
| 	remoteURL.Path = "/v2/" | ||||
| 	challenges, err := r.cm.GetChallenges(r.remoteURL) | ||||
| 	challenges, err := r.cm.GetChallenges(remoteURL) | ||||
| 	if err != nil { | ||||
| 		return err | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue