Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
RE: CURLMOPT_MAX_HOST_CONNECTIONS
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Mellergård, Daniel via curl-library <curl-library_at_lists.haxx.se>
Date: Sat, 5 Feb 2022 00:00:12 +0000
>> If you didn't set a limit for curl, it doesn't care and then there's no ceiling.
>Ok, I accept your word for it. In any way it doesn't cause an issue for us. I'll probably set a max-limit of maximum 64 connections anyway. But as far I can see, there are 64 connections opened almost at once (it differs slightly, less than 20 ms at most, probably because requests are placed at slightly different times). No connection has reached the connect phase before all connections has been opened and started executing dns lookup. (And definitely no transfers has been completed, so there are no consecutive requests being placed from early finished transfers.) It might be possible that we place exactly 64 requests at once every time when we start a session, but it's not very likely I would say (we probably place more).
I need to correct myself on this one. We actually place 64 requests initially, and I have verified that curl has no particular limit for this (if not set).
Date: Sat, 5 Feb 2022 00:00:12 +0000
>> If you didn't set a limit for curl, it doesn't care and then there's no ceiling.
>Ok, I accept your word for it. In any way it doesn't cause an issue for us. I'll probably set a max-limit of maximum 64 connections anyway. But as far I can see, there are 64 connections opened almost at once (it differs slightly, less than 20 ms at most, probably because requests are placed at slightly different times). No connection has reached the connect phase before all connections has been opened and started executing dns lookup. (And definitely no transfers has been completed, so there are no consecutive requests being placed from early finished transfers.) It might be possible that we place exactly 64 requests at once every time when we start a session, but it's not very likely I would say (we probably place more).
I need to correct myself on this one. We actually place 64 requests initially, and I have verified that curl has no particular limit for this (if not set).
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-02-05