Re: [hybi] Handshake was: The WebSocket protocol issues.

Alexander Voronin <alexander.voronin@gmail.com> Fri, 24 September 2010 10:10 UTC

Return-Path: <alexander.voronin@gmail.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE4203A6B31 for <hybi@core3.amsl.com>; Fri, 24 Sep 2010 03:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.333
X-Spam-Level:
X-Spam-Status: No, score=-0.333 tagged_above=-999 required=5 tests=[AWL=-0.185, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Krf-k-GXV5kd for <hybi@core3.amsl.com>; Fri, 24 Sep 2010 03:10:10 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 8F54C3A6B14 for <hybi@ietf.org>; Fri, 24 Sep 2010 03:10:05 -0700 (PDT)
Received: by iwn3 with SMTP id 3so2645689iwn.31 for <hybi@ietf.org>; Fri, 24 Sep 2010 03:10:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=zzM3nEzbvT/q2cSxRUqxu92P2Hc0R71UESukXogLa2U=; b=ortVUqijcP4FagPFc22EjYouCzBWK+atghJie1/JW8R6V11SN0wM2kOqs9VYUGjQdo rOOU9mCvJPiFkRzYz7NBLWBzOdTjhPptt2Y4JUs8I5WE96refyjiKV+pS50dOPRyWryd OJiAr9iigjgt+GYuSidKcU3NPBBzPAVkT7+is=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dm8yHBHgQgI4bz2Heu203ZHgpVW8k3HOyfuX8WjD0eJmd9w4gGA5GoXJvGnAGnd8WH PhP8uu3OP+8xdcKKAU7gGZU12+ADhJoowGgWRSi9n35BUsm7ebU8LUbyPL2if1XJHD1e AC/BzgAnVdmuUZ8pGqP9q4qJt0kyFVjc/fSCk=
MIME-Version: 1.0
Received: by 10.231.179.24 with SMTP id bo24mr2005353ibb.193.1285323021814; Fri, 24 Sep 2010 03:10:21 -0700 (PDT)
Received: by 10.231.152.85 with HTTP; Fri, 24 Sep 2010 03:10:21 -0700 (PDT)
In-Reply-To: <AANLkTimiee7ikrG=iz3qtj1unSi+sWy0M50_7vgUSTbd@mail.gmail.com>
References: <AANLkTikszM0pVE-0dpZ2kv=i=y5yzS2ekeyZxtz9N=fQ@mail.gmail.com> <AANLkTikczXMx9XSY4jGaVwh5LndRTTLg==+LPj=JmiGk@mail.gmail.com> <AANLkTi=_TYM1vZrZYBoSu+8j9WrSXfaZ42EMRmnF3rnz@mail.gmail.com> <AANLkTimiee7ikrG=iz3qtj1unSi+sWy0M50_7vgUSTbd@mail.gmail.com>
Date: Fri, 24 Sep 2010 13:10:21 +0300
Message-ID: <AANLkTi=V6kiLjxbUx_YJPRmWyUu-rMuMKnfEOXJ3Lk6E@mail.gmail.com>
From: Alexander Voronin <alexander.voronin@gmail.com>
To: Simone Bordet <simone.bordet@gmail.com>
Content-Type: multipart/alternative; boundary="005045017180230de10490fe96f7"
Cc: hybi <hybi@ietf.org>
Subject: Re: [hybi] Handshake was: The WebSocket protocol issues.
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 24 Sep 2010 10:10:12 -0000

I guess the root of all this issues is handshake mechanism by itself. It's
enough to NOT sed any data in GET request with handshake. I still not
understand why handshake is so complicated.

2010/9/24 Simone Bordet <simone.bordet@gmail.com>

> Hi,
>
> 2010/9/24 Alexander Voronin <alexander.voronin@gmail.com>:
> > To my mind is enough to send 101 or 501 if websocket is not implemented
> on
> > server or intermediary. You are making things too complicated and
> implicit.
>
> Am I ?
> I think Willy showed how intermediaries could already discard bytes
> without closing the connection (see
> http://www.ietf.org/mail-archive/web/hybi/current/msg02149.html).
> I was just asking for a clarification from the proposer about the case
> of a client receiving the 101 but not the ping.
>
> Simon
> --
> http://bordet.blogspot.com
> ---
> Finally, no matter how good the architecture and design are,
> to deliver bug-free software with optimal performance and reliability,
> the implementation technique must be flawless.   Victoria Livschitz
>



-- 
когда я опустился на самое дно, снизу мне постучали..