--- a/java/org/apache/tomcat/util/net/SocketProperties.java +++ a/java/org/apache/tomcat/util/net/SocketProperties.java @@ -201,7 +201,11 @@ public class SocketProperties { if (soTimeout != null && soTimeout.intValue() >= 0) socket.setSoTimeout(soTimeout.intValue()); if (tcpNoDelay != null) - socket.setTcpNoDelay(tcpNoDelay.booleanValue()); + try { + socket.setTcpNoDelay(tcpNoDelay.booleanValue()); + } catch (SocketException e) { + // option is not supported - ignore + } } public void setProperties(ServerSocket socket) throws SocketException{