Use Curl_ssl_connect for non-blocking connect fallback
This gets the appconnect time right for ssl backends, which don't support non-blocking connects. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
This commit is contained in:
		
				
					committed by
					
						
						Daniel Stenberg
					
				
			
			
				
	
			
			
			
						parent
						
							1fc5cd6a1a
						
					
				
				
					commit
					3c18b38dcc
				
			@@ -221,8 +221,7 @@ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
 | 
			
		||||
  return res;
 | 
			
		||||
#else
 | 
			
		||||
  *done = TRUE; /* fallback to BLOCKING */
 | 
			
		||||
  conn->ssl[sockindex].use = TRUE;
 | 
			
		||||
  return curlssl_connect(conn, sockindex);
 | 
			
		||||
  return Curl_ssl_connect(conn, sockindex);
 | 
			
		||||
#endif /* non-blocking connect support */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user