Skip to content

Streaming buffer restore + and fixes to EngineStreaming.bufferSize#3163

Merged
botder merged 5 commits into
multitheftauto:masterfrom
Pirulax:streaming-buffer-restore
Sep 8, 2023
Merged

Streaming buffer restore + and fixes to EngineStreaming.bufferSize#3163
botder merged 5 commits into
multitheftauto:masterfrom
Pirulax:streaming-buffer-restore

Conversation

@Pirulax

@Pirulax Pirulax commented Aug 26, 2023

Copy link
Copy Markdown
Contributor

Addendum to #3086

  • Now the code correctly restores the buffer size on reconnect.
  • Added a function engineStreamingRestoreBufferSize
  • Fixed EngineStreming.bufferSize class var's getter function
  • Also refactored SetStreamingBufferSize [In an attempt to handle out-of-memory situations correctly, but it turns out the original memory alloc. code just crashes instead]

@Pirulax Pirulax changed the title Streaming buffer restore Streaming buffer restore + and fixes to EngineStreming.bufferSize Aug 26, 2023
Comment thread Client/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp
Comment thread Client/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp Outdated
@botder botder changed the title Streaming buffer restore + and fixes to EngineStreming.bufferSize Streaming buffer restore + and fixes to EngineStreaming.bufferSize Aug 28, 2023
@botder botder merged commit 6c86ebb into multitheftauto:master Sep 8, 2023
@botder botder added this to the 1.6.1 milestone Sep 8, 2023
@botder botder added the enhancement New feature or request label Sep 8, 2023
MTABot pushed a commit that referenced this pull request Sep 8, 2023
6c86ebb Streaming buffer restore + and fixes to `EngineStreaming.bufferSize` (PR #3163)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants