Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决afinal和HttpClient重传机制的冲突 #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

解决afinal和HttpClient重传机制的冲突 #76

wants to merge 1 commit into from

Conversation

bennyhuo
Copy link

@bennyhuo bennyhuo commented Sep 9, 2014

HttpClient的retry机制和afinal原有的retry机制冲突了,如果我设置重试2次,那么在原有的代码中就会发现客户端向服务器发送了9次请求(实际跑的数据,没有做具体论证),如果把afinal在HttpHandler当中处理retry的逻辑去掉,这个问题就可以解决,那么实际上这时我们的把retry的工作完全交给了HttpClient。

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.

1 participant