Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #3621
Closed
Open
Issue created Mar 11, 2004 by Peter Bortas@zinoOwner

HTTPS Client problem

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3621

Reported by Marcus Wellhardh wellhard@roxen.com

The search engine in Roxen CMS does not work when using HTTPS ports.

The following test program does not work when accessing a Roxen Webserver HTTPS site:

object o = Protocols.HTTP.Query();

void ok()
{
   write("ok...\n");
   write(sprintf("%O\n",o->headers));
   exit(0);
}

void fail()
{
   write("fail\n");
   exit(0);
}

int main(int foo, array args)
{
  if(sizeof(args) < 2) { werror("USAGE: https.pike <URL>\n"); exit(0); }
  Standards.URI uri = Standards.URI(args[1]);
  if(uri->scheme == "https") o->https = 1;
  o->set_callbacks(ok, fail);
  o->async_request(uri->host, uri->port, "GET / HTTP/1.0");
  return -17;
}
Assignee
Assign to
Time tracking