N
Naresh Agarwal
Hi
Is there any relation between setConentLength header of
HTTPServletResponse and whether the server will "keep-alive" the
socket connection?
I want HTTPServletResponse to *close* the socket after sending the
response. For this I'm closing the OutputStream after writing the
data. But still socket is not closed and client keeps on waiting to
read from socket.
Is there way I can enfore HTTPServletResponse to close the socket?
thanks,
Naresh
Is there any relation between setConentLength header of
HTTPServletResponse and whether the server will "keep-alive" the
socket connection?
I want HTTPServletResponse to *close* the socket after sending the
response. For this I'm closing the OutputStream after writing the
data. But still socket is not closed and client keeps on waiting to
read from socket.
Is there way I can enfore HTTPServletResponse to close the socket?
thanks,
Naresh