Commit 2e71c4c
committed
Fix a possible race condition in sslproto test
test_shutdown_timeout_handler_not_set() might have a race between the
SHUT_WR message and `eof` asyncio event. This fix changes to use the
eof_received() callback triggered by SHUT_WR. Refs #412 2nd issue.1 parent 0df1228 commit 2e71c4c
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2870 | 2870 | | |
2871 | 2871 | | |
2872 | 2872 | | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
2873 | 2877 | | |
2874 | | - | |
2875 | 2878 | | |
2876 | 2879 | | |
2877 | 2880 | | |
| |||
2883 | 2886 | | |
2884 | 2887 | | |
2885 | 2888 | | |
2886 | | - | |
2887 | 2889 | | |
2888 | 2890 | | |
2889 | 2891 | | |
| |||
2911 | 2913 | | |
2912 | 2914 | | |
2913 | 2915 | | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
2914 | 2919 | | |
2915 | 2920 | | |
2916 | 2921 | | |
2917 | | - | |
2918 | | - | |
2919 | 2922 | | |
2920 | 2923 | | |
2921 | | - | |
2922 | | - | |
2923 | | - | |
2924 | | - | |
| 2924 | + | |
| 2925 | + | |
2925 | 2926 | | |
2926 | 2927 | | |
2927 | 2928 | | |
| |||
0 commit comments