The restart of negotiation triggered by a HelloRequest currently does not call tls_tx_resume() and so may end up leaving the connection in an idle state in which the pending ClientHello is never sent. Fix by calling tls_tx_resume() as part of tls_restart(), since the call to tls_tx_resume() logically belongs alongside the code that sets bits in tls->tx_pending. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 940 |
|
940 |
|
| 941 |
|
941 |
|
| 942 |
|
942 |
|
|
943 |
|
|
|
944 |
|
|
|
945 |
|
|
|
946 |
|
|
|
947 |
|
|
|
948 |
|
|
|
949 |
|
|
|
950 |
|
|
|
951 |
|
|
|
952 |
|
|
|
953 |
|
|
|
954 |
|
|
|
955 |
|
|
|
956 |
|
|
|
957 |
|
|
|
958 |
|
|
|
959 |
|
|
|
960 |
|
|
|
961 |
|
|
|
962 |
|
|
|
963 |
|
|
| 943 |
|
964 |
|
| 944 |
|
965 |
|
| 945 |
|
966 |
|
|
|
||
| 961 |
|
982 |
|
| 962 |
|
983 |
|
| 963 |
|
984 |
|
|
985 |
|
|
| 964 |
|
986 |
|
| 965 |
|
987 |
|
| 966 |
|
988 |
|
| 967 |
|
989 |
|
| 968 |
|
|
|
| 969 |
|
|
|
| 970 |
|
|
|
| 971 |
|
|
|
| 972 |
|
|
|
| 973 |
|
|
|
| 974 |
|
|
|
| 975 |
|
|
|
| 976 |
|
|
|
| 977 |
|
|
|
| 978 |
|
|
|
| 979 |
|
|
|
| 980 |
|
|
|
| 981 |
|
|
|
| 982 |
|
|
|
| 983 |
|
|
|
| 984 |
|
|
|
| 985 |
|
|
|
| 986 |
|
|
|
| 987 |
|
|
|
| 988 |
|
|
|
| 989 |
|
990 |
|
| 990 |
|
991 |
|
| 991 |
|
992 |
|
|
|
||
| 3086 |
|
3087 |
|
| 3087 |
|
3088 |
|
| 3088 |
|
3089 |
|
| 3089 |
|
|
|
|
3090 |
|
|
|
3091 |
|
|
| 3090 |
|
3092 |
|
| 3091 |
|
3093 |
|
| 3092 |
|
3094 |
|