-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using libcurl-multi
to implement opentelemetry::ext::http::client::curl::HttpClient
#1243
Comments
This issue can be assigned to me, and I will finish it several days later.There will not be any conflict with #1209 . |
Thanks. Was thinking to create an issue for this. |
libcurl-multi
to implement opentelemetry::ext::http::client::curl
libcurl-multi
to implement opentelemetry::ext::http::client::curl::HttpClient
Do we need provide an option for libcurl vs. libcurl-multi? I think libcurl-multi could take more resource usage, so may be not expected for some scenario? |
I think we can use libcurl-multi in SendAsync and still use libcuel-easy in Send. |
Can I do some break changes to |
Hi - I'm using the otlp http exporter, and I'm hitting the issue described in this thread and updating the registry key resolves the issue. However, as mentioned in the thread, the way (I think the issue is that a new session (with calling both |
Is the issue due to local port reuse/overlap? In current setup, the sessions are not concurrent, so the problem should only happen if cleanup is not happening properly in some scenario. |
@lalitb Yes, I believe that's the cause, but I'm not sure about the specifics. It might be Windows specific, but please reuse the CURL* resource (allocated with (I implemented a move assignment operator to reuse CURL in HttpOperation, but it did not help, and needs to be done on a higher level) The problem disappeared in my tests (no output to stdout/stderr from otel-cpp/curl) after creating the registry key as specified in the linked thread above. I modified to |
We still need This jobs is already finished in #1317 . But it will be merged into |
@owent This is the crucial bit that will solve the problem, I think. Thanks :) |
This issue was marked as stale due to lack of activity. |
Is your feature request related to a problem?
To improve IO performance as mentioned in #1175 and #1176
Describe the solution you'd like
Using
libcurl-multi
instead of invoking threads forHttpClient
.Additional context
The text was updated successfully, but these errors were encountered: