-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Create HTTP Lookup for CPP Client #307
Comments
Can't use boost::asio since we are using bost 1.41 which doesn't have support for native handle |
@saandrews @msb-at-yahoo but when I ran it with valgrind I saw memory leaks https://gist.github.com/jai1/950d93198eea07ab5522833b40bfd9f6 I think this is an issue with the old curl library since So I am going ahead with Matteo's suggestion and creating a thread pool with block curl calls (using easy interface). Let me know if you want me to change the approach. |
i suggest you default the thread pool size to 1. |
I ran into this issue with libcurl - https://www.redhat.com/archives/libvir-list/2012-October/msg00210.html #0 0x00007ffff68ab70b in addbyter (output=110, data=0x7fffcabfbca0) at /home/jai1/curl-master/lib/mprintf.c:998 |
@jai1 Did you see these tips for libcurl in multi-thread apps? |
The implementation is done and passes the cms-qa tests - can you please review it and give a +1. |
In order to do a smooth production roll out we want to bring HTTP Lookup in CPP Client - using libcurl.
The text was updated successfully, but these errors were encountered: