Files
git/compat
Edward Thomson 038a22150d poll: honor the timeout on Win32
Ensure that when passing a pipe, the gnulib poll replacement will not
return 0 before the timeout has passed.

Not obeying the timeout (and merely returning 0) causes pathological
behavior when preparing a packfile for a repository and taking a
long time to do so.  If poll were to return 0 immediately, this would
cause keep-alives to get sent as quickly as possible until the packfile
was created.  Such deviance from the standard would cause megabytes (or
more) of keep-alive packets to be sent.

GetTickCount is used as it is efficient, stable and monotonically
increasing.  (Neither GetSystemTime nor QueryPerformanceCounter have
all three of these properties.)
2015-07-28 20:51:14 +02:00
..
2015-07-28 20:51:14 +02:00
2014-06-03 12:06:40 -07:00
2015-03-12 13:45:18 -07:00
2015-05-26 13:24:46 -07:00
2013-09-11 11:08:52 -07:00
2013-04-12 12:23:20 -07:00