Skip to content

Conversation

Shinku-Chen
Copy link
Contributor

Resolve the issue of retrying redirectable connections, where the link has already been visited, resulting in the error "AlreadyVisitedUrl".

This change cannot avoid the "AlreadyVisitedUrl" error caused by the initial visit, but primarily addresses the "AlreadyVisitedUrl" error caused by retries, reducing the error loop caused by blind retries.

解决retry可以redirect的连接,但该redirect的链接已经被访问,导致返回AlreadyVisitedUrl错误问题
本次改变无法避免初次访问导致的AlreadyVisitedUrl错误,但主要解决retry导致的AlreadyVisitedUrl错误,减少无脑retry导致的错误循环

#805

@Shinku-Chen Shinku-Chen changed the title fix : retry redirect to AlreadyVisitedUrl will loop error fix : retry redirect to AlreadyVisitedUrl will loop error, 修正Redirect的retry报AlreadyVisitedError错误 May 20, 2025
@Shinku-Chen Shinku-Chen changed the title fix : retry redirect to AlreadyVisitedUrl will loop error, 修正Redirect的retry报AlreadyVisitedError错误 fix : retry redirect to AlreadyVisitedUrl will error, 修正Redirect的retry报AlreadyVisitedError错误 May 20, 2025
Copy link
Member

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@asciimoo
Copy link
Member

Could you rebase the PR?

@Shinku-Chen
Copy link
Contributor Author

rebase is done

Copy link
Member

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@asciimoo asciimoo merged commit ea086c2 into gocolly:master Jun 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants