alibaba / ilogtail

Fast and Lightweight Observability Data Collector
https://ilogtail.gitbook.io/ilogtail-docs
Apache License 2.0
1.75k stars 389 forks source link

Support sync curl function in common http module. #1758

Closed linrunqi08 closed 1 month ago

linrunqi08 commented 1 month ago

背景: ebpf的k8s meta功能以及商业版的请求ecs metadata等都依赖curl的同步请求接口,之前都是裸调curl。现在在框架层面应该提供一个同步http请求的封装,方便各个模块调用。本次pr提供了同步curl的封装。