Skip to content

Commit

Permalink
fixed THttpRequestCached
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Oct 26, 2022
1 parent 66bbc6d commit 83566d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
@@ -1 +1 @@
'2.0.4238'
'2.0.4239'
2 changes: 1 addition & 1 deletion src/net/mormot.net.client.pas
Expand Up @@ -3246,7 +3246,7 @@ constructor THttpRequestCached.Create(const aUri: RawUtf8; aKeepAliveSeconds,
if aTimeOutSeconds > 0 then // 0 means no cache
fCache := TSynDictionary.Create(TypeInfo(TRawUtf8DynArray),
TypeInfo(THttpRequestCacheDynArray), true, aTimeOutSeconds);
fClient := fClient.Create(aOnlyUseClientSocket);
fClient := TSimpleHttpClient.Create(aOnlyUseClientSocket);
if aUri <> '' then
if not LoadFromUri(aUri, aToken) then
raise ESynException.CreateUtf8('%.Create: invalid aUri=%', [self, aUri]);
Expand Down

0 comments on commit 83566d8

Please sign in to comment.