Commit f525ef6
authored
preventing hang when io readable, but no app-data
TCPSocket may be readable due to handshake data arriving (NewSessionTicket's may arrive unprompted) - this essentially calls a SSL_read to process handshake data and returns nil when an actual EOFError has been raised, otherwise just returns (probably the symbol :wait_readable)1 parent aeea49a commit f525ef6
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
2465 | | - | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
2469 | 2472 | | |
2470 | 2473 | | |
2471 | 2474 | | |
| |||
0 commit comments