CURL.SetMultiOptionMaxTotalConnections
--------------------------------------

Sets max total connections value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetMultiOptionMaxTotalConnections"; Value ) 

**MBS**( **"CURL.SetMultiOptionMaxTotalConnections";** /\* Sets max total connections value. \*/  
**$Value**) /\* The new value. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new value. |  |

### Result

Returns OK or error.

### Description

Sets max total connections value.  
Only for asynchronous transfers with [CURL.PerformAsync](CURLPerformAsync.md).  
Maximum number of open connections in total.  
  
If value is greater than 0, a fixed limit of the maximum number of connections in total.  
### See also

- [CURL.GetMultiOptionMaxHostConnections](CURLGetMultiOptionMaxHostConnections.md)
- [CURL.GetMultiOptionMaxTotalConnections](CURLGetMultiOptionMaxTotalConnections.md)
- [CURL.Perform](CURLPerform.md)
- [CURL.PerformAsync](CURLPerformAsync.md)
- [CURL.SetMultiOptionMaxConnects](CURLSetMultiOptionMaxConnects.md)
- [CURL.SetMultiOptionMaxHostConnections](CURLSetMultiOptionMaxHostConnections.md)

Created 14th April 2018 , last changed 20th November 2024

  
[CURL.SetMultiOptionMaxPipelineLength](CURLSetMultiOptionMaxPipelineLength.md) - [CURL.SetMultiOptionPipelining](CURLSetMultiOptionPipelining.md)

[HTML Version](CURLSetMultiOptionMaxTotalConnections.shtml)