Make socket I/O non-blocking and add optional timeouts. Users may now set `GIT_OPT_SET_SERVER_CONNECT_TIMEOUT` to set a shorter connection timeout. (The connect timeout cannot be longer than the operating system default.) Users may also now configure the socket read and write timeouts with `GIT_OPT_SET_SERVER_TIMEOUT`. By default, connects still timeout based on the operating system defaults (typically 75 seconds) and socket read and writes block. Add a test against our custom testing git server that ensures that we can timeout reads against a slow server.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
mbedtls.c | Loading commit data... | |
mbedtls.h | Loading commit data... | |
openssl.c | Loading commit data... | |
openssl.h | Loading commit data... | |
openssl_dynamic.c | Loading commit data... | |
openssl_dynamic.h | Loading commit data... | |
openssl_legacy.c | Loading commit data... | |
openssl_legacy.h | Loading commit data... | |
registry.c | Loading commit data... | |
registry.h | Loading commit data... | |
schannel.c | Loading commit data... | |
schannel.h | Loading commit data... | |
socket.c | Loading commit data... | |
socket.h | Loading commit data... | |
stransport.c | Loading commit data... | |
stransport.h | Loading commit data... | |
tls.c | Loading commit data... | |
tls.h | Loading commit data... |