Re: [Simpleweb-Support] Simpleweb Shutting Down Connection Unexpecteadly During HTTP POST
Brought to you by:
niallg
From: <nik...@go...> - 2008-09-18 17:33:37
|
Hello Niall, Friday, September 19, 2008, 1:55:31 AM, you wrote: > Hi, > How do you create the WebServerThread? Also, is it possible to send > some code to demonstrate this. Did the code snippet for the server not come through? Let me know if you need the full code (there is not much which I left out...). > I will take a look. I have tested > with pretty large files and never seen a problem. Also, what are the JVM arguments you use? -Xmx512m -Xms512m We are talking about a file which is 4MB which causes a problem already. As far as I can tell it looks like the client sends around 16KB and then waits until the server starts reading, the server reads a few bytees (I think the complete header) and then starts to read a few more bytes (not sure) and then suddenly craps out. I spent the last two days figuring out what is going wrong, including tracing and stepping through the code but haven't found the cause. Please let me know if you need further details. Regards, nik39 -- Best regards, nik.thirtynine mailto:nik.thirtynine |