🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13098

Re: "Good Net-Keeping Seal of Approval" for NNTP servers?

#13098
From: Andrew Gierth
Date: Mon, 09 Dec 1996 00:00
93 lines
4459 bytes
[copy and followups to comp.protocols.tcp-ip]

>>>>> "James" == James Risner <risner@heathers.stdio.com> writes:

 James> What does this mean?
 James> When everyone upgrades to support T/TCP then an http request of less
 James> than 1500 bytes of data will result in 3 packets total.
 James> 1 from client to the server to open and push
 James> 1 from the server to the client to push and close
 James> 1 from client to the server to ack the close

>>>>> "AG" == Andrew Gierth (andrewg@microlise.co.uk) wrote:

 AG> Umm, well, it would, if it wasn't for the fact that HTTP is
 AG> defined in such a way that the client's FIN aborts the whole
 AG> exchange. (I have never understood why they did that.)

 James> Correct, partially.

No, correct totally. HTTP 1.0 or 1.1 transactions *cannot* be done in 3 
segments, even using T/TCP.

 James> Only during normal TCP.
 James> T/TCP is "translated" to normal TCP in the protocol stack, so as far
 James> as the app is concerned the normal 3 way took place.

 James>       To obtain the minimal 3-segment sequence shown in Figure 2, the
 James>       server host must delay acknowledging segment #1 so the response
 James>       may be piggy-backed on segment #2.  If the application takes
 James>       longer than this delay to compute the response, the normal TCP
 James>       retransmission mechanism in TCP B will send an acknowledgment to
 James>       forestall a retransmission from TCP A.

 James>    In this memo, we use the term "transaction" for an elementary
 James>    request/response packet sequence.  This is not intended to imply any
 James>    of the semantics often associated with application-layer transaction
 James>    processing, like 3-phase commits.  It is expected that T/TCP can be
 James>    used as the transport layer underlying such an application-layer
 James>    service, but the semantics of T/TCP is limited to transport-layer
 James>    services such as reliable, ordered delivery and at-most-once

 James> In other words:
 James> "T/TCP is application independent"

Not quite true.

 James> Which means it will work with:
 James> HTTPD, Finger, Telnet, NFS/TCP, and anything else you can think of
 James> that uses TCP.

Only if the application knows how to invoke it.

The problem with HTTP and T/TCP is that HTTP defines the client's close as
terminating a transfer in progress. In other words, the client can't send
SYN-data-FIN in one segment, it would have to delay the FIN until the server
has finished sending the data.

So a minimal exchange would be:

  Client sends SYN & data 
  Server sends SYN,ACK,data,FIN
  CLient sends FIN,ACK
  Server sends ACK for clients FIN

The server end gets left in TIME_WAIT, as currently.

Without T/TCP, the same exchange would be:

  Client sends SYN
  Server sends SYN,ACK
  Client sends ACK,data
  Server sends ACK,data            \- could be combined in one segment
  Server sends FIN                 /
  Client sends ACK,FIN
  Server sends ACK for clients FIN

 James> All we need is more machines to support it, as well as the hordes of PC
 James> and Mac stacks to support it.

This is indeed desirable....

 James> Risner
 James> Read the RFC 1644

I have. Perhaps you should read RFC 1945?

-- 
Andrew Gierth (andrewg@microlise.co.uk)

"Ceterum censeo Microsoftam delendam esse" - Alain Knaff in nanam

Technical Details
Message-ID: <ufohg3mz5k.fsf@zen.microlise.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.mbox.zip!not-for-mail
References: <trans-ya023180001911961144110001@ssbunews.ih.lucent.com>

Show Full Headers
Complete Article Headers
Message-ID: <ufohg3mz5k.fsf@zen.microlise.co.uk>
Subject: Re: "Good Net-Keeping Seal of Approval" for NNTP servers?
Date: Mon, 09 Dec 1996 00:00:00 +0000
From: andrewg@microlise.co.uk (Andrew Gierth)
References: <trans-ya023180001911961144110001@ssbunews.ih.lucent.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.mbox.zip!not-for-mail
X-Deja-AN: 203164340
X-geek: (V3.1)
X-nntp-posting-host: microl.demon.co.uk
Cc: James Risner <risner@heathers.stdio.com>
X-mayan-date: Long count = 12.19.3.13.2; tzolkin = 9 Ik; haab = 5 Mac
Followup-to: comp.protocols.tcp-ip
Organization: Microlise Engineering Ltd.
 gcs/it/cc d-(pu) s: +> a- C++++$ UACHV++++$ P--- L E++ W(--) N+++ o? K? w---
X-attribution: AG
Newsgroups: news.admin.net-abuse.misc,news.software.nntp,comp.protocols.tcp-ip