From 4212db3cb902a368199d96b3483f4ce15ce4cfed Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 20 Jul 2011 11:08:09 -0400 Subject: Spec changes for proposal 181 (client-side optimistic data) --- socks-extensions.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'socks-extensions.txt') diff --git a/socks-extensions.txt b/socks-extensions.txt index f587d9c..b9f070a 100644 --- a/socks-extensions.txt +++ b/socks-extensions.txt @@ -75,6 +75,19 @@ Tor's extensions to the SOCKS protocol misconfigured. This is helpful for the many users who mistakenly try to use Tor as an HTTP proxy instead of a SOCKS proxy. +5. Optimistic data + + Tor allows SOCKS clients to send connection data before Tor has sent a + SOCKS response. When using an exit node that supports "optimistic data", + Tor will send such data to the server without waiting to see whether the + connection attempt succeeds. This behavior can save a single round-trip + time when starting connections with a protocol where the client speaks + first (like HTTP). Clients that do this must be ready to hear that + their connection has succeeded or failed _after_ they have sent the + data. + + + References: [1] http://archive.socks.permeo.com/protocol/socks4.protocol [2] http://archive.socks.permeo.com/protocol/socks4a.protocol -- cgit v1.2.3-54-g00ecf