rawhttp: response Transfer-Encoding: chunked error
error info
java.lang.IllegalStateException: Invalid chunk-size (too big, more than 4 hex-digits) at rawhttp.core.body.ChunkedBodyParser.readChunkSize(ChunkedBodyParser.java:215) at rawhttp.core.body.ChunkedBodyParser.parseChunkedBody(ChunkedBodyParser.java:97) at rawhttp.core.body.BodyConsumer$ChunkedBodyConsumer.consumeInto(BodyConsumer.java:93) null at rawhttp.core.body.BodyConsumer.consume(BodyConsumer.java:29) at rawhttp.core.body.EagerBodyReader.<init>(EagerBodyReader.java:35) at rawhttp.core.body.LazyBodyReader.eager(LazyBodyReader.java:68) at rawhttp.core.EagerHttpResponse.from(EagerHttpResponse.java:52) at rawhttp.core.RawHttpResponse.eagerly(RawHttpResponse.java:95) at rawhttp.core.RawHttpResponse.eagerly(RawHttpResponse.java:79)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 25 (12 by maintainers)
Commits related to this issue
- Fixed #9 - read chunk-size more carefully. Allow up to FFFFFFF (268435455) bytes OR 64 digits chunk-size (with leading 0's). — committed to renatoathaydes/rawhttp by renatoathaydes 5 years ago
- #9 - fixed tests for chunk-size errors and bug caught by tests. — committed to renatoathaydes/rawhttp by renatoathaydes 5 years ago
No problem! Happy to help. Have a good trip ๐
@LuPan2015 itโs released now!
GOOD JOB. You are very nice and efficient. I need to go to Tianjin this morning. After that I will have a test. Thank you.@renatoathaydes