Eugene Labunsky wrote: > Hello, > > I have add to my socket server http part (based on http server sample). > I have strange problem. For the same settigns it on my PC it's working > fine, > but on other servers it have not reply (only part which need send around > 100-200 long lines). > I tried LINUX & WIN 2003 server - the same... Long reply do not work. > Logs show that reply made by server and need to be sent, but client http > have not it from that PCs (sure finally part with out.flush(); kept). > > Regards, > Eugene Labunsky. > http://www.TrendMedium.com - MetaStock Add-on > > Could you provide us with some more information please? What version of MINA, JRE, etc are you using? A bug has recently been fixed in IoSessionOutputStream (used by StreamIoHandler). Without this bug fix I saw strange behaviour with a modified version of the http server example. I got partial response just like you're experiencing. I'm using Linux here so I have no idea if it's any different on Windows but I doubt that it is.
HTH -- Niklas Therning Software Architect www.spamdrain.net
