8000 docs: update documentation for timeout · russell/libgit2@c3dc87b · GitHub
[go: up one dir, main page]

Skip to content

Commit c3dc87b

Browse files
committed
docs: update documentation for timeout
The connect timeout *does* apply to SSH connections (at least libssh2), so update the documentation appropriately.
1 parent 7be7c0c commit c3dc87b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/git2/common.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,9 @@ typedef enum {
490490
*
491491
* opts(GIT_OPT_SET_SERVER_CONNECT_TIMEOUT, int timeout)
492492
* > Sets the timeout (in milliseconds) to attempt connections to
493-
* > a remote server. This is supported only for HTTP(S) connections
494-
* > and is not supported by SSH. Set to 0 to use the system default.
495-
* > Note that this may not be able to be configured longer than the
496-
* 5858 > system default, typically 75 seconds.
493+
* > a remote server. Set to 0 to use the system default. Note that
494+
* > this may not be able to be configured longer than the system
495+
* > default, typically 75 seconds.
497496
*
498497
* opts(GIT_OPT_GET_SERVER_TIMEOUT, int *timeout)
499498
* > Gets the timeout (in milliseconds) for reading from and writing

0 commit comments

Comments
 (0)
0