Revision dfdc4060 lib/http/client.py
b/lib/http/client.py | ||
---|---|---|
250 | 250 |
|
251 | 251 |
if not connected: |
252 | 252 |
# Wait for connection |
253 |
event = utils.WaitForSocketCondition(self.sock, select.POLLOUT,
|
|
254 |
self.CONNECT_TIMEOUT)
|
|
253 |
event = utils.WaitForFdCondition(self.sock, select.POLLOUT,
|
|
254 |
self.CONNECT_TIMEOUT) |
|
255 | 255 |
if event is None: |
256 | 256 |
raise http.HttpError("Timeout while connecting to server") |
257 | 257 |
|
Also available in: Unified diff