pcp
[Top] [All Lists]

Re: [pcp] Service Discovery for PCP Clients

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Service Discovery for PCP Clients
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu, 21 Nov 2013 14:39:59 -0500
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <528BA2DD.9020408@xxxxxxxxxx>
References: <528BA2DD.9020408@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
On 11/19/2013 12:41 PM, Dave Brolley wrote:
The urls returned for IPv6 PMCDs are similar to pcp://[fe80::5eff:35ff:fe07:55ca]:44321. That is, the address is enclosed in [] in order to separate the address from the port. This is a common notation among IPv6-enabled applications. Currently, PCP's url parser does not accept this notation. It should be an easy fix which I can have ready quickly.

I have pushed the following to brolley/dev on pcpfans in order to address this:

commit 032b7ab23e85f3dad35f03e169ef536a78b01511
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Thu Nov 21 14:21:04 2013 -0500

    Allow the host part of the host spec to be enclosed in brackets [].
   
    Needed for IPv6 addresses in order to separate the address from the
    port. e.g. pcp://[fe80::5eff:35ff:fe07:55ca]:44321.
   
    For simplicity, the implementation allows the brackets around the
    host part of any spec, as it does no harm. e.g.
    pcp://[10.15.16.212]:44321 or pcp://[some.host]:44321.

<Prev in Thread] Current Thread [Next in Thread>