Other |
---|
5.0 tigerFixed |
Relates :
|
|
Relates :
|
HttpURLConnection.ReadableByteChannelBasedInputStream implementation doesn't make any assumptions on the underlying ReadableByteChannel. This forces us to use a Thread.sleep() and retry when it is non-blocking. However, if it is non-blocking, it is most likely a SelectableChannel. Thus we decide to change the ResponseCache spec to make the assumption that either the ReadableByteChannel is blocking or it is a SelectableChannel. this results in a much cleaner implementation.
|