sws: add 'connection-monitor' command support

Using this, the server will output in the protocol log when the
connection gets disconnected and thus we will verify correctly in the
test cases that the connection doesn't get closed prematurely. This is
important for example NTLM to work.

Documentation added to FILEFORMAT, test 503 updated to use this.
This commit is contained in:
Daniel Stenberg 2012-07-05 09:31:04 +02:00
parent 897cf5d117
commit 28dc509dde
3 changed files with 21 additions and 4 deletions

View file

@ -13,6 +13,9 @@ multi
# Server-side
<reply>
<servercmd>
connection-monitor
</servercmd>
<data>
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT