View | Details | Raw Unified | Return to bug 63568
Collapse All | Expand All

(-)a/java/org/apache/tomcat/util/net/SocketProperties.java (-1 / +5 lines)
Lines 201-207 public class SocketProperties { Link Here
201
        if (soTimeout != null && soTimeout.intValue() >= 0)
201
        if (soTimeout != null && soTimeout.intValue() >= 0)
202
            socket.setSoTimeout(soTimeout.intValue());
202
            socket.setSoTimeout(soTimeout.intValue());
203
        if (tcpNoDelay != null)
203
        if (tcpNoDelay != null)
204
            socket.setTcpNoDelay(tcpNoDelay.booleanValue());
204
            try {
205
                socket.setTcpNoDelay(tcpNoDelay.booleanValue());
206
            } catch (SocketException e) {
207
                // option is not supported - ignore
208
            }
205
    }
209
    }
206
210
207
    public void setProperties(ServerSocket socket) throws SocketException{
211
    public void setProperties(ServerSocket socket) throws SocketException{

Return to bug 63568