Irfan Bondre <ibondre@yahoo.com> wrote:
> The output from prospect is attached below for both the cases
> 1. When the connection is closed right away after every request.
> 2. If the connection is polled, however, since http 1.0 is used the
> other end closes the connection and this node determines that when
> reusing the socket and verifies that its already closed.
Indeed, if this is only ever going to be HTTP 1.0 without keepalives,
there is little point to keeping the connection open. When you said
earlier that you kept the connection open, I thought it was going to
be doing useful work.
If indeed, in case 2, there is no useful work to be done on the
connection after the first and only query, all it will be doing is
adding another FD to the list of FD's being polled (I'm assuming you
have multiple connections open at once?), and you will indeed have to
have stuff going up to the user when the remote closes the connection.
rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to raj in cup.hp.com but NOT BOTH...