Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 42f9f2bf3ef43a3dbf4b918f2dbd768025fb8a1d https://github.com/openSUSE/osc/commit/42f9f2bf3ef43a3dbf4b918f2dbd768025fb8... Author: Sascha Peilicke email@example.com Date: 2013-09-30 (Mon, 30 Sep 2013)
Changed paths: M osc/core.py
Log Message: ----------- Set socket timeout to 0 by default.
As long as the timeout is >= 0, Python's _ssl module will still use non-blocking I/O but not poll() but select(). poll(&fd, 1, TIMEOUT) seems to block _at least_ TIMEOUT time regardless of any errors.
Currently, with SUSE's internal IPv6 layout, this meant a hang of a second per binary to fetch during "osc build".