diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-12-19 21:14:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-12-19 21:14:52 +0000 |
commit | 07416b61e3c403ea56370858a618f877dcaee57d (patch) | |
tree | 2fde760848f524477f97f32edb8d23fc42fccf32 /lib/http.c | |
parent | 000a13e21a30ca55da1fc7affe28fcb7c7171bb7 (diff) |
- Using the libssh2 0.19 function libssh2_session_block_directions(), libcurl
now has an improved ability to do right when the multi interface (both
"regular" and multi_socket) is used for SCP and SFTP transfers. This should
result in (much) less busy-loop situations and thus less CPU usage with no
speed loss.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c index f7b3610c6..560d2e9d8 100644 --- a/lib/http.c +++ b/lib/http.c @@ -137,6 +137,7 @@ const struct Curl_handler Curl_handler_http = { ZERO_NULL, /* doing */ ZERO_NULL, /* proto_getsock */ http_getsock_do, /* doing_getsock */ + ZERO_NULL, /* perform_getsock */ ZERO_NULL, /* disconnect */ PORT_HTTP, /* defport */ PROT_HTTP, /* protocol */ @@ -157,6 +158,7 @@ const struct Curl_handler Curl_handler_https = { ZERO_NULL, /* doing */ https_getsock, /* proto_getsock */ http_getsock_do, /* doing_getsock */ + ZERO_NULL, /* perform_getsock */ ZERO_NULL, /* disconnect */ PORT_HTTPS, /* defport */ PROT_HTTP | PROT_HTTPS | PROT_SSL /* protocol */ |