diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-02 17:11:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-02 17:11:09 +0000 |
commit | d6c155ff476c34a908d033a014b2d052dd1f3235 (patch) | |
tree | 3a518e49ef1015fe7680c1f96832bc9c956d9b52 /tests/server | |
parent | 15360e5e51aabb142cb71b130ae6a24ff2ba86dd (diff) |
added comment about port number in CONNECT string being used as test number
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sws.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index a42f7ee90..7ca14de08 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -340,6 +340,8 @@ int ProcessRequest(struct httprequest *req) /* if the host name starts with bad, we fake an error here */ req->testno = DOCNUMBER_BADCONNECT; else if(!strncmp(doc, "test", 4)) { + /* if the host name starts with test, the port number used in the + CONNECT line will be used as test number! */ char *ptr = strchr(doc, ':'); if(ptr) req->testno = atoi(ptr+1); |