CURLINFO_APPCONNECT_TIME(3) curl_easy_getinfo options CURLINFO_APPCONNECT_TIME(3)NAME
CURLINFO_APPCONNECT_TIME - get the time until the SSL/SSH handshake is completed
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME, double *timep);
DESCRIPTION
Pass a pointer to a double to receive the time, in seconds, it took from the start until the SSL/SSH connect/handshake to the remote host
was completed. This time is most often very near to the CURLINFO_PRETRANSFER_TIME(3) time, except for cases such as HTTP pipelining where
the pretransfer time can be delayed due to waits in line for the pipeline and more.
See also the TIMES overview in the curl_easy_getinfo(3) man page.
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
Added in 7.19.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO curl_easy_getinfo(3), curl_easy_setopt(3),
libcurl 7.54.0 February 03, 2016 CURLINFO_APPCONNECT_TIME(3)
Check Out this Related Man Page
CURLINFO_PROTOCOL(3) curl_easy_getinfo options CURLINFO_PROTOCOL(3)NAME
CURLINFO_PROTOCOL - get the protocol used in the connection
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROTOCOL, long *p);
DESCRIPTION
Pass a pointer to a long to receive the version used in the last http connection. The returned value will be one of the CURLPROTO_* val-
ues.
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
res = curl_easy_perform(curl);
if(res == CURLE_OK) {
long protocol;
curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol);
}
curl_easy_cleanup(curl);
}
AVAILABILITY
Added in 7.52.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLINFO_RESPONSE_CODE(3), curl_easy_getinfo(3), curl_easy_setopt(3),
libcurl 7.54.0 November 23, 2016 CURLINFO_PROTOCOL(3)
Hi there
I'm logged in as root on a UNIX Spark 10 using a SSH client.
I notice that the time on the machine is wrong and I type "man date" in order to receive the options how to change this.
When typing "man date" and hitting Enter I get the message "No manual entry for date"
Why? Am I... (1 Reply)
Hi Everybody,
I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)
I need to use xwindows on an HP server that requires me to connect via SSH.
Can I just use Putty to do this, or do I need an additional program to handle the X-Windows?
Thanks! (4 Replies)
Hi all
I try to execute SSH commands on several hosts in a while-loop.
There seems to be a problem with file-handle, first cycle works correct but no other one will follow due to the while condition is false even that there are many more host entries (lines) in all_hosts.dat.
... (3 Replies)
Hi folks,
What I want to do is to check if there is an instance of running vlc on a remote server, then kill it, and start it again. The code I came up with is:
#!/bin/bash
expectFcn() {
expect -c "
set timeout -1
spawn ssh \"$1@$2\" \"$4\"
match_max 100000
expect {
-re... (2 Replies)
Hello,
Can you please give some info on how to upgrade the SSH/SSL on AIX LPARs?
we've the below version on our servers.
/>lslpp -l | grep -i ssh
openssh.base.client 5.8.0.6102 COMMITTED Open Secure Shell Commands
openssh.base.server 5.8.0.6102 COMMITTED Open Secure... (1 Reply)
i have been learning linux from some time for linux plus exam and learned SSH protocol and have practised to connect to remote computer within Lan network and able to sucesssfully connect it .
using
ssh username@hostname
But i wish to ask how do i use same ssh protocol to connect to other ... (6 Replies)
Hi all,
I have been researching to obtain SSL certification expiry for most of our webistes. For some cases, some hosts where not directly accessible so i finally got a solution working with curl using my proxy. This lists the expiry date which i'm finally looking for.
# curl --proxy... (4 Replies)