pike.git / lib / modules / Protocols.pmod / HTTP.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:421:    {    if(query)    query+="&"+http_encode_query(query_variables);    else    query=http_encode_query(query_variables);    }       string path=url->path;    if(path=="") path="/";    -  if (!con->headers || -  lower_case(con->headers["connection"]||"close") == "close") { -  // Reset the state of con. -  con->data_timeout = 120; -  con->timeout = 120; -  con->con = 0; -  // con->conthread = 0; -  } -  +     con->async_request(url->host, url->port,    method+" "+path+(query?("?"+query):"")+" HTTP/1.0",    request_headers, data);   }      protected void https_proxy_connect_fail(Protocols.HTTP.Query con,    array(mixed) orig_cb_info,    Standards.URI url, string method,    mapping(string:string) query_variables,    mapping(string:string) request_headers,