Troubleshooting multipart
This commit is contained in:
parent
077963ae28
commit
a700cf2863
4 changed files with 34 additions and 11 deletions
|
|
@ -43,7 +43,7 @@ public class IOUtil {
|
|||
*/
|
||||
public static byte[] getContent(InputStream stream) throws IOException{
|
||||
DynamicByteArrayStream dyn_buff = new DynamicByteArrayStream();
|
||||
byte[] buff = new byte[256];
|
||||
byte[] buff = new byte[8192];
|
||||
int len = 0;
|
||||
while((len = stream.read(buff)) != -1){
|
||||
dyn_buff.append(buff, 0, len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue