Commit Graph

27 Commits

Author SHA1 Message Date
david harvey
da9b5b86f5 Do not include PreWindowsApi.h / PostWindowsApi.h directly in code.
- mostly just replacing them AllowWindowsPlatformTypes.h / HideWindowsPlatformTypes.h
 - some other files had both Pre/PostWindowsApi.h and Allow/HideWindowsPlatformTypes.h, so just removed
 - some occasional include order changes.

#jira UE-152863
#rnx
#rb Devin.Doucette

[CL 26985385 by david harvey in ue5-main branch]
2023-08-10 03:34:53 -04:00
jeremie roy
3818b77d66 Fix server restart when changing RC settings
Fix Websocket keeping port open after changing it (Our version of lws has a bug that keeps listening on port even if lws_context_destroy is called

#rb simon.therriault
#jira UE-181152
#lockdown alejandro.arango
#preflight 6425a3be9621ba9cb4443c66

[CL 24858283 by jeremie roy in ue5-main branch]
2023-03-30 14:59:08 -04:00
jeremie roy
6f50b74191 Remote Control expose websocket server bind address
#jira UE-180918
#preflight 641c5c0c691c5ebc15afda23
#lockdown alejandro.arango
#rb simon.therriault

[CL 24763869 by jeremie roy in ue5-main branch]
2023-03-23 12:41:57 -04:00
jeanmichel dignard
33f55fc8a5 FExec: Wrapped remaining Exec overrides with UE_ALLOW_EXEC_COMMANDS so that we can compile the engine without exec command support when desired.
#rb none

[CL 24355915 by jeanmichel dignard in ue5-main branch]
2023-02-22 00:22:12 -05:00
jeremie roy
2dec04ca05 Fix CIS warning in WebsocketNetworking
#preflight 63eceb87a24b861df9056214
#jira UE-177150
#rb simon.therriault

[CL 24251672 by jeremie roy in ue5-main branch]
2023-02-16 01:55:46 -05:00
jeremie roy
a4a8f07c80 Remote Control
- Add setting to control allowed origins
- Add request preprocessor to validate IP of peer that initiated connection

Http Listener
- Pass IP to request callback

#jira UE-175325 UE-176065 UE-176161
#rb simon.therriault geoffrey.douglas
#preflight 63eba0020a06073fef4334e5

[CL 24216481 by jeremie roy in ue5-main branch]
2023-02-14 13:29:16 -05:00
henrik karlsson
bbc37aa2f5 [Engine/Plugins]
* Another batch iwyu updates to reduce number of includes used in files

#preflight 63c58d742e714f64ade93797
#rb none

[CL 23732856 by henrik karlsson in ue5-main branch]
2023-01-16 17:04:48 -05:00
brandon schaefer
fd43f904d3 Fix using temp object pointers which lifetime go out of scope after the struct is created
#jira UE-172308
#rb Jeremie.Roy
#preflight none

[CL 23481544 by brandon schaefer in ue5-main branch]
2022-12-12 15:08:48 -05:00
john barrett
4911415c13 Minor include compile time tweaks.
#rb Ryan.Gerleve
#preflight 635a6fee9b2e9c76c7038ade

[CL 22827290 by john barrett in ue5-main branch]
2022-10-28 08:34:09 -04:00
bryan sefcik
8dfb271209 Fixed #include paths.
#jira
#preflight 6358b841767e539cca9ea2e3

[CL 22814154 by bryan sefcik in ue5-main branch]
2022-10-27 13:57:26 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
Luke Bermingham
af0882b85b Fix ASan heap use after free in WebSocketServer.cpp
#jira UE-159802
#rb Nick.Pace
#fyi Brandon.Schaefer
#preflight 62d623f9cb09390ae19cf9a2

[CL 21157987 by Luke Bermingham in ue5-main branch]
2022-07-19 00:13:50 -04:00
Luke Bermingham
2bc36405c8 Exposed optional/opt-in webserver to WebSocket server using the already available functionality from the underlying libwebsockets implementation.
- This allows serving static content through the websocket server without taking an extra port for a webserver.
- Directories on disk can be mounted for serving using `IWebSocketServer::EnableWebServer(TArray<FWebSocketHttpMount> DirectoriesToServe)`.
- `IWebSocketServer::EnableWebServer()` should be called before `IWebSocketServer::Init`
- Fixed memory leak in FWebSocketServer where some manually created arrays were not using delete[].

#rb Jeremie.Roy
#jira UE-159593
#preflight 62d0ac673b057e72746d7928

[CL 21102004 by Luke Bermingham in ue5-main branch]
2022-07-14 21:16:29 -04:00
michael atchison
7ab782d455 Handle cases where UNetDriver::Notify being set to nullptr were not handled.
Set UNetDriver::Notify to nullptr when beacon can no longer handle messages.
Update ensure condition in AOnlineBeaconClient::OnNetCleanup to be valid.

[REVIEW] [at]rob.cannaday, [at]sam.zamani
#jira UE-156282
#preflight 62b0ad7a640ffd8ee9c1a0ec

#ROBOMERGE-AUTHOR: michael.atchison
#ROBOMERGE-SOURCE: CL 20777605 via CL 20780434 via CL 20781081 via CL 20782188 via CL 20782739
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20786234 by michael atchison in ue5-main branch]
2022-06-22 20:02:55 -04:00
simon therriault
2d49f890ea - Adding more logging capabilities to diagnostic poor performance with webapp
#author amir.keren
#rb jeremie.roy, simon.therriault
#jira UE-138636
#preflight 61f03bc0716bb9c66a2d8317

#ROBOMERGE-AUTHOR: simon.therriault
#ROBOMERGE-SOURCE: CL 18725288 in //UE5/Release-5.0/... via CL 18725296 via CL 18725552
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18725565 by simon therriault in ue5-main branch]
2022-01-25 13:33:05 -05:00
jeremie roy
f6c334e7d5 Fix mac remove control by reducing the size of the websocket receive buffer for mac
#jira UE-132837
#rb simon.therriault
#preflight 61e81c98843acf1b242d7878

#ROBOMERGE-AUTHOR: jeremie.roy
#ROBOMERGE-SOURCE: CL 18657715 in //UE5/Release-5.0/... via CL 18657721 via CL 18657736
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18657749 by jeremie roy in ue5-main branch]
2022-01-19 09:28:09 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
jackson frank
2746a1c899 Networking Insights Updates
Engine Frame number is recorded for each packet, and can be seen by hovering over a packet in the packet view of the network profiler of Insights.
Connection state is displayed for each packet in pop up view when the mouse is hovered over a packet in the packet view of the network profiler.
GameInstance names contain their name, role, and status as server or client.
Connection labels include the actor that owns the connection, if the connection is going to a client or server, and the remote address and port of the connection.

EConnectionState UNetConnection::State is deprecated (becoming private), instead use GetConnectionState and SetConnectionState to access State

CL 17071965, 17101672, 17102201, 17102631

#Jira UENET-1192
#rb Ryan.Gerleve, Mattias.Hornlund

#ROBOMERGE-SOURCE: CL 17234452 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17234454 by jackson frank in ue5-release-engine-test branch]
2021-08-19 11:11:57 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -04:00
UnrealBot
8afb476248 Branch snapshot for CL 16260158
[CL 16260158 in ue5-release-engine-staging branch]
2021-10-05 20:06:24 +00:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00