Skip to content
Snippets Groups Projects
imap.c 28.6 KiB
Newer Older
  • Learn to ignore specific revisions
  •     else {
    #ifdef USE_SSL
          conn->handler = &Curl_handler_imaps_proxy;
    #else
          failf(data, "IMAPS not supported!");
          return CURLE_UNSUPPORTED_PROTOCOL;
    #endif
        }
        /*
         * We explicitly mark this connection as persistent here as we're doing
         * IMAP over HTTP and thus we accidentally avoid setting this value
         * otherwise.
         */
        conn->bits.close = FALSE;
    #else
        failf(data, "IMAP over http proxy requires HTTP support built-in!");
        return CURLE_UNSUPPORTED_PROTOCOL;
    #endif
      }
    
      data->state.path++;   /* don't include the initial slash */
    
      return CURLE_OK;
    }
    
    #endif /* CURL_DISABLE_IMAP */