Comments (4)
No tests fail on my system. What JDK are you using? I'm using Oracle 7u3. If you have multiple JDKs, perhaps you could try them and find out which fail, and which (if any) succeed?
from httpresponsecache.
Sorry for delay.
I have
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
on Windows 7, x64
Here is complete report https://gist.github.com/3393007
from httpresponsecache.
I tried run it also on Ubuntu with Java 1.6.0.24
https://gist.github.com/3394109
There failed different test.
Interesting that this depend on JVM version or platform too much :-(
from httpresponsecache.
when int read = in.read(buffer, offset, Math.min(count, bytesRemainingInChunk)); reaches -1, it throws that error. it sounds like the server didn't send chunk length
from httpresponsecache.
Related Issues (20)
- Cache size surpassing limit HOT 1
- setDefaultHostnameVerifier in install()
- java.lang.NoSuchMethodError: Llibcore/net/http/HttpResponseCache.getCache HOT 3
- Add support for non-shared cache? HOT 4
- Allow pages not ending in newline HOT 3
- gzip Header disappers after a requests with "max-age=0"
- Ability to override uriToKey?
- Responses are not cached HOT 2
- Data not cached when gzip content-encoding is combined with chunked transfer-encoding. HOT 5
- Not respecting max-age: 0 for Cache-Control HOT 1
- NameConstraints use incorrect signature
- java.net.SocketException: sendto failed: EPIPE (Broken pipe)
- DiskLruCache version dependency out of date...
- com.integralblue.httpresponsecache.compat.libcore.net.http.ResponseHeaders.chooseResponseSource(long, RequestHeaders) does not honor only-if-cached cache control directive
- Cache not updated
- incorrect content-length causes problems on ssl connection HOT 1
- PUT request method are not caching HOT 1
- How to avoid installing and closing 'HttpResponseCache' on every Activity and Service?
- can it work with volley? HOT 1
- POST method request throws ProtocolException("POST does not support writing") when use it in Java
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpresponsecache.