From: <php...@li...> - 2010-02-15 04:44:04
|
On Sun, 2010-02-14 at 20:54 +0000, php...@li... wrote: > etty still seems to not work without the 15 second delay I have tested the bridge on jetty-6.1.20. It runs the bridge without any problems. Looking at the code I see this: sout.writeTo(resOut); if(bridge.logLevel>3) bridge.logDebug("redirecting to port# "+ channelName); sin.close(); try {res.flushBuffer(); } catch (Throwable t) {Util.printStackTrace(t);} // resin ignores resOut.close() try {resOut.close(); } catch (Throwable t) {Util.printStackTrace(t);} // Sun Java System AS 9 ignores flushBuffer() this.waitForContext(ctx); If Jetty version 7 ignores both, res.flushBuffer() and resOut.close(), the front-end won't receive the data before the timeout. This may be a Jetty 7 bug. I will test Jetty 7, if I have some time. Regards, Jost Bökemeier |