Each web server controls the response sizes that are transferred. The
server is started by when a new TCP connection is started. Each
PackMimeHTTP client takes the following steps:
- listen for an HTTP request from the associated client
- when the entire request arrives, the server samples the server
delay time from the server delay distribution
- set a timer to expire when the server delay has passed
- when the timer expires, the server sends response (the size of
which was sampled by the client and passed to the server)
- this process is repeated until the requests are exhausted - the
server is told how many requests will be sent in the connection
- send a FIN to close the connection
Tom Henderson
2011-11-05