Pork Chop
3be882c1c6
CURL - The use of CURLINFO_SIZE_DOWNLOAD and CURLINFO_SPEED_DOWNLOAD has been deprecated since curl version 7.55 (2017). The respective replacements are CURLINFO_SIZE_DOWNLOAD_T and CURLINFO_SPEED_DOWNLOAD_T. Please see https://curl.se/libcurl/c/CURLINFO_SIZE_DOWNLOAD_T.html and https://curl.se/libcurl/c/CURLINFO_SPEED_DOWNLOAD_T.html for more information. CURLINFO_SIZE_DOWNLOAD_T and CURLINFO_SPEED_DOWNLOAD_T are NOT something new; the LL implementation of how curl is being used is just old... This commit will correct the deprecation warnings when compiling with newer versions of curl on Linux. In 10 years time when LL finally update curl and openssl for the other platforms, this commit can probably go away.
2023-10-02 22:38:54 +11:00
Pork Chop
503baf7013
Curl library expects C style strings for params
2023-07-01 15:25:57 +10:00
Ansariel
fc438607d2
We have a constant for this
2023-06-30 09:26:06 +02:00
Pork Chop
8ac1af4aca
Set CURLOPT_USERAGENT in requests (instead of leaving it blank)
2023-06-30 00:16:23 +10:00
Nicky
98d2f30dff
Do not ask for compression when using libcurl >= 7.81 due to the AWS CDN returning an invlid Content-Encoding header
2022-02-21 00:37:35 +01:00
Ansariel
25a1869ce9
Merge branch 'master' of https://vcs.firestormviewer.org/phoenix-firestorm
2020-09-23 13:49:04 +02:00
Ansariel
5328e5ed11
Merge LL
2020-09-20 20:25:42 +02:00
Ansariel
98129be5ef
Merge branch 'DRTVWR-513-maint' of https://bitbucket.org/lindenlab/viewer
2020-06-17 15:45:05 +02:00
Andrey Kleshchev
71f6b139f8
SL-13348 Thread crashing singleton #1
2020-05-29 20:10:55 +03:00
Ansariel
6afd505fa8
Merge branch 'DRTVWR-503-maint' of https://bitbucket.org/lindenlab/viewer
2020-05-05 15:24:10 +02:00
Andrey Kleshchev
82e5f6c24f
SL-12421 Viewer's certificate validation does not reject connections
2020-03-04 19:13:55 +02:00
Ansariel
c764079389
Merge viewer-neko
2019-02-14 21:21:38 +01:00
andreykproductengine
d785c87d62
SL-2364 Fixed Viewer Caches Login Host DNS Entries Indefinetely
2019-01-29 21:33:31 +02:00
Ansariel
e7715f7a31
Merge Firestorm LGPL
2017-11-30 20:33:07 +01:00
Ansariel
409c001755
Fix FSData to download files only if there are newer versions on the server
2017-11-29 22:22:44 +01:00
Ansariel
32cbc9f98b
Merge viewer64
2017-11-05 12:46:02 +01:00
Nat Goodspeed
ead19aa22c
MAINT-7081: Only request HTTP2 with $VIEWERASSET override (testing)
2017-10-24 15:57:36 -04:00
Nat Goodspeed
96ac49c3e2
MAINT-7081: Merge from lindenlab/viewer64.
2017-10-24 11:22:49 -04:00
Nat Goodspeed
0c7bc67814
Automated merge with ssh://bitbucket.org/lindenlab/viewer-release
2017-10-11 14:35:49 -04:00
Nat Goodspeed
6b508cd9d4
MAINT-7081: Eliminate unused variable errors after new refactoring.
...
The new helper functions check_curl_easy_setopt() and
check_curl_multi_setopt() encapsulate the pervasive idiom:
code = curl_{easy,multi}_setopt(handle, option, arg);
check_curl_{easy,multi}_code(code, option);
But since each of these helper functions contains its own local CURL{,M}code
variable 'code', having a caller-scope variable reused for every such call is
no longer necessary -- in fact is no longer used at all. That produces a fatal
warning with MSVC. Get rid of those now-unused variables.
2017-09-30 22:05:21 -04:00
Nat Goodspeed
586d697475
MAINT-7081: Try requesting HTTP/2 when a request wants pipelining.
2017-09-29 17:06:42 -04:00
Ansariel
c47b8c27ba
Merge Firestorm LGPL
2017-08-23 17:53:48 +02:00
Ansariel
13b6febd34
Merge viewer-64
2017-08-16 20:22:58 +02:00
Rider Linden
79856e6554
MAINT-7634: Feedback from code review, move enum to string converter to own function.
2017-08-14 14:54:58 -07:00
Rider Linden
1038633526
MAINT-7634: Logging and instrumentation canges to narrow down viewer crashes.
2017-08-08 09:04:32 -07:00
Rider Linden
57d5744f2c
MAINT-7634: Move StatsAccumulator into llcommon, collect data sent and error codes from core.
2017-07-28 14:07:25 -07:00
andreykproductengine
f2e98838a4
MAINT-7495 Viewer retries too many time apon 504 from login.cgi
2017-07-24 17:06:12 +03:00
andreykproductengine
1a5fa01fb8
MAINT-7495 Viewer retries too many time apon 504 from login.cgi
2017-07-24 17:06:12 +03:00
Ansariel
31be233b66
Merge viewer-lynx
2016-12-15 09:46:35 +01:00
andreykproductengine
dcff9513f1
MAINT-6978 Proxy should not be initialized outside of startLLProxy()
2016-12-13 20:29:07 +02:00
Ansariel
2797c5938a
Merge Firestorm LGPL
2016-04-05 10:47:23 +02:00
Oz Linden
9be58e915a
merge with 4.0.3-release
2016-04-04 15:53:09 -04:00
Ansariel
3192fe832f
Merge viewer-quickgraphics
2016-03-08 01:41:31 +01:00
Nicky
cb0017e821
Merge.
2016-02-29 14:23:07 +01:00
Rider Linden
bfabb7bd2b
MAINT-6137: Re enable pipelining by default, use new version of CURL (7.47) with corrections for timed out connections in pipelining. Minor fix for safer op retrieval.
2016-02-19 11:19:50 -08:00
Nicky
8b743a2522
Try to detect if some AV messes up http pipelining, if it happens, switch http pipelining off.
2016-02-13 21:58:50 +01:00
Oz Linden
c8726aba30
remove execute permission from many files that should not have it
2015-11-10 09:48:56 -05:00
Rider Linden
8d334ca1bf
MAINT-5271: Converted internal pointers to internal operation to managed shared pointers. Removed direct cast and dereference of handles.
2015-10-16 11:40:48 -07:00
Rider Linden
248d61fe0e
MAINT-5500: Finish converting the AIS responders to the new coroutine model, Cleaned up dead an unused code.
...
MAINT-4952: Added COPY and MOVE methods to Core:Http adapter
2015-08-12 16:32:49 -07:00
Rider Linden
75b12d79e1
Enforcing constness of refs
2015-07-08 14:49:08 -07:00
Rider Linden
fe5567639d
Change HttpOptions::ptr_t to be shared_ptr<> rather than intrusive.
2015-07-08 12:09:36 -07:00
Rider Linden
1138c57f9a
Convert LLCore::HttpHeaders to use shared_ptr<> rather than an intrusive_ptr<> for refrence counting.
2015-07-08 10:01:27 -07:00
Rider Linden
9703397551
MAINT-5295 Remove POSTFIELDS from PUT operation.
2015-06-24 10:10:22 -07:00
Rider Linden
dde75d7621
Mac builds are very picking about testing an unsigned for < 0
2015-06-05 16:11:27 -07:00
Rider Linden
daf4d167b6
Added a seek method to LLCore::Http for data rewind.
...
A couple of minor changes to merchant out box in hopes that the would fix the issues.
2015-06-05 15:19:24 -07:00
Rider Linden
83543e556c
Memory leak (extra ref) in webprofile
...
Viewer media routines to coroutine.
Post with raw respons in llcorehttputil
LLCore::Http added headers only option (applies only on get)
2015-05-27 17:15:01 -07:00
Rider Linden
d0c85b6dd9
Adding support for DELETE, PATCH and COPY
2015-04-10 17:23:58 -07:00
Rider Linden
edc1439bd6
Added AvatarNameCache as coroutine, with LLCore::HttpHandler to respond correctly to Event Pumps.
...
Added get/setRequestURL() to LLCore::HttpResponse
Removed URI from the HttpSDHandler.
2015-04-01 16:37:00 -07:00
Rider Linden
7353640387
first set of chnages from code review from Nat
2015-03-27 17:00:02 -07:00
Rider Linden
6f4d36634e
Removal of RPCXML dep on LLCurl switching to LLCore::Html
2015-03-16 17:14:34 -07:00