Re: accept() errors

2001-03-15 Thread Remy Maucherat
> Hi, > > We don't (can't - java doesn't propogate the info out of the native > methods) know which is the case here. So, it seems we need to > close/reopen the server socket either way - unfortunate, since pending > connections could get dropped, but not too te

accept() errors

2001-03-15 Thread Michael Smith
d, but not too terrible, since accept errors are fairly rare. I think the correct thing to do is (in this code from HttpConnector.java) try { socket = serverSocket.accept(); if (connectionTimeout > 0) socket.setSoTimeout(connec