Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 72034 invoked from network); 3 Feb 2005 17:36:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 17:36:50 -0000 Received: (qmail 47659 invoked by uid 500); 3 Feb 2005 17:36:41 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 47641 invoked by uid 500); 3 Feb 2005 17:36:40 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 47628 invoked by uid 99); 3 Feb 2005 17:36:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from janus.clarkson.edu (HELO janus.clarkson.edu) (128.153.5.33) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 03 Feb 2005 09:36:40 -0800 Received: (qmail 8685 invoked by uid 510); 3 Feb 2005 12:36:17 -0500 Received: from johnsocs@clarkson.edu by janus.clarkson.edu by uid 502 with qmail-scanner-1.21 (uvscan: v4.32.0/v4425. Clear:RC:1(128.153.4.131):. Processed in 0.273003 secs); 03 Feb 2005 17:36:17 -0000 X-Qmail-Scanner-Mail-From: johnsocs@clarkson.edu via janus.clarkson.edu X-Qmail-Scanner: 1.21 (Clear:RC:1(128.153.4.131):. Processed in 0.273003 secs) Received: from unknown (HELO crux.clarkson.edu) (128.153.4.131) by 0 with SMTP; 3 Feb 2005 12:36:16 -0500 Date: Thu, 3 Feb 2005 12:36:15 -0500 (EST) From: Christopher Johnson To: axis-user@ws.apache.org Subject: Re: Connection Keep Alive In-Reply-To: <20050203151534.21754.qmail@gonzaga.cesar.org.br> Message-ID: References: <00cb01c50a05$58c8b530$e14a1bac@intranet.cesar.org.br> <010c01c50a05$ad8891d0$e14a1bac@intranet.cesar.org.br> <20050203151534.21754.qmail@gonzaga.cesar.org.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >From my understanding if using HTTP/1.1 you don't need to directly specify "Keep-Alive". Under HTTP/1.1 ALL connection are kept alive unless stated by "Connection: close" But Carol is right, HTTPSender has the following code to close the connection Chris On Thu, 3 Feb 2005, Ana Carolina Chaves Machado wrote: > Hi, > > I also already verified this problem and to discover that in the HTTPSender > class has the following line of code: > > ... > if (!http10) { > //Force close will be now. > //TODO HTTP/1.1 > httpConnection = HTTPConstants.HEADER_CONNECTION_CLOSE; > } > > ... > > I would like to know because does not use Keep-Alive? > > Thanks, > Carol > > >> > >> ----- Original Message ----- From: "Christopher Johnson" > >> > >> To: > >> Sent: Thursday, February 03, 2005 12:11 PM > >> Subject: Connection Keep Alive > >> > >> > >>> I'm trying to increase performance to my web service by making use of > >>> the > >>> HTTP/1.1 protocol > >>> > >>> I'd like to set Connection to keep-alive but I'm not sure how to do it, > >>> everything try is not working for me. > >>> > >>> Also by setting connection to keep-alive after calling call.invoke() > >>> will > >>> the connection be dropped or will it remain open for the next > >>> call.invoke()? > >>> > >>> Any help would be great thanks. > >>> > >>> -Chris > >>> > >> > > > >