Return-Path: X-Original-To: apmail-incubator-hama-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77F80CE6D for ; Wed, 16 May 2012 10:08:55 +0000 (UTC) Received: (qmail 70201 invoked by uid 500); 16 May 2012 10:08:55 -0000 Delivered-To: apmail-incubator-hama-commits-archive@incubator.apache.org Received: (qmail 70100 invoked by uid 500); 16 May 2012 10:08:52 -0000 Mailing-List: contact hama-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-commits@incubator.apache.org Received: (qmail 70037 invoked by uid 99); 16 May 2012 10:08:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 10:08:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 10:08:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D26552388860; Wed, 16 May 2012 10:08:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1339103 - /incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java Date: Wed, 16 May 2012 10:08:28 -0000 To: hama-commits@incubator.apache.org From: tommaso@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120516100828.D26552388860@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tommaso Date: Wed May 16 10:08:28 2012 New Revision: 1339103 URL: http://svn.apache.org/viewvc?rev=1339103&view=rev Log: [HAMA-574] - not ignoring the passed isFIltered parameter anymore Modified: incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java Modified: incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java?rev=1339103&r1=1339102&r2=1339103&view=diff ============================================================================== --- incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java (original) +++ incubator/hama/trunk/core/src/main/java/org/apache/hama/http/HttpServer.java Wed May 16 10:08:28 2012 @@ -190,7 +190,7 @@ public class HttpServer { WebAppContext webAppCtx = new WebAppContext(); webAppCtx.setContextPath(pathSpec); webAppCtx.setWar(dir); - addContext(webAppCtx, true); + addContext(webAppCtx, isFiltered); } /** @@ -374,7 +374,7 @@ public class HttpServer { */ public void start() throws IOException { try { - int port = 0; + int port; int oriPort = listener.getPort(); // The original requested port while (true) { try {