Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

Keith Moore <moore@network-heretics.com> Mon, 25 July 2011 04:12 UTC

Return-Path: <moore@network-heretics.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECAD721F853E; Sun, 24 Jul 2011 21:12:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7TqcdDQ3I-4K; Sun, 24 Jul 2011 21:12:45 -0700 (PDT)
Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by ietfa.amsl.com (Postfix) with ESMTP id 3C6A121F853A; Sun, 24 Jul 2011 21:12:45 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id BC92720877; Mon, 25 Jul 2011 00:12:43 -0400 (EDT)
Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 25 Jul 2011 00:12:43 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; s=smtpout; bh=jJ/T+WiGmKn8sH5US+iMXXpYmDE=; b=Le HmCeoIYqCkNwKg6yZqeS+LT0JquJButSUUYHyyKDtIPDGB3FIhE9JJL7VVKzBEe9 0OUry12SKs6KTFaVWYNt194tkv0r1MXK09LAJIFMzDrSzb6qVGVWbspu8Ba42T8x pZDYrAYL+PEgVV8YtvnLV/wmz66HY58ejiSdrNU3Q=
X-Sasl-enc: Ii8Wzsn3IuLkXIgNvmjld9S9HC43yYSJbqd9dmcoJlT3 1311567163
Received: from [192.168.200.118] (modemcable114.145-70-69.static.videotron.ca [69.70.145.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 709964540A8; Mon, 25 Jul 2011 00:12:42 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Keith Moore <moore@network-heretics.com>
In-Reply-To: <20110725032136.A36701222CE2@drugs.dv.isc.org>
Date: Sun, 24 Jul 2011 23:33:04 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <3BC48562-6459-4FB9-9806-731AF87FE027@network-heretics.com>
References: <20110711140229.17432.23519.idtracker@ietfa.amsl.com> <CALiegfk0zVVRBbOP4ugsVXKmcLnryujP6DZqF6Bu_dC2C3PpeQ@mail.gmail.com> <9031.1311082001.631622@puncture> <CALiegfk_GLAhAf=yEe6hYw2bwtxEwg9aJN+f0Bm9he5QgsRavA@mail.gmail.com> <CAP992=Ft6NwG+rbcuWUP0npwVNHY_znHmXmznBQO_krMo3RT6g@mail.gmail.com> <CALiegfmTWMP3GhS1-k2aoHHXkUkB+eWqV=2+BufuWVR1s2Z-EA@mail.gmail.com> <20110721163910.GA16854@1wt.eu> <CAP992=FrX5VxP2o0JLNoJs8nXXba7wbZ6RN9wBUYC0ZSN_wbAg@mail.gmail.com> <9031.1311270000.588511@puncture> <CALiegf=pYzybvc7WB2QfPg6FKrhLxgzHuP-DpuuMfZYJV6Z7FQ@mail.gmail.com> <B2C17B21-EA8A-4698-8C41-F55A9AA140D4@gbiv.com> <20110724073323.EEAAF121E985@drugs.dv.isc.org> <4B3C19FD-B736-4DA7-9DB5-3D433320DCBC@network-heretics.com> <20110725032136.A36701222CE2@drugs.dv.isc.org>
To: Mark Andrews <marka@isc.org>
X-Mailer: Apple Mail (2.1084)
X-Mailman-Approved-At: Sun, 24 Jul 2011 22:10:58 -0700
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Server-Initiated HTTP <hybi@ietf.org>, IETF-Discussion <ietf@ietf.org>
Subject: Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 04:12:46 -0000

On Jul 24, 2011, at 11:21 PM, Mark Andrews wrote:

>>> How do you solve the problem of hosting just "http://example.com/"
>>> on "s1.joes-web-service.com" and not redirect everything else at
>>> example.com?  People have been complaining about this for about as
>>> long as the web has existed.
>> 
>> Well, in a way, that's what NAPTR was for.  All of the UR
>> i resolution mechanisms (equally applicable to DNS-based URIs) that were =
>> developed and never really used grew out of the original realization in =
>> the early 1990s that CERN could stop hosting the original web pages if =
>> it wanted to, and there was no way to keep those links from going stale.
> 
> NAPTR is not defined for HTTP.
> SRV is not defined for HTTP.
> 
>> The problem never went away, but the DNS-based solutions were defined a =
>> long time ago and never used.
> 
> No.  It was explitly NOT defined.

Ok, fair enough.   Those of us who were working on the DNS-based URI resolution mechanisms realized that they could be applied to http URIs in addition to almost anything else (NAPTR is incredibly flexible if you don't mind doing lots of DNS lookups).  But they were never formally adopted.

But if you really want to use DNS to do redirects for http: URIs (or for that matter ws: URIs or almost any other kind of URI), NAPTR was tailor-made to do that.  SRV was not.

Keith