Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/bio/SocketEndPoint.java @ 820:8e9db0bbf4f9
remove org.eclipse.jetty.util.log and upgrade slf4j
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 13 Sep 2016 23:13:06 -0600 |
parents | 3428c60d7cfc |
children |
comparison
equal
deleted
inserted
replaced
819:17bd0b170ed6 | 820:8e9db0bbf4f9 |
---|---|
24 import java.net.Socket; | 24 import java.net.Socket; |
25 | 25 |
26 import javax.net.ssl.SSLSocket; | 26 import javax.net.ssl.SSLSocket; |
27 | 27 |
28 import org.eclipse.jetty.util.StringUtil; | 28 import org.eclipse.jetty.util.StringUtil; |
29 import org.eclipse.jetty.util.log.Log; | 29 import org.slf4j.Logger; |
30 import org.eclipse.jetty.util.log.Logger; | 30 import org.slf4j.LoggerFactory; |
31 | 31 |
32 public class SocketEndPoint extends StreamEndPoint | 32 public class SocketEndPoint extends StreamEndPoint |
33 { | 33 { |
34 private static final Logger LOG = Log.getLogger(SocketEndPoint.class); | 34 private static final Logger LOG = LoggerFactory.getLogger(SocketEndPoint.class); |
35 | 35 |
36 final Socket _socket; | 36 final Socket _socket; |
37 final InetSocketAddress _local; | 37 final InetSocketAddress _local; |
38 final InetSocketAddress _remote; | 38 final InetSocketAddress _remote; |
39 | 39 |
271 if (!isInputShutdown()) | 271 if (!isInputShutdown()) |
272 shutdownInput(); | 272 shutdownInput(); |
273 } | 273 } |
274 catch(IOException e) | 274 catch(IOException e) |
275 { | 275 { |
276 LOG.ignore(e); | 276 LOG.trace("",e); |
277 _socket.close(); | 277 _socket.close(); |
278 } | 278 } |
279 } | 279 } |
280 | 280 |
281 @Override | 281 @Override |