Change CurlConcurrentConnectionsPerService to U16 and clamp it between 1 and 32.
Also fixes a bug where going from 1 to 2 would not update AIPerService::mConcurrectConnections correctly.
This commit is contained in:
@@ -283,7 +283,7 @@ class RefCountedThreadSafePerService : public threadsafe_PerService {
|
||||
friend void intrusive_ptr_release(RefCountedThreadSafePerService* p);
|
||||
};
|
||||
|
||||
extern U32 CurlConcurrentConnectionsPerService;
|
||||
extern U16 CurlConcurrentConnectionsPerService;
|
||||
|
||||
} // namespace AICurlPrivate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user