Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 76426 invoked from network); 23 Jun 2009 11:25:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 11:25:50 -0000 Received: (qmail 42287 invoked by uid 500); 23 Jun 2009 11:26:01 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 42243 invoked by uid 500); 23 Jun 2009 11:26:01 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 42233 invoked by uid 99); 23 Jun 2009 11:26:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 11:26:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arequipeno@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-yx0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 11:25:49 +0000 Received: by yxe10 with SMTP id 10so7536346yxe.2 for ; Tue, 23 Jun 2009 04:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=09GC7yb4AC25XkUn2cHY4jXb/RzJVWUZ+1ZX6UG7SNk=; b=BMRdGRfzvx1n9Z5narixvz0XDZILLmKrPKsJ6vv/rIjdtJinSfUbWy60ThUs+ZwO4+ 2bNZ7HFGEya+s+s3uw+Qy1f0dYaf/G7wn2sahUmWFxY7gd4cay3WKmaciVHR8CqlDRZo VwDNcWcX1jKq8WEmupvvGQugTXbHDNfI7m+Y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tJYothYwb4u1xSfM7nxwDh3mG0chQLOyJW7il6KiCyJ31b2Zv3BeAkoc1v2SmsoCgY s+eYvKmxhiWmLdhRoJwvzcKqYlY5WFtGMRlmzNrVv6nWNqsmcP8WJzWcAykSoS7l84uw DHmMFtrClDPiWoz/X46sZ4F11vcM3bVy6DzTk= Received: by 10.90.100.11 with SMTP id x11mr6177756agb.85.1245756320695; Tue, 23 Jun 2009 04:25:20 -0700 (PDT) Received: from home.icp.selfip.net (cpe-66-25-34-113.tx.res.rr.com [66.25.34.113]) by mx.google.com with ESMTPS id 27sm13914agb.19.2009.06.23.04.25.19 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Jun 2009 04:25:20 -0700 (PDT) Message-ID: <4A40BB9F.8020300@gmail.com> Date: Tue, 23 Jun 2009 06:25:19 -0500 From: Ian Pilcher User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: Custom ProtocolSocketFactory not being used References: <4A4024E7.8090505@gmail.com> <3a47da010906230030g6e08f6eax775fc667d51c5543@mail.gmail.com> In-Reply-To: <3a47da010906230030g6e08f6eax775fc667d51c5543@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Olindo Pindaro wrote: > Hi, ian, i had your same problem and i used succssfuly a "fake" (as yours) > class that works well. After I posted my question, I found this http://marc.info/?l=jakarta-commons-user&m=111996432020654&w=2. I have found that I can get my ProtocolSocketFactory to be used if I use my own protocol name in *both* the Protocol constructor and registerProtocol: Protocol.registerProtocol("foo", new Protocol("foo", MyProtocolSocketFactory.getInstance(), port)); I still haven't found a way to use my own ProtocolSocketFactory for "https" URLs. Anyone? Thanks! -- ======================================================================== Ian Pilcher arequipeno@gmail.com ======================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org