Diff
Not logged in

Differences From Artifact [fbe1e08fb8]:

To Artifact [e58f8908f6]:


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1724
1725
1726
1727
1728
1729
1730


1731
1732
1733
1734

1735
1736
1737
1738
1739
1740
1741







-
-




-








/*
** Note that the following command is used by ssh:// processing.
**
** COMMAND: test-http
** Works like the http command but gives setup permission to all users.
**
** Options:
**   --ssh-compat        Compatibility option for SSH keys and old clients
*/
void cmd_test_http(void){
  const char *zIpAddr;    /* IP address of remote client */

  if( find_option("ssh-compat", 0, 0)!=0 ) g.fSshClient |= CGI_SSH_COMPAT;
  Th_InitTraceLog();
  login_set_capabilities("sx", 0);
  g.useLocalauth = 1;
  g.httpIn = stdin;
  g.httpOut = stdout;
  find_server_repository(0);
  g.cgiOutput = 1;