in urlParse method of url.c when request is for https protocol

method will be METHOD_CONNECT

now consider follwing code that i have copied from function
 if (method == METHOD_CONNECT) {
        debug(17,3) ("urlParse: Protocol %d Method %d \n",protocol,method);
        port = CONNECT_PORT;
        if (sscanf(url, "%[^:]:%d", host, &port) < 1)
            return NULL;

so we have protocol = PROTO_NONE;
why protocol is not set to PROTO_HTTPS?

is there any bug? or  it has special purpose for not to set protcol to PROTO_HTTPS 



_____________________________________________________________________
Get your internet connection from the fastest growing digital network.
ICENET
visit our site www.icenet.net

Reply via email to