Commit b2eaefe
Ensure isValid() will not last more than timeout seconds (#1557)
* Ensure isValid() will not last more than timeout seconds
even if the underlying socket is broken (issue #1556)
* Fix check style
* Add a try/catch to succeed tests
* Manages simply and properly get/setNetworkTimeout() in isValid()1 parent 8495127 commit b2eaefe
1 file changed
Lines changed: 16 additions & 10 deletions
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1379 | 1379 | | |
1380 | 1380 | | |
1381 | 1381 | | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1389 | 1395 | | |
1390 | | - | |
1391 | | - | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
1392 | 1399 | | |
1393 | | - | |
1394 | 1400 | | |
1395 | 1401 | | |
1396 | 1402 | | |
| |||
0 commit comments