再次测试大文件50M的单线程情况,出现异常,是只能支持小文件上传?:
java.io.IOException: **the end of the stream has been reached. not match the expected size** at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.sendFileContent(AbstractFdfsCommand.java:123) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.send(AbstractFdfsCommand.java:84) at com.github.tobato.fastdfs.proto.AbstractFdfsCommand.execute(AbstractFdfsCommand.java:38) at com.github.tobato.fastdfs.conn.ConnectionManager.execute(ConnectionManager.java:76) at com.github.tobato.fastdfs.conn.ConnectionManager.executeFdfsCmd(ConnectionManager.java:61) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFileAndMataData(DefaultFastFileStorageClient.java:160) at com.github.tobato.fastdfs.service.DefaultFastFileStorageClient.uploadFile(DefaultFastFileStorageClient.java:78) at com.bsoft.thread.FastdfsThread2.run(FastdfsThread2.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)