Re: [Xlightweb-develop] IServer.idleTimeoutMillis
Status: Inactive
Brought to you by:
grro
|
From: Christophe R. <cr...@ac...> - 2010-10-28 13:29:45
|
On 10/16/2010 1:25 AM, Gregor Roth wrote: > > Hi Christophe, > > > take a look into the tutorial > http://xsocket.sourceforge.net/core/tutorial/V2/TutorialCore.htm > (Chapter 10) of the underlying lib xSocket > > > ;-) > > Gregor > > > >> ----- Original Message ----- >> >> From: Christophe Roudet >> >> Sent: 10/15/10 07:18 PM >> >> To: xli...@li... >> >> Subject: [Xlightweb-develop] IServer.idleTimeoutMillis >> >> >> Does anybody know what is IServer.idleTimeoutMillis? Thanks, Christophe ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Xlightweb-develop mailing list Xli...@li... https://lists.sourceforge.net/lists/listinfo/xlightweb-develop > > Thanks Gregor, I still a have a problem, I have set up a server FileServiceRequestHandler requestHandler = new FileServiceRequestHandler(args[0], true); Map<String, IHttpRequestHandler> handlers = new HashMap<String, IHttpRequestHandler>(); handlers.put("/*", requestHandler); Context context = new Context("", handlers); HttpServer httpServer = new HttpServer(InetAddress.getLocalHost(), Integer.valueOf(args[1]).intValue(), context); httpServer.setMaxConcurrentConnections(1000); httpServer.setIdleTimeoutMillis(15000); httpServer.start(); and an idleTimeout exception is always raised when the download exceeds 15 while there is still traffic going on. So does the idle timeout only applies for incoming traffic on the server? Thanks, Christophe |