comp.lang.ada
 help / color / mirror / Atom feed
From: "Jacob M. H. Smith" <jacob.m.h.smith@googlemail.com>
Subject: Re: GNAT.Sockets. Blocking?
Date: Tue, 23 Jun 2009 21:55:39 -0700 (PDT)
Date: 2009-06-23T21:55:39-07:00	[thread overview]
Message-ID: <392f68f1-4eb3-473d-ab9a-d3d8ff524ff3@c9g2000yqm.googlegroups.com> (raw)
In-Reply-To: nospam-FC0476.20144723062009@news.aioe.org

On Jun 24, 2:14 am, "John B. Matthews" <nos...@nospam.invalid> wrote:
> The Google page specifies "Transfer-Encoding: chunked", which must be
> "terminated by closing the connection." To get the whole page, I think  
> you'd need to handle the chunk-size:
>
> <http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6>

Thanks for your reply, but I don't think that's correct. It says
"the set of transfer-codings MUST include "chunked", unless the
message is terminated by closing the connection.". That sounds
to me like there is really no problem in having a persistent
connection and chunked transfer encoding.

> Your code gets www.example.com correctly, without an explicit
> "Connection: close":
>
> <http://www.rfc-editor.org/rfc/rfc2606.txt>

I think that's because example.com closes the connection, no matter
if you request a persistent connection or not. At least on my end
here.



  reply	other threads:[~2009-06-24  4:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 21:06 GNAT.Sockets. Blocking? Jacob M. H. Smith
2009-06-24  0:14 ` John B. Matthews
2009-06-24  4:55   ` Jacob M. H. Smith [this message]
2009-06-24 14:36     ` John B. Matthews
2009-06-24  7:47 ` Dmitry A. Kazakov
2009-06-24 13:32 ` anon
2009-06-24 14:03 ` anon
2009-06-24 15:14 ` Pascal Obry
2009-06-24 18:44 ` Simple solution was " anon
2009-06-24 18:47 ` Per Sandberg
2009-06-24 19:51   ` Pascal Obry
2009-06-24 22:12   ` Jeffrey R. Carter
2009-06-25 17:30     ` Jacob M. H. Smith
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox