http pipelining

Discussion in 'Java' started by Crouchez, Aug 10, 2007.

  1. Crouchez

    Crouchez Guest

    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]
    []

    ??
     
    Crouchez, Aug 10, 2007
    #1
    1. Advertising

  2. Crouchez

    Roedy Green Guest

    Roedy Green, Aug 10, 2007
    #2
    1. Advertising

  3. Crouchez

    Crouchez Guest

    Crouchez, Aug 10, 2007
    #3
  4. Crouchez

    Roedy Green Guest

    >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.
    --
    Roedy Green Canadian Mind Products
    The Java Glossary
    http://mindprod.com
     
    Roedy Green, Aug 10, 2007
    #4
  5. Crouchez

    Crouchez Guest

    "Roedy Green" <> wrote in message
    news:...
    > >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.
    > --
    > Roedy Green Canadian Mind Products
    > The Java Glossary
    > http://mindprod.com


    by who the client or the server?
     
    Crouchez, Aug 10, 2007
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. koko

    Pipelining in VHDL

    koko, Apr 29, 2004, in forum: VHDL
    Replies:
    2
    Views:
    5,727
    mizocom
    Apr 29, 2004
  2. Peggy
    Replies:
    0
    Views:
    648
    Peggy
    Sep 8, 2004
  3. noviceUser

    HTTP 1.1 pipelining

    noviceUser, May 17, 2004, in forum: Python
    Replies:
    3
    Views:
    391
    Ivan Voras
    May 18, 2004
  4. http pipelining

    , Apr 26, 2007, in forum: Python
    Replies:
    4
    Views:
    640
    John J. Lee
    Apr 30, 2007
  5. panatha

    Question about http pipelining

    panatha, Aug 17, 2007, in forum: Java
    Replies:
    2
    Views:
    778
Loading...

Share This Page