ionutboangiu
29f58debc9
Clone header before creating exporter HTTP request
...
Behind http.Header is just a map and it's not safe for concurrent use.
Before this change, a panic might have occurred when doing asynchronous
HTTP exports (applies to both *http_post and *http_json_map exporters).
Cloning the header before adding it to the HTTP request has fixed this
issue.
Slightly improved the test that found this data race.
2023-11-08 17:11:40 +01:00
..
2023-09-01 11:23:54 +02:00
2023-10-27 18:51:01 +02:00
2023-10-17 17:40:43 +02:00
2023-10-17 17:40:43 +02:00
2023-06-22 10:36:46 +02:00
2023-05-31 10:23:12 +02:00
2023-11-08 17:10:13 +01:00
2023-11-08 16:52:38 +01:00
2023-09-01 11:23:54 +02:00
2023-06-27 11:08:34 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2021-11-01 13:49:33 +02:00
2023-05-31 10:23:12 +02:00
2023-09-01 11:23:54 +02:00
2021-10-21 14:30:20 +03:00
2023-05-31 10:23:12 +02:00
2023-11-08 17:10:13 +01:00
2023-11-08 17:11:40 +01:00
2023-09-01 11:23:54 +02:00
2023-11-08 17:11:40 +01:00
2023-11-08 17:11:40 +01:00
2023-10-26 15:55:54 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-06-27 11:08:34 +02:00
2023-06-22 10:36:46 +02:00
2023-05-31 10:23:12 +02:00
2023-09-28 20:48:07 +02:00
2023-09-28 20:48:07 +02:00
2023-09-28 20:48:07 +02:00
2023-10-17 17:40:43 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2023-09-01 11:23:54 +02:00
2023-09-01 11:23:54 +02:00
2023-09-01 11:23:54 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2023-06-22 10:36:46 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2023-06-22 10:36:46 +02:00
2023-09-01 11:23:54 +02:00
2021-08-18 16:33:28 +02:00
2023-05-31 10:23:12 +02:00