1 Reply Latest reply on May 19, 2007 2:36 PM by ron_sigal

    Enable TCP_NO_DELAY on HTTP client


      I'm using JBoss Remoting to access a Web service (via HTTP), and I would like to set the TCP_NO_DELAY option on the sockets used by the remoting client. Is there any way to do this, via the remoting API or not? I know that "enableTcpNoDelay" can be enabled for the socket invoker client, but I don't know how to do this in the HTTP case.

      Thanks in advance.

        • 1. Re: Enable TCP_NO_DELAY on HTTP client

          The Remoting http transport communicates by way of HttpURLConnections, and I'm not aware of any way to access sockets managed by an ordinary HttpUrlConnection. The secure subclass HttpsURLConnection has a setSSLSocketFactory() method, which would allow you to create and configure sockets. Unfortunately, HttpURLConnection doesn't have such a method.