IO 操作 CRLF expected at end of chunk: -1/-1 错误、急急急
java.io.IOException: CRLF expected at end of chunk: -1/-1
at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207)
at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219)
at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
at com.roar.type.ByteList.read(ByteList.java:40)
at com.roar.type.RInputStream.inputStreamToTxt(RInputStream.java:90)
at com.roar.http.HttpCheat.getBody(HttpCheat.java:391)
at com.roar.bet.crawler1.CrownManager.login(CrownManager.java:323)
at com.roar.bet.crawler1.CrownManager.login(CrownManager.java:400)
at com.roar.crawler.PageThread.login(PageThread.java:715)
at com.roar.crawler.PageThread.run(PageThread.java:180)
at java.lang.Thread.run(Thread.java:619)
大家看下这个错误是怎么回事
------解决方案--------------------
代码贴出来