Open hwinkel opened 9 years ago
lib curl seems to create more connection than seems good for some machines. to prevent issues with to many open connections a hard cap should be configurable.
the problem with multiple open tcp connections is fixed in https://github.com/travelping/journal-gateway-gelf/pull/13
if one wants to implement a real pool of senders, one needs to look into https://curl.haxx.se/libcurl/c/libcurl-multi.html.
https://github.com/travelping/journal-gateway-gelf/blob/master/src/journal-gateway-gelf-source.c#L190