| |

8 (Connections).

8.1 (Persistent Connections).

8.1.1 .

URL TCP , HTTP . . [30][27]; [26].

HTTP :

HTTP .

8.1.2 .

HTTP/1.1 HTTP , HTTP . , , .

, TCP . Connection. .

8.1.2.1 (Negotiation).

HTTP/1.1 , HTTP/1.1 , Connection (connection-token) "close". , Connection, (connection-token) "close".

HTTP/1.1 , , , Connection "close". , , Connection, "close".

"close" Connection, .

, HTTP , 1.1, . 19.7.1 HTTP/1.0 .

, , (self-defined) ( , ), 4.4.

8.1.2.2 (Pipelining).

, " " ( , ). , .

, , , . , , , . , .

8.1.3 - (Proxy Servers).

, - Connection, 14.2.1.

- ( -), . .

- HTTP/1.0 .

8.1.4 c (Practical Considerations).

, . - , , , . , .

, . , , . , .

, , - . , , "" . , , , , .

, , , - . , idempotent ( 9.1.2); , , .

, .

, . , .

, , , . 2 -. - 2*N -, N - . HTTP .

8.2 .

:

, , HTTP/1.1 ( ) , HTTP/1.1 ( ) 100 (, Continue) , . , (TCP), . , .

HTTP, ; HTTP/1.1 HTTP/1.1 , - , , idempotent ( 9.1.2); , , . ,

HTTP/1.1 HTTP/1.1 , , HTTP/1.0 100 (, Continue). - , . HTTP/1.0 , "binary exponential backoff" , :

  1. .
  2. (request-headers).
  3. R ( ), 5 , .
  4. T = R * (2**N), N - .
  5. , T ( ).
  6. , T .
  7. , , 1, , , .

, HTTP , ,

HTTP/1.1 ( ) , 100 (, Continue), , , 100 (, Continue) ( , ).


Copyright  ©  1998 Alex Simonoff (http://www.omsk.com/Leshik/), All Rights Reserved.


| |