added comment about port number in CONNECT string being used as test number
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Dec 2004 17:11:09 +0000 (17:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Dec 2004 17:11:09 +0000 (17:11 +0000)
tests/server/sws.c

index a42f7ee90212744660e267bf4e52264baf0ebf35..7ca14de08458c33e6295c03458eba5a41f20b68a 100644 (file)
@@ -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);