Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] jetty-dev Digest, Vol 58, Issue 1

Thanks for reply. can i switch on and off keep-alive tcp-no-delay ? is it configurable ? i have problem and trying to analyze. During following test sockets are getting into time_wait state.  I am not able to find answer because tcp connection is handled by jetty . how can i debug this problem. 
 
>>
<httpj:engine host="HOST" port="PORT">
<httpj:threadingParameters minThreads="MIN_THREADS"
maxThreads="MAX_THREADS" />
<httpj:connector>
 <ref bean="nioSelectChannelConnector"/>
</httpj:connector>
<httpj:handlers>
 <ref bean="defaultHandler" />
</httpj:handlers>
<httpj:sessionSupport>false</httpj:sessionSupport>
</httpj:engine>
<<

>>
test 1. connection=close
====================
curl -H "Content-Type: text/xml; charset=utf-8" \
    -H "connection: close" \
    -H "SOAPAction:" \
    -d @Soap_Request.xml \
    -X POST http://host:port/service

will send the following header containing "connection=[close]"

Headers: {Accept=[*/*], connection=[close], Content-Length=[1146],
content-type=[text/xml; charset=UTF-8], Expect=[100-continue],
Host=[10.10.10.34:62212], User-Agent=[curl/7.19.6 (sparc-sun-solaris2.10)
libcurl/7.19.6 OpenSSL/0.9.8k zlib/1.2.3]}
------------------------------------------------------------------------------
test 2. connection not defined
=========================
curl -H "Content-Type: text/xml; charset=utf-8" \
     -H "SOAPAction: " \
     -d @Soap_Request.tmp \
     -X POST http://host:port/service

will send the following header containing without connection attribute.

Headers: {Accept=[*/*], Content-Length=[1146], content-type=[text/xml;
charset=UTF-8], Expect=[100-continue], Host=[10.10.10.34:62212],
User-Agent=[curl/7.19.6 (sparc-sun-solaris2.10) libcurl/7.19.6 OpenSSL/0.9.8k
zlib/1.2.3]}  

------------------------------------------------------------------------------
>>
Thanks and regards 
Kaustuv Maji


On 3 December 2013 18:00, <jetty-dev-request@xxxxxxxxxxx> wrote:
Send jetty-dev mailing list submissions to
        jetty-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/jetty-dev
or, via email, send a message with subject or body 'help' to
        jetty-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        jetty-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jetty-dev digest..."


Today's Topics:

   1. How to configure jetty in keep-alive state. (Kaustuv Kuttus)
   2. Re: How to configure jetty in keep-alive state. (Simone Bordet)


----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Dec 2013 08:25:43 +0100
From: Kaustuv Kuttus <kaustuv.maji@xxxxxxxxx>
To: jetty-dev@xxxxxxxxxxx
Subject: [jetty-dev] How to configure jetty in keep-alive state.
Message-ID:
        <CALsRtYeiPSDuhRazXbnYora95tCHOehRiSH3+TcFyND8zj537g@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

i need little help to configure jetty webserver to be use tcp-nodelay and
keep-alive during creating connection.

Am using cxf version 2.5.2.
--
Thanks & regards
Kaustuv Maji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/jetty-dev/attachments/20131203/50dade78/attachment.html>

------------------------------

Message: 2
Date: Tue, 3 Dec 2013 17:25:16 +0100
From: Simone Bordet <sbordet@xxxxxxxxxxx>
To: "Jetty @ Eclipse developer discussion list"
        <jetty-dev@xxxxxxxxxxx>
Subject: Re: [jetty-dev] How to configure jetty in keep-alive state.
Message-ID:
        <CAFWmRJ0j5Zz6hbbT=qqp_top=tLQNnmgMb3b63p0qb0pg3ERRg@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

Hi,

On Tue, Dec 3, 2013 at 8:25 AM, Kaustuv Kuttus <kaustuv.maji@xxxxxxxxx> wrote:
> Hi all,
>
> i need little help to configure jetty webserver to be use tcp-nodelay and
> keep-alive during creating connection.

Both are enabled by default, so nothing you need to do.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


------------------------------

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev


End of jetty-dev Digest, Vol 58, Issue 1
****************************************



--
Thanks & regards
Kaustuv Maji
 

Back to the top