Commit e2f0dc8
committed
Don't SSLClose a panicked connection
Once a `Connection` has panicked in I/O it's effectively poisoned and we
shouldn't come back to it in the destructor, so skip `SSLClose` in this
case.1 parent 4730e30 commit e2f0dc8
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
| |||
709 | 710 | | |
710 | 711 | | |
711 | 712 | | |
| 713 | + | |
712 | 714 | | |
713 | 715 | | |
714 | 716 | | |
| |||
746 | 748 | | |
747 | 749 | | |
748 | 750 | | |
| 751 | + | |
749 | 752 | | |
750 | 753 | | |
751 | 754 | | |
| |||
779 | 782 | | |
780 | 783 | | |
781 | 784 | | |
| 785 | + | |
782 | 786 | | |
783 | 787 | | |
784 | 788 | | |
| |||
806 | 810 | | |
807 | 811 | | |
808 | 812 | | |
809 | | - | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
810 | 819 | | |
811 | 820 | | |
812 | 821 | | |
| |||
0 commit comments