astokes_6920
Nov 10, 2009Nimbostratus
HTTP monitor with HEAD, not GET
While using the following monitor, I'm finding that the web servers are keeping TCP sessions in the TIME_WAIT state, rather than closing them outright.
GET /serverin.html HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n
My understanding was that by specifying HTTP 1.1, with the Close and carriage return, I'd be forcing the FIN and FINACK thereby closing the connection. Unfortunately, at any given time, I've got 3000 plus TIME_WAIT states on my web server courtesy of the F5. Obviously I'm missing something here.
Is it possible to use HEAD instead of GET within the send string to correct this? Or is there something else I need to add to the existing string to force an outright closing of the connection?
I've checked the archives here and am not finding a whole lot on the use of HEAD within a monitor.
Any assistance is greatly appreciated.