Myself trying to run the websocket demos, issued the websocket service with tomcat, and using Java code for client communication, now I try to upload the files and pictures, the file into the binary array into a String for transmission or base64 encryption, smaller size of image transfer success, about 6 KB size, and then use the same way to upload pictures of 40 KB, at this time the client does not throw an exception, but the connection is broken, the server did not receive relevant information, tomcat's post size limit has been modified, it should have nothing to do with this, although I use subcontract transmission can solve this problem, but the subsequent more troublesome, want to excuse me this how to solve the case?
CodePudding user response:
Brother, do you remember you had the problem is how to solve?