[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 Remy Maucherat changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 --- Comment #6 from Long Zou --- Created attachment 31748 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31748&action=edit TestAsyncServlet is the full code by this case. Client will send below code by text/json content-type.

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 Konstantin Preißer changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|W

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 Long Zou changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 --- Comment #2 from Konstantin Kolinko --- 1. Exact version of Tomcat 8.0.x = ? 2. What connector implementation is being used (NIO, NIO2, APR, BIO) ? (See startup logs of your Tomcat, or ask on the Users mailing list) 3. The onDataAvaila

[Bug 56663] Can not get all data from InputStream in onDataAvailable

2014-06-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=56663 --- Comment #1 from Long Zou --- public void onDataAvailable() throws IOException { byte[] buf = new byte[1024]; int len = 0; try{ while ( _input.isReady() && (len = _input.read(buf)) != -