curl-library
Re: CURLOPT_SCOPE
Date: Tue, 8 Jul 2008 08:42:58 -0700
On Tue, Jul 08, 2008 at 11:52:04AM +0100, Phil Blundell wrote:
> Here's a small patch to allow applications to set the address scope ID
> for IPv6 connections.
With a new option to set the scope, it begs the question as to how to
set the scope from the command line. The obvious way is within the URL,
in which case you wouldn't need a new option.
This topic has come up here a few times before without being resolved. There
was a draft RFC at one point that proposed using a + sign to separate an
IPv6 address from the scope ID, but that expired without going anywhere.
RFC4007 section 11 discusses the problem without entirely resolving it.
It talks about the (acknowledged ugly) default solution of including the zone
ID in the URL with an escaped % character, which would give URLs like
http://[fe80::1234%251]/ for an address of fe80::1234%1. That's probably
the more general solution, even if the syntax is pretty ugly.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-07-08