summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpoptions.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-09-15 06:54:46 +0800
committerErik Kundiman <erik@megapahit.org>2025-09-15 09:54:39 +0800
commit4c74344f464928864ef7f70835628be1d92969c3 (patch)
tree72814839d439f6969593ffcd89d85d6ce74acbab /indra/llcorehttp/httpoptions.cpp
parentdf871e95234b670012908d06a6ecc62418e18aa2 (diff)
parent175400230869963df7a3f126122ace14456c56cb (diff)
Merge tag 'Second_Life_Release#17540023-2025.07' into 2025.07
Diffstat (limited to 'indra/llcorehttp/httpoptions.cpp')
-rw-r--r--indra/llcorehttp/httpoptions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcorehttp/httpoptions.cpp b/indra/llcorehttp/httpoptions.cpp
index d85f6039b1..5abd28e211 100644
--- a/indra/llcorehttp/httpoptions.cpp
+++ b/indra/llcorehttp/httpoptions.cpp
@@ -47,6 +47,7 @@ HttpOptions::HttpOptions() :
mVerifyPeer(sDefaultVerifyPeer),
mVerifyHost(false),
mDNSCacheTimeout(-1L),
+ mLastModified(0),
mNoBody(false)
{}
@@ -129,6 +130,11 @@ void HttpOptions::setHeadersOnly(bool nobody)
}
}
+void HttpOptions::setLastModified(time_t lastModified)
+{
+ mLastModified = lastModified;
+}
+
void HttpOptions::setDefaultSSLVerifyPeer(bool verify)
{
sDefaultVerifyPeer = verify;