rnowosielski/libgit2 — pull request #1 by rnowosielski (2014-08-05 11:24:22+00:00)
Title: Remote set timeout

**NOTE**: *This is work in progress, so please don't merge and do comment on this as soon as possible so I could amend the direction of work*

In order to address issue #2147, I would want to add the ability to set timeout value on the remote, that would affect the network operations for that remote.

The reason for that is that the default timeout for WinHttp is 30 seconds, what effectively hampers pushes of bigger repositories.

The changes below alter mostly remote and smart transport cascading the timeout all the way down to the sub transport where all the session magic happens.

For now I implemented the change in winhttp.c. When I get some comments I can go and add the implementation for other sub transports.