Cancelling request makes delay in subsequent connection
See original GitHub issueI am using RxJava adapter of Retrofit to make API calls. I have implemented cancel request in onBackPressed of Activity so the call can get canceled when user tap the back:
client.dispatcher().cancelAll();
It does cancel all the request and my Rx also throws the correct exception. But when I open the activity again it takes about 1 minute delay before it process a API new request. Why is there a delay?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to Respond to a Cancellation Requests + Email Templates
Below are 10 cancelation request response templates: 7 short response examples that you can use in email or over chat and 3 cancellation...
Read more >Your flight is canceled or delayed – here's what you should do ...
Airline delays and cancellations are happening frequently; here's how to avoid getting stuck if it happens to you.
Read more >Request Cancellation - YouTube
Every week in my Tuesday Lunch & Learn livestream, we choose a useful software development skill, define a challenge related to that skill, ......
Read more >What to Do if Your Flight Is Cancelled or Delayed
If possible, try to book directly through the airline rather than through an online travel agency, which may make it more difficult to...
Read more >Flight Delays & Cancellations | US Department of Transportation
The Department's rules regarding flight delays and cancellations ... is cancelled, most airlines will rebook you for free on their next ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

good job man
Yes, its reproducing every time in the way I have mentioned in my last comment. My test site is on HTTP/1.1.