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_REUSEADDR); // TODO: DELETE ME |
|
153 set.add(StandardSocketOptions.SO_KEEPALIVE); |
152 set.add(StandardSocketOptions.SO_KEEPALIVE); |
154 set.add(StandardSocketOptions.SO_LINGER); |
153 set.add(StandardSocketOptions.SO_LINGER); |
155 return Collections.unmodifiableSet(set); |
154 return Collections.unmodifiableSet(set); |
156 } |
155 } |
157 } |
156 } |