From MAILER-DAEMON Fri Nov 1 10:06:16 2002 Date: 01 Nov 2002 10:06:16 -0800 From: Mail System Internal Data <jason46@example.com> Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA X-IMAP: 1036173976 0000000000 Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. From jason46@example.com Tue Oct 01 07:54:35 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 63442 invoked by uid 500); 1 Oct 2002 07:54:34 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 63431 invoked from network); 1 Oct 2002 07:54:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2002 07:54:34 -0000 Received: (qmail 15254 invoked by uid 50); 1 Oct 2002 07:55:28 -0000 Date: 1 Oct 2002 07:55:28 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13168] New: - Unexpected XML parser behavior X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13168>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13168 Unexpected XML parser behavior Summary: Unexpected XML parser behavior Product: XML-RPC Version: unspecified Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Source AssignedTo: jason46@example.com ReportedBy: jason46@example.com When bad requests are addressed to the XmlRpcServer, the XML parser produces strange results. Case 1 ------ The client sends a wellformed XML request which content is not a correct XML- RPC call. The parser seems not to detect the error, and the XmlRpcHandler is called back with data retained from a previous successful invocation (method name). When this error occurs in the first request processing, the handler is called with a null reference... This seems to be a bad data state management in the server's shared workers. Sample client code : URL url = new URL(endpoint); HttpURLConnection http = (HttpURLConnection) url.openConnection(); http.setRequestMethod("POST"); http.setDoOutput(true); PrintWriter pw = new PrintWriter(http.getOutputStream()); pw.print("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"); pw.print("<a>hello</a>"); pw.flush(); Case 2 ------ The client request content is not jason46@example.com. The parser detects the invalid format, and sends back an XML-RPC fault reporting the SAX exception. Sample client code : URL url = new URL(endpoint); HttpURLConnection http = (HttpURLConnection) url.openConnection(); http.setRequestMethod("POST"); http.setDoOutput(true); PrintWriter pw = new PrintWriter(http.getOutputStream()); pw.print("Bye"); pw.flush(); I think these two cases should be handled both as a same invalid invocation. The client seems not to use the XML-RPC protocol, for instance because of a bad url configuration, and i'm not sure answering an XML-RPC fault is the best way. I'd prefer the XmlRpcServer to throw a specific java exception, and thus give the main program (in our case, servlets) a chance to handle the error at the lower HTTP level. In deed, any IO exception during the XML/XML-RPC parsing could also be processed this way. From jason46@example.com Tue Oct 01 19:38:47 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 35410 invoked by uid 500); 1 Oct 2002 19:38:46 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 35398 invoked from network); 1 Oct 2002 19:38:45 -0000 Received: from tug.demon.co.uk (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2002 19:38:45 -0000 Received: from bach (83.161.120.155.in-addr.arpa [83.161.120.155]) by tug.demon.co.uk (Postfix) with SMTP id 35BC717EA5 for <jason46@example.com>; Tue, 1 Oct 2002 20:38:49 +0100 (BST) Message-ID: <027401c26982$2a1a5930$01640a0a@bach> From: "John Wilson" <jason46@example.com> To: <jason46@example.com> References: <jason46@example.com> Subject: Re: DO NOT REPLY [Bug 13168] New: - Unexpected XML parser behavior Date: Tue, 1 Oct 2002 20:38:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: [snip] It would have been better to submit this as two bug reports. > When bad requests are addressed to the XmlRpcServer, the XML parser > produces strange results. > > Case 1 > ------ > The client sends a wellformed XML request which content is not a > correct XML- RPC call. > The parser seems not to detect the error, and the XmlRpcHandler is > called back with data retained from a previous successful invocation > (method name). When this error occurs in the first request > processing, the handler is called with a null reference... This seems > to be a bad data state management in the server's shared workers. > > Sample client code : > > URL url = new URL(endpoint); > HttpURLConnection http = (HttpURLConnection) url.openConnection(); > http.setRequestMethod("POST"); > http.setDoOutput(true); > PrintWriter pw = new PrintWriter(http.getOutputStream()); > pw.print("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"); > pw.print("<a>hello</a>"); > pw.flush(); > This seems a genuine bug in the server - it's almost certainly not a Parser bug. > Case 2 > ------ > The client request content is not jason46@example.com. > The parser detects the invalid format, and sends back an XML-RPC fault > reporting the SAX exception. > > Sample client code : > > URL url = new URL(endpoint); > HttpURLConnection http = (HttpURLConnection) url.openConnection(); > http.setRequestMethod("POST"); > http.setDoOutput(true); > PrintWriter pw = new PrintWriter(http.getOutputStream()); > pw.print("Bye"); > pw.flush(); > This is expected behaviour and is, in my view, correct. From jason46@example.com Fri Oct 04 16:01:47 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 21896 invoked by uid 500); 4 Oct 2002 16:01:46 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 21849 invoked from network); 4 Oct 2002 16:01:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Oct 2002 16:01:45 -0000 Received: (qmail 9554 invoked by uid 50); 4 Oct 2002 16:01:59 -0000 Date: 4 Oct 2002 16:01:59 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13298] New: - Javadoc error in XmlRpcClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13298>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13298 Javadoc error in XmlRpcClient Summary: Javadoc error in XmlRpcClient Product: XML-RPC Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Source AssignedTo: jason46@example.com ReportedBy: jason46@example.com The javadoc claims this supports cookies; it does not. From jason46@example.com Fri Oct 04 16:19:13 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 47765 invoked by uid 500); 4 Oct 2002 16:19:12 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 47730 invoked from network); 4 Oct 2002 16:19:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Oct 2002 16:19:12 -0000 Received: (qmail 22399 invoked by uid 50); 4 Oct 2002 16:19:38 -0000 Date: 4 Oct 2002 16:19:38 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13298] - Javadoc error in XmlRpcClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13298>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13298 Javadoc error in XmlRpcClient ------- Additional Comments From jason46@example.com 2002-10-04 16:19 ------- Created an attachment (id=3354) Patch - fixes javadoc From jason46@example.com Fri Oct 04 17:21:43 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 11324 invoked by uid 500); 4 Oct 2002 17:21:41 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 11311 invoked from network); 4 Oct 2002 17:21:41 -0000 Received: from mail.isisnetworks.net (83.161.120.155) by daedalus.apache.org with SMTP; 4 Oct 2002 17:21:41 -0000 Received: from isisnetworks.net [83.161.120.155] by mail.isisnetworks.net with ESMTP (SMTPD32-6.06) id AF2A1B44004C; Fri, 04 Oct 2002 13:26:02 -0400 Message-ID: <jason46@example.com> Date: Fri, 04 Oct 2002 13:22:21 -0400 From: Ryan Hoegg <jason46@example.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason46@example.com Subject: Working HTTP 1.1 Support... but wait! Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: OK it works. Fixed a minor problem with HttpClient and non-compliant HTTP 1.1 servers and this thing works with all the XML-RPC servers I have tried, as well as the ClientServerRpcTest. So now an old question resurfaces: How to expose the functionality? I followed the precedent set by setBasicAuthentication to add setUserAgent, and cookies are now automatically handled. Furthermore, at least on my system, I can use SSL with the vanilla XmlRpcClient just by changing the URL... the encapsulated HttpClient does it for me. The real dilemma: XML-RPC disallows certain features of HTTP 1.1 (chunking) but I know that people are using them (PHP-XML-RPC, proprietary software used by my client's software vendor). So... do we allow users of the library to break the spec and setHttp11(true)? Also, I have just submitted a patch to HttpClient, so it probably won't be released in a stable version tomorrow. If/when we introduce this dependency, any Ant/Maven gurus want to automate that part? I have never used either. -- Ryan Hoegg ISIS Networks From jason46@example.com Mon Oct 07 15:42:19 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 66213 invoked by uid 500); 7 Oct 2002 15:42:18 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 66178 invoked from network); 7 Oct 2002 15:42:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 7 Oct 2002 15:42:16 -0000 Received: (qmail 23324 invoked by uid 50); 7 Oct 2002 15:43:02 -0000 Date: 7 Oct 2002 15:43:02 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13363] New: - Replace underlying HTTP client functionality with Jakarta Commons HttpClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363 Replace underlying HTTP client functionality with Jakarta Commons HttpClient Summary: Replace underlying HTTP client functionality with Jakarta Commons HttpClient Product: XML-RPC Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Source AssignedTo: jason46@example.com ReportedBy: jason46@example.com The current software used to connect to HTTP servers in the client portions of the library is java.net.URLConnection. I propose an upgrade to the Jakarta Commons HttpClient at hhttp://jakarta.apache.org/commons/httpclient/ for several reasons: - Cleaner handling of authentication - Cookie support, which would close Bug 13298 - General HTTP header handling (currently used in my application for User-Agent header. - Full HTTP 1.1 support. This one is controversial as the XML-RPC spec prohibits the use of HTTP chunking. However, servers out there are known to use it, so this provides the capability without a mandate. If we decide against it, we can just hardcode setHttp11(false); however I recommend exposing this option to users. I have a working patch but am currently waiting to hear from committers on the preferred API changes before submitting. Also, my patch uses HttpClient 2.0alpha. We may want to wait until 2.0 goes stable as the HttpClient team is still finalizing the API for 2.0. My patch currently adds the following public methods to XmlRpcClient: setUserAgent(String userAgent) setHttp11(boolean http11) we may also want: addHttpHeader(Header header) or addHttpHeader(String header, String value) From jason46@example.com Mon Oct 07 15:43:40 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 66860 invoked by uid 500); 7 Oct 2002 15:43:39 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 66845 invoked from network); 7 Oct 2002 15:43:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 7 Oct 2002 15:43:39 -0000 Received: (qmail 23586 invoked by uid 50); 7 Oct 2002 15:44:21 -0000 Date: 7 Oct 2002 15:44:21 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13363] - Replace underlying HTTP client functionality with Jakarta Commons HttpClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363 Replace underlying HTTP client functionality with Jakarta Commons HttpClient ------- Additional Comments From jason46@example.com 2002-10-07 15:44 ------- The patch I currently have stems from the one I submitted in Bug 12552. From jason46@example.com Tue Oct 08 20:42:17 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 14022 invoked by uid 500); 8 Oct 2002 20:42:16 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 14009 invoked from network); 8 Oct 2002 20:42:15 -0000 Received: from 12-233-127-93.client.attbi.com (HELO despot) (83.161.120.155) by daedalus.apache.org with SMTP; 8 Oct 2002 20:42:15 -0000 Received: by despot (Postfix, from userid 500) id E08133481FF; Tue, 8 Oct 2002 13:42:29 -0700 (PDT) Sender: jason46@example.com To: jason46@example.com Subject: Re: PATCH: Test case for multicall From: Daniel Rall <jason46@example.com> Date: 08 Oct 2002 13:42:29 -0700 In-Reply-To: <jason46@example.com> Message-ID: <jason46@example.com> Lines: 6 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Andrew, now that you have commit access, feel free to commit your recent patches at your leisure. Updating xdocs/changes.xml with a brief summary of each change would be appreciated. -- Daniel Rall <jason46@example.com> From jason46@example.com Wed Oct 09 04:22:15 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 85301 invoked by uid 500); 9 Oct 2002 04:22:14 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 85284 invoked from network); 9 Oct 2002 04:22:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 04:22:13 -0000 Received: (qmail 29883 invoked by uid 50); 9 Oct 2002 04:23:07 -0000 Date: 9 Oct 2002 04:23:07 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13440] New: - Add Contributing xdoc for site X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440 Add Contributing xdoc for site Summary: Add Contributing xdoc for site Product: XML-RPC Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Website AssignedTo: jason46@example.com ReportedBy: jason46@example.com Add a page telling developers the process for contributing code. From jason46@example.com Wed Oct 09 04:23:00 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 85658 invoked by uid 500); 9 Oct 2002 04:22:59 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 85649 invoked from network); 9 Oct 2002 04:22:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 04:22:59 -0000 Received: (qmail 462 invoked by uid 50); 9 Oct 2002 04:23:52 -0000 Date: 9 Oct 2002 04:23:52 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13440] - Add Contributing xdoc for site X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440 Add Contributing xdoc for site ------- Additional Comments From jason46@example.com 2002-10-09 04:23 ------- Created an attachment (id=3401) Patch for navigation.xml From jason46@example.com Wed Oct 09 04:23:43 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 85941 invoked by uid 500); 9 Oct 2002 04:23:42 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 85932 invoked from network); 9 Oct 2002 04:23:42 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 04:23:42 -0000 Received: (qmail 818 invoked by uid 50); 9 Oct 2002 04:24:35 -0000 Date: 9 Oct 2002 04:24:35 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13440] - Add Contributing xdoc for site X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13440 Add Contributing xdoc for site ------- Additional Comments From jason46@example.com 2002-10-09 04:24 ------- Created an attachment (id=3402) This is the new Contributing page From jason46@example.com Wed Oct 09 19:28:00 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 24068 invoked by uid 500); 9 Oct 2002 19:27:59 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 24047 invoked from network); 9 Oct 2002 19:27:59 -0000 Received: from 12-233-127-93.client.attbi.com (HELO despot) (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 19:27:59 -0000 Received: by despot (Postfix, from userid 500) id 71DE13481FF; Wed, 9 Oct 2002 12:28:10 -0700 (PDT) Sender: jason46@example.com To: jason46@example.com Subject: XMLRPC_1_2_A1 tagged From: Daniel Rall <jason46@example.com> Date: 09 Oct 2002 12:28:10 -0700 Message-ID: <jason46@example.com> Lines: 10 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: I just slapped a 1.2 alpha 1 tag on CVS HEAD for anyone who would like a tagged version of the code to work against. I do consider the current code base to be reliable, but things are likely to change slightly before the next final release. Please take that into consideration when using the alpha. If there is a demand for it, I'd be willing to put up source and binary tarballs. - Dan From jason46@example.com Wed Oct 09 19:32:43 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 29226 invoked by uid 500); 9 Oct 2002 19:32:42 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 29204 invoked by uid 500); 9 Oct 2002 19:32:41 -0000 Delivered-To: jason46@example.com Received: (qmail 29186 invoked from network); 9 Oct 2002 19:32:40 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 19:32:40 -0000 Received: (qmail 18802 invoked by uid 1164); 9 Oct 2002 19:32:39 -0000 Date: 9 Oct 2002 19:32:39 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc build.xml project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 12:32:39 Modified: . build.xml project.xml Log: Preperation for tagging 1.2 alpha 1. Revision Changes Path 1.17 +1 -1 xml-rpc/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-rpc/build.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -u -r1.16 -r1.17 --- build.xml 15 Aug 2002 16:30:04 -0000 1.16 +++ build.xml 9 Oct 2002 19:32:39 -0000 1.17 @@ -3,7 +3,7 @@ <project name="xmlrpc" default="jar" basedir="."> <!-- Properties which are not allowed to be overridden --> - <property name="version" value="1.2-dev"/> + <property name="version" value="1.2-a1"/> <!-- Allow any user specific values to override the defaults --> <property file="${user.home}/build.properties" /> 1.9 +1 -1 xml-rpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/xml-rpc/project.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -u -r1.8 -r1.9 --- project.xml 20 Aug 2002 16:58:48 -0000 1.8 +++ project.xml 9 Oct 2002 19:32:39 -0000 1.9 @@ -4,7 +4,7 @@ <pomVersion>3</pomVersion> <name>xmlrpc</name> <id>xmlrpc</id> - <currentVersion>1.2-dev</currentVersion> + <currentVersion>1.2-a1</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://xml.apache.org/</url> From jason46@example.com Wed Oct 09 21:33:35 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 23826 invoked by uid 500); 9 Oct 2002 21:33:34 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 23817 invoked by uid 500); 9 Oct 2002 21:33:34 -0000 Delivered-To: jason46@example.com Received: (qmail 23814 invoked from network); 9 Oct 2002 21:33:34 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 21:33:34 -0000 Received: (qmail 51035 invoked by uid 1164); 9 Oct 2002 21:33:33 -0000 Date: 9 Oct 2002 21:33:33 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 14:33:33 Modified: src/java/org/apache/xmlrpc XmlRpc.java Log: Updated version number for 1.2 alpha 1, and added FIXME so that we preprocess this value. Revision Changes Path 1.30 +3 -2 xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java Index: XmlRpc.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -u -r1.29 -r1.30 --- XmlRpc.java 27 Sep 2002 18:37:23 -0000 1.29 +++ XmlRpc.java 9 Oct 2002 21:33:33 -0000 1.30 @@ -89,7 +89,8 @@ /** * The version string used in HTTP communication. */ - public static final String version = "Apache XML-RPC 1.0"; + // FIXME: Use Ant <filter> to preprocess during compilation + public static final String version = "Apache XML-RPC 1.2-a1"; /** * The default parser to use (MinML). From jason46@example.com Wed Oct 09 21:34:12 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 24363 invoked by uid 500); 9 Oct 2002 21:34:12 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 24347 invoked by uid 500); 9 Oct 2002 21:34:12 -0000 Delivered-To: jason46@example.com Received: (qmail 24343 invoked from network); 9 Oct 2002 21:34:12 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 21:34:12 -0000 Received: (qmail 51150 invoked by uid 1164); 9 Oct 2002 21:34:10 -0000 Date: 9 Oct 2002 21:34:10 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 14:34:10 Modified: src/java/org/apache/xmlrpc XmlRpc.java Log: Upped version to post-1.2 a1. Revision Changes Path 1.31 +2 -2 xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java Index: XmlRpc.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -u -r1.30 -r1.31 --- XmlRpc.java 9 Oct 2002 21:33:33 -0000 1.30 +++ XmlRpc.java 9 Oct 2002 21:34:10 -0000 1.31 @@ -90,7 +90,7 @@ * The version string used in HTTP communication. */ // FIXME: Use Ant <filter> to preprocess during compilation - public static final String version = "Apache XML-RPC 1.2-a1"; + public static final String version = "Apache XML-RPC 1.2-a2-dev"; /** * The default parser to use (MinML). From jason46@example.com Wed Oct 09 22:58:23 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 77417 invoked by uid 500); 9 Oct 2002 22:58:22 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 77408 invoked by uid 500); 9 Oct 2002 22:58:22 -0000 Delivered-To: jason46@example.com Received: (qmail 77405 invoked from network); 9 Oct 2002 22:58:22 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 22:58:22 -0000 Received: (qmail 72269 invoked by uid 1164); 9 Oct 2002 22:58:21 -0000 Date: 9 Oct 2002 22:58:21 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc build.xml project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 15:58:21 Modified: . build.xml project.xml Log: Post 1.2-a1 tag version. Revision Changes Path 1.18 +1 -1 xml-rpc/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-rpc/build.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -u -r1.17 -r1.18 --- build.xml 9 Oct 2002 19:32:39 -0000 1.17 +++ build.xml 9 Oct 2002 22:58:21 -0000 1.18 @@ -3,7 +3,7 @@ <project name="xmlrpc" default="jar" basedir="."> <!-- Properties which are not allowed to be overridden --> - <property name="version" value="1.2-a1"/> + <property name="version" value="1.2-a2-dev"/> <!-- Allow any user specific values to override the defaults --> <property file="${user.home}/build.properties" /> 1.10 +1 -1 xml-rpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/xml-rpc/project.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -u -r1.9 -r1.10 --- project.xml 9 Oct 2002 19:32:39 -0000 1.9 +++ project.xml 9 Oct 2002 22:58:21 -0000 1.10 @@ -4,7 +4,7 @@ <pomVersion>3</pomVersion> <name>xmlrpc</name> <id>xmlrpc</id> - <currentVersion>1.2-a1</currentVersion> + <currentVersion>1.2-a2-dev</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://xml.apache.org/</url> From jason46@example.com Wed Oct 09 23:52:56 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 4532 invoked by uid 500); 9 Oct 2002 23:52:55 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 4498 invoked by uid 500); 9 Oct 2002 23:52:54 -0000 Delivered-To: jason46@example.com Received: (qmail 4491 invoked from network); 9 Oct 2002 23:52:54 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 9 Oct 2002 23:52:54 -0000 Received: (qmail 84570 invoked by uid 1164); 9 Oct 2002 23:52:53 -0000 Date: 9 Oct 2002 23:52:53 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc WebServer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 16:52:53 Modified: src/java/org/apache/xmlrpc WebServer.java Log: If an address to bind our listener socket to is not specified, try harder to bind to the loopback interface rather than to a random network interface at the beginning of the setupServerSocket(int) method. Revision Changes Path 1.19 +12 -1 xml-rpc/src/java/org/apache/xmlrpc/WebServer.java Index: WebServer.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/WebServer.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -u -r1.18 -r1.19 --- WebServer.java 26 Aug 2002 17:41:57 -0000 1.18 +++ WebServer.java 9 Oct 2002 23:52:53 -0000 1.19 @@ -248,7 +248,18 @@ InetAddress addr = address; if (addr == null) { - addr = InetAddress.getLocalHost(); + InetAddress[] addrs = InetAddress.getAllByName("83.161.120.155"); + if (addrs.length > 0 && + "83.161.120.155".equals(addrs[0].getHostAddress())) + { + addr = addrs[0]; + } + else + { + // This is not necessarilly the loopback interface -- it + // could be one of your external network interfaces. + addr = InetAddress.getLocalHost(); + } } // Since we can't reliably set SO_REUSEADDR until JDK 1.4 is From jason46@example.com Thu Oct 10 00:14:04 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 12459 invoked by uid 500); 10 Oct 2002 00:14:04 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 12449 invoked by uid 500); 10 Oct 2002 00:14:03 -0000 Delivered-To: jason46@example.com Received: (qmail 12446 invoked from network); 10 Oct 2002 00:14:03 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:14:03 -0000 Received: (qmail 88790 invoked by uid 1164); 10 Oct 2002 00:14:03 -0000 Date: 10 Oct 2002 00:14:03 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc WebServer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 17:14:02 Modified: src/java/org/apache/xmlrpc WebServer.java Log: A better implementation of CVS rev 1.19 for history's sake. Revision Changes Path 1.20 +10 -7 xml-rpc/src/java/org/apache/xmlrpc/WebServer.java Index: WebServer.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/WebServer.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -u -r1.19 -r1.20 --- WebServer.java 9 Oct 2002 23:52:53 -0000 1.19 +++ WebServer.java 10 Oct 2002 00:14:02 -0000 1.20 @@ -64,6 +64,7 @@ import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; +import java.net.UnknownHostException; import java.util.EmptyStackException; import java.util.Stack; import java.util.StringTokenizer; @@ -248,16 +249,18 @@ InetAddress addr = address; if (addr == null) { - InetAddress[] addrs = InetAddress.getAllByName("83.161.120.155"); - if (addrs.length > 0 && - "83.161.120.155".equals(addrs[0].getHostAddress())) + try + { + addr = InetAddress.getByName("83.161.120.155"); + } + catch (UnknownHostException useDefault) { - addr = addrs[0]; + // This is not necessarilly the loopback interface on + // a multi-homed host. } - else + + if (addr == null) { - // This is not necessarilly the loopback interface -- it - // could be one of your external network interfaces. addr = InetAddress.getLocalHost(); } } From jason46@example.com Thu Oct 10 00:22:45 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 16264 invoked by uid 500); 10 Oct 2002 00:22:45 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 16246 invoked by uid 500); 10 Oct 2002 00:22:45 -0000 Delivered-To: jason46@example.com Received: (qmail 16237 invoked from network); 10 Oct 2002 00:22:45 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:22:45 -0000 Received: (qmail 90835 invoked by uid 1164); 10 Oct 2002 00:22:44 -0000 Date: 10 Oct 2002 00:22:44 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/test/org/apache/xmlrpc ClientServerRpcTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 17:22:44 Modified: src/test/org/apache/xmlrpc ClientServerRpcTest.java Log: Updated test case for recent changes to the WebServer class. Revision Changes Path 1.12 +6 -3 xml-rpc/src/test/org/apache/xmlrpc/ClientServerRpcTest.java Index: ClientServerRpcTest.java =================================================================== RCS file: /home/cvs/xml-rpc/src/test/org/apache/xmlrpc/ClientServerRpcTest.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -u -r1.11 -r1.12 --- ClientServerRpcTest.java 15 Aug 2002 20:39:26 -0000 1.11 +++ ClientServerRpcTest.java 10 Oct 2002 00:22:44 -0000 1.12 @@ -150,6 +150,8 @@ InetAddress localhost = null; try { + // localhost will be a random network interface on a + // multi-homed host. localhost = InetAddress.getLocalHost(); } catch (UnknownHostException e) @@ -157,8 +159,9 @@ fail(e.toString()); } - // WebServer (contains its own XmlRpcServer instance) - webServer = new WebServer(SERVER_PORT, localhost); + // WebServer (contains its own XmlRpcServer instance, binds to + // INADDR_ANY) + webServer = new WebServer(SERVER_PORT); webServer.addHandler(HANDLER_NAME, new TestHandler()); // XML-RPC client(s) From jason46@example.com Thu Oct 10 00:24:13 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 17797 invoked by uid 500); 10 Oct 2002 00:24:12 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 17788 invoked by uid 500); 10 Oct 2002 00:24:12 -0000 Delivered-To: jason46@example.com Received: (qmail 17784 invoked from network); 10 Oct 2002 00:24:12 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:24:12 -0000 Received: (qmail 90996 invoked by uid 1164); 10 Oct 2002 00:24:12 -0000 Date: 10 Oct 2002 00:24:12 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc WebServer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 17:24:12 Modified: src/java/org/apache/xmlrpc WebServer.java Log: When ServerSocket's constructor is passed a null InetAddress, it binds to INADDR_ANY (e.g. all network interfaces on a multi-homed host). This is more in line with what other popular servers do (e.g. Apache httpd), and since we have the "paranoia" setting, is safe enough. Revision Changes Path 1.21 +8 -23 xml-rpc/src/java/org/apache/xmlrpc/WebServer.java Index: WebServer.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/WebServer.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -u -r1.20 -r1.21 --- WebServer.java 10 Oct 2002 00:14:02 -0000 1.20 +++ WebServer.java 10 Oct 2002 00:24:12 -0000 1.21 @@ -64,7 +64,6 @@ import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; -import java.net.UnknownHostException; import java.util.EmptyStackException; import java.util.Stack; import java.util.StringTokenizer; @@ -226,6 +225,11 @@ * hook method for subclasses to override when they desire * different flavor of socket (i.e. a <code>SSLServerSocket</code>). * + * @param port + * @param backlog + * @param addr If <code>null</code>, binds to + * <code>INADDR_ANY</code>, meaning that all network interfaces on + * a multi-homed host will be listening. * @exception Exception Error creating listener socket. */ protected ServerSocket createServerSocket(int port, int backlog, @@ -246,25 +250,6 @@ private synchronized void setupServerSocket(int backlog) throws Exception { - InetAddress addr = address; - if (addr == null) - { - try - { - addr = InetAddress.getByName("83.161.120.155"); - } - catch (UnknownHostException useDefault) - { - // This is not necessarilly the loopback interface on - // a multi-homed host. - } - - if (addr == null) - { - addr = InetAddress.getLocalHost(); - } - } - // Since we can't reliably set SO_REUSEADDR until JDK 1.4 is // the standard, try to (re-)open the server socket several // times. Some OSes (Linux and Solaris, for example), hold on @@ -275,7 +260,7 @@ { try { - serverSocket = createServerSocket(port, backlog, addr); + serverSocket = createServerSocket(port, backlog, address); } catch (BindException e) { @@ -289,12 +274,12 @@ } } - if (XmlRpc.debug) { StringBuffer msg = new StringBuffer(); msg.append("Opened XML-RPC server socket for "); - msg.append(addr.getHostName()).append(':').append(port); + msg.append(address != null ? address.getHostName() : "localhost"); + msg.append(':').append(port); if (attempt > 1) { msg.append(" after ").append(attempt).append(" tries"); From jason46@example.com Thu Oct 10 00:32:25 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 21550 invoked by uid 500); 10 Oct 2002 00:32:25 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 21541 invoked by uid 500); 10 Oct 2002 00:32:24 -0000 Delivered-To: jason46@example.com Received: (qmail 21538 invoked from network); 10 Oct 2002 00:32:24 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:32:24 -0000 Received: (qmail 92615 invoked by uid 1164); 10 Oct 2002 00:32:23 -0000 Date: 10 Oct 2002 00:32:23 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 17:32:23 Modified: . build.xml project.xml src/java/org/apache/xmlrpc XmlRpc.java Log: For XMLRPC_1_2_A2. Revision Changes Path 1.19 +1 -1 xml-rpc/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-rpc/build.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -u -r1.18 -r1.19 --- build.xml 9 Oct 2002 22:58:21 -0000 1.18 +++ build.xml 10 Oct 2002 00:32:23 -0000 1.19 @@ -3,7 +3,7 @@ <project name="xmlrpc" default="jar" basedir="."> <!-- Properties which are not allowed to be overridden --> - <property name="version" value="1.2-a2-dev"/> + <property name="version" value="1.2-a2"/> <!-- Allow any user specific values to override the defaults --> <property file="${user.home}/build.properties" /> 1.11 +1 -1 xml-rpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/xml-rpc/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -u -r1.10 -r1.11 --- project.xml 9 Oct 2002 22:58:21 -0000 1.10 +++ project.xml 10 Oct 2002 00:32:23 -0000 1.11 @@ -4,7 +4,7 @@ <pomVersion>3</pomVersion> <name>xmlrpc</name> <id>xmlrpc</id> - <currentVersion>1.2-a2-dev</currentVersion> + <currentVersion>1.2-a2</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://xml.apache.org/</url> 1.32 +2 -2 xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java Index: XmlRpc.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -u -r1.31 -r1.32 --- XmlRpc.java 9 Oct 2002 21:34:10 -0000 1.31 +++ XmlRpc.java 10 Oct 2002 00:32:23 -0000 1.32 @@ -90,7 +90,7 @@ * The version string used in HTTP communication. */ // FIXME: Use Ant <filter> to preprocess during compilation - public static final String version = "Apache XML-RPC 1.2-a2-dev"; + public static final String version = "Apache XML-RPC 1.2-a2"; /** * The default parser to use (MinML). From jason46@example.com Thu Oct 10 00:33:26 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 22541 invoked by uid 500); 10 Oct 2002 00:33:26 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 22532 invoked by uid 500); 10 Oct 2002 00:33:26 -0000 Delivered-To: jason46@example.com Received: (qmail 22529 invoked from network); 10 Oct 2002 00:33:26 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:33:25 -0000 Received: (qmail 92733 invoked by uid 1164); 10 Oct 2002 00:33:24 -0000 Date: 10 Oct 2002 00:33:24 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: dlr 2002/10/09 17:33:24 Modified: . build.xml project.xml src/java/org/apache/xmlrpc XmlRpc.java Log: Post XMLRPC_1_2_A2 tag. Revision Changes Path 1.20 +1 -1 xml-rpc/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-rpc/build.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -u -r1.19 -r1.20 --- build.xml 10 Oct 2002 00:32:23 -0000 1.19 +++ build.xml 10 Oct 2002 00:33:24 -0000 1.20 @@ -3,7 +3,7 @@ <project name="xmlrpc" default="jar" basedir="."> <!-- Properties which are not allowed to be overridden --> - <property name="version" value="1.2-a2"/> + <property name="version" value="1.2-a3-dev"/> <!-- Allow any user specific values to override the defaults --> <property file="${user.home}/build.properties" /> 1.12 +1 -1 xml-rpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/xml-rpc/project.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -u -r1.11 -r1.12 --- project.xml 10 Oct 2002 00:32:23 -0000 1.11 +++ project.xml 10 Oct 2002 00:33:24 -0000 1.12 @@ -4,7 +4,7 @@ <pomVersion>3</pomVersion> <name>xmlrpc</name> <id>xmlrpc</id> - <currentVersion>1.2-a2</currentVersion> + <currentVersion>1.2-a3-dev</currentVersion> <organization> <name>Apache Software Foundation</name> <url>http://xml.apache.org/</url> 1.33 +2 -2 xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java Index: XmlRpc.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v retrieving revision 1.32 retrieving revision 1.33 diff -u -u -r1.32 -r1.33 --- XmlRpc.java 10 Oct 2002 00:32:23 -0000 1.32 +++ XmlRpc.java 10 Oct 2002 00:33:24 -0000 1.33 @@ -90,7 +90,7 @@ * The version string used in HTTP communication. */ // FIXME: Use Ant <filter> to preprocess during compilation - public static final String version = "Apache XML-RPC 1.2-a2"; + public static final String version = "Apache XML-RPC 1.2-a3-dev"; /** * The default parser to use (MinML). From jason46@example.com Thu Oct 10 00:41:15 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 25330 invoked by uid 500); 10 Oct 2002 00:41:15 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 25321 invoked from network); 10 Oct 2002 00:41:14 -0000 Received: from 12-233-127-93.client.attbi.com (HELO despot) (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 00:41:14 -0000 Received: by despot (Postfix, from userid 500) id BE36C3481FF; Wed, 9 Oct 2002 17:41:32 -0700 (PDT) Sender: jason46@example.com To: jason46@example.com Subject: Re: cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java References: <jason46@example.com> From: Daniel Rall <jason46@example.com> Date: 09 Oct 2002 17:41:32 -0700 In-Reply-To: <jason46@example.com> Message-ID: <jason46@example.com> Lines: 5 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: I've tagged a followup XMLRPC_1_2_A2 to fix a network interface bind >issue I found (and probably introduced a while back, heh). -- Daniel Rall <jason46@example.com> From jason46@example.com Thu Oct 10 16:01:34 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 74544 invoked by uid 500); 10 Oct 2002 16:01:30 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 74510 invoked from network); 10 Oct 2002 16:01:29 -0000 Received: from 12-233-127-93.client.attbi.com (HELO despot) (83.161.120.155) by daedalus.apache.org with SMTP; 10 Oct 2002 16:01:29 -0000 Received: by despot (Postfix, from userid 500) id 322C73481FF; Thu, 10 Oct 2002 09:01:37 -0700 (PDT) Sender: jason46@example.com To: jason46@example.com Subject: HttpClient integration From: Daniel Rall <jason46@example.com> Date: 10 Oct 2002 09:01:37 -0700 Message-ID: <jason46@example.com> Lines: 74 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: Ryan and I have been having the following discussion off-list about integration of the HttpClient library. I'm very much in favor of including this library, but want to assure it's done in a manner which doesn't drastically interfere with our applet users. Thoughts? --=-=-= Content-Type: message/rfc822 Content-Disposition: inline X-From-Line: jason46@example.com Wed Oct 09 16:18:10 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: from mail.isisnetworks.net (mail.isisnetworks.net [83.161.120.155]) by drac (Postfix) with ESMTP id 6211BE2DE for <jason46@example.com>; Wed, 9 Oct 2002 16:18:06 -0400 (EDT) Received: from isisnetworks.net [83.161.120.155] by mail.isisnetworks.net with ESMTP (SMTPD32-6.06) id AFFC637F00E8; Wed, 09 Oct 2002 16:22:20 -0400 Message-ID: <jason46@example.com> Date: Wed, 09 Oct 2002 16:18:10 -0400 From: Ryan Hoegg <jason46@example.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en To: Daniel Rall <jason46@example.com> Subject: Re: xdocs References: <jason46@example.com> <jason46@example.com> <jason46@example.com> <jason46@example.com> <jason46@example.com> <jason46@example.com> X-Spam-Status: No, hits=1.1 required=5.0 tests=SMTPD_IN_RCVD,AWL version=2.20 X-Spam-Level: * Status: X-Content-Length: 1644 Lines: 40 Xref: despot.finemaltcoding.com mail:14424 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Daniel Rall wrote: >Okay. I'm really into using Jakarta Commons HttpClient, but worry >about how use of it will affect applets (it's yet another JAR to >download). Unfortunately I haven't had time to keep up on your work >-- is there any way that we could have two clients, one which uses >HttpClient and one which uses the existing code? I'm imagining >something like the following: > > XML-RPC client interface > _. ._ > /| |\ > / \ > / \ > Impl using HttpClient Impl using home grown code > >That way those who didn't want to have to distribute the HttpClient >JAR for their clients could still use the clunky old code. Right now >we have two (non-SSL) clients, but they don't seem to do much >differently. > > Feel free to take this on-list if you think appropriate. I think the distinction you make above sounds a lot like turning XmlRpcClient and XmlRpcClientLite into two implementations of an interface. If that's the case, I think XmlRpcClient should become an interface and we can rename XmlRpcClient to XmlRpcClientHeavyImpl or something like that. I'd be happy to help but I may not be the best one to determine what goes into the interface and what stays on the class... for instance, does the setBasicAuthentication become an interface or does it live only on the HeavyImpl? Also, any talk about XmlRpcClientLite should probably include John Wilson as he seems to be the committer behind the lightweight code. -- Ryan Hoegg ISIS Networks -- Daniel Rall <jason46@example.com> --=-=-=-- From jason46@example.com Fri Oct 11 21:24:32 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 6726 invoked by uid 500); 11 Oct 2002 21:24:31 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 6621 invoked from network); 11 Oct 2002 21:24:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 11 Oct 2002 21:24:30 -0000 Received: (qmail 26677 invoked by uid 50); 11 Oct 2002 21:25:21 -0000 Date: 11 Oct 2002 21:25:21 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13363] - Replace underlying HTTP client functionality with Jakarta Commons HttpClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363 Replace underlying HTTP client functionality with Jakarta Commons HttpClient ------- Additional Comments From jason46@example.com 2002-10-11 21:25 ------- Some clarifications: This enhancement should only be applied to the "heavy" XmlRpcClient, as the functionality it provides is not worth the additional JAR for applet programmers or other users of the code who desire a small footprint. Daniel suggests creating an XmlRpcClient interface and rename the current XmlRpcClient class with this patch applied, implementing this interface. Deciding which features of XmlRpcClient should be on the interface and what is "extra" is our next task. Some clues can be gleaned by examining XmlRpcClientLite, such as the omission of setBasicAuthentication(). Should this consideration be a new Bug? From jason46@example.com Fri Oct 11 21:27:37 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 9170 invoked by uid 500); 11 Oct 2002 21:27:36 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 9161 invoked from network); 11 Oct 2002 21:27:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 11 Oct 2002 21:27:36 -0000 Received: (qmail 27397 invoked by uid 50); 11 Oct 2002 21:28:27 -0000 Date: 11 Oct 2002 21:28:27 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Cc: Subject: DO NOT REPLY [Bug 13363] - Replace underlying HTTP client functionality with Jakarta Commons HttpClient X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13363 Replace underlying HTTP client functionality with Jakarta Commons HttpClient ------- Additional Comments From jason46@example.com 2002-10-11 21:28 ------- Also, any version of HttpClient before the CVS HEAD 10/10/2002 is incompatible with any XML-RPC servers using HTTP 1.1 with Apache 1.3, notably the PHP-XML-RPC demo jason46@example.com. Hopefully this change will make it into the next stable release of HttpClient. From jason46@example.com Sun Oct 13 14:53:42 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 52565 invoked by uid 500); 13 Oct 2002 14:53:42 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 52556 invoked by uid 500); 13 Oct 2002 14:53:42 -0000 Delivered-To: jason46@example.com Received: (qmail 52553 invoked from network); 13 Oct 2002 14:53:42 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 13 Oct 2002 14:53:42 -0000 Received: (qmail 24503 invoked by uid 1280); 13 Oct 2002 14:53:41 -0000 Date: 13 Oct 2002 14:53:41 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc project.properties X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: mpoeschl 2002/10/13 07:53:41 Modified: . project.properties Log: use turbine settings for checkstyle Revision Changes Path 1.2 +2 -0 xml-rpc/project.properties Index: project.properties =================================================================== RCS file: /home/cvs/xml-rpc/project.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.properties 3 Jun 2002 16:04:33 -0000 1.1 +++ project.properties 13 Oct 2002 14:53:41 -0000 1.2 @@ -5,3 +5,5 @@ maven.compile.debug = on maven.compile.optimize = off maven.compile.deprecation = on + +maven.checkstyle.format = turbine From jason46@example.com Sun Oct 13 15:06:58 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 56039 invoked by uid 500); 13 Oct 2002 15:06:57 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 56029 invoked by uid 500); 13 Oct 2002 15:06:57 -0000 Delivered-To: jason46@example.com Received: (qmail 56026 invoked from network); 13 Oct 2002 15:06:57 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 13 Oct 2002 15:06:57 -0000 Received: (qmail 26359 invoked by uid 1280); 13 Oct 2002 15:06:57 -0000 Date: 13 Oct 2002 15:06:57 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/xdocs/images xml-logo.gif X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: mpoeschl 2002/10/13 08:06:57 Modified: xdocs/images xml-logo.gif Log: use another version of the logo which looks a little better Revision Changes Path 1.2 +16 -21 xml-rpc/xdocs/images/xml-logo.gif <<Binary file>> From jason46@example.com Sun Oct 13 15:07:21 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 56191 invoked by uid 500); 13 Oct 2002 15:07:21 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 56182 invoked by uid 500); 13 Oct 2002 15:07:21 -0000 Delivered-To: jason46@example.com Received: (qmail 56179 invoked from network); 13 Oct 2002 15:07:21 -0000 Received: from icarus.apache.org (83.161.120.155) by daedalus.apache.org with SMTP; 13 Oct 2002 15:07:21 -0000 Received: (qmail 26415 invoked by uid 1280); 13 Oct 2002 15:07:21 -0000 Date: 13 Oct 2002 15:07:21 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: mpoeschl 2002/10/13 08:07:21 Modified: . project.xml Log: add logos to the generated site Revision Changes Path 1.13 +3 -2 xml-rpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/xml-rpc/project.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- project.xml 10 Oct 2002 00:33:24 -0000 1.12 +++ project.xml 13 Oct 2002 15:07:21 -0000 1.13 @@ -8,10 +8,11 @@ <organization> <name>Apache Software Foundation</name> <url>http://xml.apache.org/</url> + <logo>/images/xml-logo.gif</logo> </organization> - <organizationLogo>xml-logo.gif</organizationLogo> <inceptionYear>2001</inceptionYear> <package>org.apache.xmlrpc</package> + <logo>/images/xmlrpc-logo.gif</logo> <shortDescription>Project Management Tools</shortDescription> @@ -172,7 +173,7 @@ <!-- Resources that are packaged up inside the JAR file --> <resources/> - + <jars> </jars> </build> From jason46@example.com Mon Oct 14 22:58:17 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 75800 invoked by uid 500); 14 Oct 2002 22:58:17 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Received: (qmail 75790 invoked from network); 14 Oct 2002 22:58:16 -0000 Received: from mail.isisnetworks.net (83.161.120.155) by daedalus.apache.org with SMTP; 14 Oct 2002 22:58:16 -0000 Received: from isisnetworks.net [83.161.120.155] by mail.isisnetworks.net with ESMTP (SMTPD32-6.06) id AD14A405004C; Mon, 14 Oct 2002 19:02:44 -0400 Message-ID: <jason46@example.com> Date: Mon, 14 Oct 2002 18:58:44 -0400 From: Ryan Hoegg <jason46@example.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason46@example.com Subject: Re: HttpClient integration References: <jason46@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: I've been thinking further about this issue. If we decide to go ahead and make an XmlRpcClient interface, we either have to decide to use some NonImplementedException framework for the features of the interface that XmlRpcClientLiteImpl does not implement, or we need to use an abstract class with the bare minimum for the root interface and inherit XmlRpcClientWithMoreHttpFeatures from it. Are there other features XmlRpcClient provides now that XmlRpcClientLite does not, like multithreading? If so, these should be addressed as well. Thoughts? -- Ryan Hoegg ISIS Networks From jason46@example.com Tue Oct 22 02:18:17 2002 Return-Path: <jason46@example.com> Delivered-To: jason46@example.com Received: (qmail 77710 invoked by uid 500); 22 Oct 2002 02:18:16 -0000 Mailing-List: contact jason46@example.com; run by ezmlm Precedence: bulk list-help: <mailto:jason46@example.com> list-unsubscribe: <mailto:jason46@example.com> list-post: <mailto:jason46@example.com> Reply-To: jason46@example.com Delivered-To: mailing list jason46@example.com Delivered-To: moderator for jason46@example.com Received: (qmail 56933 invoked by uid 500); 21 Oct 2002 13:09:17 -0000 Delivered-To: jason46@example.com Date: 21 Oct 2002 13:08:51 -0000 Message-ID: <jason46@example.com> From: jason46@example.com To: jason46@example.com Subject: cvs commit: xml-rpc/xdocs changes.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: aevers 2002/10/21 06:08:51 Modified: src/java/org/apache/xmlrpc DefaultHandlerMapping.java SystemHandler.java XmlRpcRequest.java XmlRpcRequestProcessor.java XmlRpcServer.java XmlRpcWorker.java src/test/org/apache/xmlrpc ClientServerRpcTest.java xdocs changes.xml Added: src/java/org/apache/xmlrpc ContextXmlRpcHandler.java DefaultXmlRpcContext.java MultiCall.java XmlRpcContext.java Log: Add context support for server side handlers, use context support to re-implement system handlers. Test case for new "system.multicall" handler. (Andrew Evers) Revision Changes Path 1.2 +2 -1 xml-rpc/src/java/org/apache/xmlrpc/DefaultHandlerMapping.java Index: DefaultHandlerMapping.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/DefaultHandlerMapping.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DefaultHandlerMapping.java 26 Aug 2002 17:41:57 -0000 1.1 +++ DefaultHandlerMapping.java 21 Oct 2002 13:08:50 -0000 1.2 @@ -94,7 +94,8 @@ public void addHandler(String handlerName, Object handler) { if (handler instanceof XmlRpcHandler || - handler instanceof AuthenticatedXmlRpcHandler) + handler instanceof AuthenticatedXmlRpcHandler || + handler instanceof ContextXmlRpcHandler) { handlers.put(handlerName, handler); } 1.5 +76 -35 xml-rpc/src/java/org/apache/xmlrpc/SystemHandler.java Index: SystemHandler.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/SystemHandler.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- SystemHandler.java 26 Aug 2002 20:21:51 -0000 1.4 +++ SystemHandler.java 21 Oct 2002
{'source': 'Apache Software Foundation Public Mail Archives'}