Manual:$wgHTTPMaxConnectTimeout/de-formal

Details
The maximum HTTP connect timeout in seconds. If any specified or configured connect timeout is larger than this, then this value will be used instead.

Zero is interpreted as "no limit".