Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Does chunked encoding mean separate packets?

Received: by 10.68.46.193 with SMTP id x1mr17084782pbm.7.1318672821005;
        Sat, 15 Oct 2011 03:00:21 -0700 (PDT)
X-BeenThere: nodejs@googlegroups.com
Received: by 10.68.42.101 with SMTP id n5ls12526464pbl.6.gmail; Sat, 15 Oct
 2011 03:00:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.37.102 with SMTP id x6mr2479826pbj.18.1318672813270; Sat,
 15 Oct 2011 03:00:13 -0700 (PDT)
Received: by y22g2000pri.googlegroups.com with HTTP; Sat, 15 Oct 2011 03:00:13
 -0700 (PDT)
Date: Sat, 15 Oct 2011 03:00:13 -0700 (PDT)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML,
 like Gecko) Ubuntu/11.04 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1,gzip(gfe)
Message-ID: <80f0e0b7-28b8-4bcc-9cec-8d56d1dde6ae@y22g2000pri.googlegroups.com>
Subject: Does chunked encoding mean separate packets?
From: Alice <dofflt...@gmail.com>
To: nodejs <nodejs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

Does node send two network packets for this code? (One for "Hello,
World\n' and another for a zero length last chunk to indicate end of
the chunks)

res.write('Hello, World\n');
res.end();