Commit d39ba5d
Fix/openssl connect close socket on error (aws#1939)
* Fix: Close socket on error in Openssl_Connect to prevent file descriptor leak.
* For safety, change the initial value of socketStatus to an error.
* Minor formatting
Signed-off-by: Gaurav Aggarwal <[email protected]>
* Fix formatting check
Signed-off-by: Gaurav Aggarwal <[email protected]>
---------
Signed-off-by: Gaurav Aggarwal <[email protected]>
Co-authored-by: Gaurav Aggarwal <[email protected]>1 parent d5fcb97 commit d39ba5d
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
697 | 702 | | |
698 | 703 | | |
699 | 704 | | |
| |||
0 commit comments