Академический Документы
Профессиональный Документы
Культура Документы
FIN/ACK
2
ACK
Copyright 2005 Department of Computer Science
As you all know, the new HP book will be out in June and then there will be a new movie shortly after that Harry Potter and the Bathtub Ring
hpface.jpg
castle.gif
3
Copyright 2005 Department of Computer Science
Server
G
page.html TCP FIN TCP SYN G The classic approach in HTTP/1.0 is to use one HTTP request per TCP connection, serially.
Server
G
page.html TCP FIN
C S
G
S G hpface.jpg castle.gif
F
5
Copyright 2005 Department of Computer Science
Server
G
page.html G hpface.jpg G The persistent HTTP approach can re-use the same TCP connection for Multiple HTTP transfers, one after another, serially. Amortizes TCP overhead, but maintains TCP state longer at server. Timeout TCP FIN
Copyright 2005 Department of Computer Science
castle.gif
Server
G
page.html
GG
hpface.jpg castle.gif
The pipelining feature in HTTP/1.1 allows requests to be issued asynchronously on a persistent connection. Requests must be processed in proper order. Can do clever packaging. Timeout
TCP FIN
Copyright 2005 Department of Computer Science
Client/server model:
Clients make requests, servers respond to them Done mostly in ASCII text (helps debugging!)