equal
deleted
inserted
replaced
147 |
147 |
148 private static Set<SocketOption<?>> defaultOptions() { |
148 private static Set<SocketOption<?>> defaultOptions() { |
149 HashSet<SocketOption<?>> set = new HashSet<>(); |
149 HashSet<SocketOption<?>> set = new HashSet<>(); |
150 set.add(StandardSocketOptions.SO_SNDBUF); |
150 set.add(StandardSocketOptions.SO_SNDBUF); |
151 set.add(StandardSocketOptions.SO_RCVBUF); |
151 set.add(StandardSocketOptions.SO_RCVBUF); |
152 set.add(StandardSocketOptions.SO_KEEPALIVE); |
|
153 set.add(StandardSocketOptions.SO_LINGER); |
152 set.add(StandardSocketOptions.SO_LINGER); |
154 return Collections.unmodifiableSet(set); |
153 return Collections.unmodifiableSet(set); |
155 } |
154 } |
156 } |
155 } |
157 |
156 |