Commit Graph

299 Commits

Author SHA1 Message Date
David Harvey
32952d009e Add missing HTTP_API to many platform http class declarations.
#jira UE-161550
#rnx
#rb Wojciech.Krywult
#preflight 63736719324842530520e63f

[CL 23133660 by David Harvey in ue5-main branch]
2022-11-15 05:25:38 -05:00
rob cannaday
1bd1ba7c35 Add HttpFwd.h for HTTP forward declares
[REVIEW] [at]chris.varnsverry

[CL 23121822 by rob cannaday in ue5-main branch]
2022-11-14 13:18:58 -05:00
zousar shaker
8a8e0206ad Unshelved from pending changelist '22608898':
Restore libcurl 7.83.1 (with HTTP2 enabled via nghttp2) on Windows, Mac, Linux platforms and have the curl usage in the Online module explicitly use HTTP1.1 to avoid issues experienced on long running servers in production with HTTP2.

#rb matt.peters

#ushell-cherrypick of 22606717 by Zousar.Shaker

[CL 22647555 by zousar shaker in ue5-main branch]
2022-10-19 22:03:26 -04:00
lorry li
479a732719 List some ssl error codes which need to be treated as connection error.
[REVIEW] [at]michael.kirzinger [at]sam.zamani [at]rob.cannaday
#rb [at]rob.cannaday [at]michael.kirzinger
#preflight 6335a1e2ee7b13756d02242e
#preflight 6335bffcd165c45137a62ec2

[CL 22263114 by lorry li in ue5-main branch]
2022-09-30 00:46:06 -04:00
lorry li
176590c54a Add http RequestAdded delegate.
[REVIEW] [at]michael.kirzinger [at]sam.zamani
#rb [at]michael.kirzinger
#preflight 632b32db671a1a24b5b7438b

[CL 22140441 by lorry li in ue5-main branch]
2022-09-22 14:06:24 -04:00
Andriy Tylychko
4a6985cfbe Deprecated all global vars of thread-safe delegates from FCoreDelegates and replaced them by functions returning local static singleton.
thread-safe delegates are not zero-initializable and so can't be used as global vars because they are vulnerable to static initialization order fiasco.

#jira UE-163668
#rb steve.robb
#preflight 632462db3752284a3179ec02

[CL 22094531 by Andriy Tylychko in ue5-main branch]
2022-09-20 11:45:56 -04:00
jens petersam
29176dc94a Added additional libcurl HTTP configuration options to set the size of the connection cache and forbidding connection re-use
#preflight 6321a176bc40358fa2df9bcc
[FYI] Michael.Kirzinger

[CL 22035665 by jens petersam in ue5-main branch]
2022-09-15 15:11:30 -04:00
adam kinge
f546df42c6 Fix loop crash with macOS HTTP cert handling
#fyi axel.riffard
#rb trivial
#rnx
#preflight none

[CL 21972907 by adam kinge in ue5-main branch]
2022-09-12 17:20:12 -04:00
axel riffard
b08612ea8a Make sure the certificate chain used to evaluate trust is checked for nil when copied
#jira UE-163352
#rb adam.kinge
#preflight 631f471694758d0bf2291a0e

[CL 21965592 by axel riffard in ue5-main branch]
2022-09-12 10:55:52 -04:00
axel riffard
ca0d2c56ac Fix warnings in build health related to iOS 15
#jira UE-163352
#rb none
#preflight 631f266294758d0bf21e5251

[CL 21963790 by axel riffard in ue5-main branch]
2022-09-12 08:41:02 -04:00
axel riffard
c64aa2de93 Catalina, iOS 14 removal
Metal 2.3 removed, Metal 3.0 added for Mac

#jira UE-163352
#rb adam.kinge bertrand.carre
#preflight 631ea7eb94758d0bf2008668

[CL 21960671 by axel riffard in ue5-main branch]
2022-09-11 23:47:08 -04:00
bryan sefcik
07894f4a07 Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631a717cec45fbf3d74d4ba7

[CL 21916033 by bryan sefcik in ue5-main branch]
2022-09-09 00:53:22 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
louisphilippe seguin
efa601d6a2 CurlHttp
* Slightly optimized DebugCallback function
* Remove extra FString allocations by directly converting from ANSICHAR to TCHAR in the final FString.
* Don't create FStrings in CURLINFO_HEADER_OUT events unless LogHTTP is set to very verbose

#rb alejandro.aguilar

#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 21410019 via CL 21410678 via CL 21416976 via CL 21417081 via CL 21417167
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21419172 by louisphilippe seguin in ue5-main branch]
2022-08-16 21:27:40 -04:00
louisphilippe seguin
4c6ec8918e Added scopes when HTTP thread is sleeping
#rb trivial

#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 21150611 via CL 21151302 via CL 21156618 via CL 21158761 via CL 21163893
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182234 by louisphilippe seguin in ue5-main branch]
2022-07-20 12:07:40 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
steve robb
0c9851e04b Rremaining Direct FTCHARToUTF8_Convert usage replaced with StringCast or FPlatformString.
#rb devin.doucette
#jira UE-132142
#preflight 62c32f24b024a2608c13d8c9

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20936859 via CL 20936868 via CL 20936874
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20937358 by steve robb in ue5-main branch]
2022-07-04 16:57:29 -04:00
steve robb
b9c4cb9107 Direct FTCHARToUTF8_Convert usage replaced with StringCast or FPlatformString in HTTP module.
#rb devin.doucette
#jira UE-132142
#preflight 62bf613a3f0d6beee206724c

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20922611 via CL 20922622 via CL 20922627
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20924220 by steve robb in ue5-main branch]
2022-07-01 20:42:39 -04:00
steve robb
1b2a6972d9 Undo //Fortnite/Main/... changelist 20912148
#rb none

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20912525 via CL 20912560 via CL 20912561
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20913042 by steve robb in ue5-main branch]
2022-07-01 07:49:36 -04:00
steve robb
39ffa82638 Direct FTCHARToUTF8_Convert usage deprecated and replaced with StringCast or FPlatformString.
#rb devin.doucette
#jira UE-132142
#preflight 62bd92d71c0b758797185071

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20912148 via CL 20912242 via CL 20912250
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20913038 by steve robb in ue5-main branch]
2022-07-01 07:49:22 -04:00
Andriy Tylychko
b2dcefc25f Fixed TSAN warning by making RunningThreadedRequestLimit atomic
#preflight 62b99696ec31d88ae6092dbc

[CL 20829218 by Andriy Tylychko in ue5-main branch]
2022-06-27 07:54:25 -04:00
LouisPhilippe Seguin
db72951067 Fix TSan warnings by converting TQueue use to the improved TSpscQueue
#jira FORT-408102
#rb Andriy.Tylychko
#preflight 62b07ba74d2038148fae43f4

[CL 20736873 by LouisPhilippe Seguin in ue5-main branch]
2022-06-20 09:57:54 -04:00
Marc Audy
9ab0ba47c8 Expand silencing of http manager warnings to all unattended jobs
#rnx
#preflight

[CL 20680862 by Marc Audy in ue5-main branch]
2022-06-16 00:07:43 -04:00
Marc Audy
709d45912d Silence http manager warnings during automation tests
#rb Rob.Cannaday
#rnx
#preflight 62a9f829273ce16835c20adb

[CL 20670811 by Marc Audy in ue5-main branch]
2022-06-15 11:37:15 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00