http pipelining

C

Crouchez

Can someone show me how http 1.1 pipelining works on the client side? Like
what does it send in the batch exactly?

Is it

[GET /page.html HTTP/1.1]
[Connection: keep-alive]
[]
[GET /img.jpg HTTP/1.1]
[Connection: keep-alive]
[]
[GET /img2.jpg HTTP/1.1]
[Connection: keep-alive]
[]

??
 
R

Roedy Green

the client (firefox) just sends each request from a seperate socket
connection?
You as a programmer set up a new HTTPConnection for each get/response,
but under the hood a socket will be reused, and discarded after a
while without activity.
 
C

Crouchez

Roedy Green said:
You as a programmer set up a new HTTPConnection for each get/response,
but under the hood a socket will be reused, and discarded after a
while without activity.

by who the client or the server?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top