<p dir="auto">The easiest way to repro this is with a brand new list of ~100 images.  Start the activity, stay at the top of the list, see the top images load quickly.  Then quickly scroll to the very bottom of the list and wait for the last few images to load.  This takes about a minute for the 4 images in view to load.  This only reproduces when using OkHttpUrlLoader.</p>
<p dir="auto"><strong>Logcat output</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="12-01 18:13:07.454: V/GenericRequest(20821): Got onSizeReady in 0.061036 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished setup for calling load in 0.183106 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished onSizeReady in 0.396729 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished run method in 0.518799 this: 882211473
12-01 18:14:09.285: V/GenericRequest(20821): Resource ready in 61831.054689 size: 2.130157470703125 fromCache: false this: 882211473"><pre class="notranslate"><code class="notranslate">12-01 18:13:07.454: V/GenericRequest(20821): Got onSizeReady in 0.061036 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished setup for calling load in 0.183106 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished onSizeReady in 0.396729 this: 882211473
12-01 18:13:07.454: V/GenericRequest(20821): finished run method in 0.518799 this: 882211473
12-01 18:14:09.285: V/GenericRequest(20821): Resource ready in 61831.054689 size: 2.130157470703125 fromCache: false this: 882211473
</code></pre></div>
<p dir="auto">Seems like maybe requests are backed up or something?  Not being cancelled correctly?  If you have any thoughts to what might be going on or some pointers about where to start looking myself that'd be greatly appreciated.</p>
<p dir="auto">Thanks.</p>
<p dir="auto">OkHttp and HttpUrlConnection both trigger strict mode violations when cancel is called on the main thread (See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48424798" data-permission-text="Title is private" data-url="https://github.com/bumptech/glide/issues/257" data-hovercard-type="issue" data-hovercard-url="/bumptech/glide/issues/257/hovercard" href="https://github.com/bumptech/glide/issues/257">#257</a>, and the TODO in HttpUrlFetcher).</p>