Daniel Axtens
dad94fffe1
net/http: Do not tear down socket if it's already been torn down
...
It's possible for data->sock to get torn down in tcp error handling.
If we unconditionally tear it down again we will end up doing writes
to an offset of the NULL pointer when we go to tear it down again.
Detect if it has been torn down and don't do it again.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2022-06-07 16:39:33 +02:00
..
2019-04-08 15:22:10 +10:00
2022-04-20 18:27:52 +02:00
2022-06-07 16:39:31 +02:00
2022-06-07 13:40:48 +02:00
2021-04-13 17:16:04 +02:00
2022-03-14 15:45:03 +01:00
2022-06-07 16:39:31 +02:00
2021-03-02 15:54:15 +01:00
2022-03-14 15:45:59 +01:00
2022-03-14 15:46:18 +01:00
2012-03-03 13:05:08 +01:00
2011-11-11 21:03:49 +01:00
2022-03-14 15:46:38 +01:00
2022-06-07 16:39:32 +02:00
2022-04-20 18:29:00 +02:00
2022-06-07 16:39:31 +02:00
2022-04-20 18:27:52 +02:00
2022-06-07 16:39:33 +02:00
2022-06-07 16:39:32 +02:00
2022-06-07 13:31:33 +02:00
2022-03-14 15:59:07 +01:00
2021-03-10 14:50:44 +01:00
2022-03-14 15:59:45 +01:00
2022-04-20 18:27:52 +02:00
2022-03-14 16:00:27 +01:00
2022-06-07 16:39:32 +02:00
2013-10-14 03:40:20 +02:00
2014-01-18 23:15:40 +04:00
2014-01-18 23:15:40 +04:00
2022-03-07 15:05:22 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2022-03-21 18:47:16 +01:00
2013-03-01 11:15:09 +01:00
2014-09-21 18:23:23 +02:00
2021-03-02 15:54:19 +01:00
2022-04-04 22:26:31 +02:00
2017-05-03 12:49:31 +02:00