You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openssl shipped in the runtime inefficiently reads cert.pem on Windows. A simple puppet --version results in 116k calls to ReadFile with a two-byte buffer as can be seen from Process Monitor:
Expected Behavior
It should use buffered reads
Steps to Reproduce
Steps to reproduce the behavior:
Install puppet-agent 8.4.0
Start process monitor and filter on process name ruby.exe
Run puppet --version
Environment
C:\ProgramData\PuppetLabs>ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw32]
C:\ProgramData\PuppetLabs>openssl version
OpenSSL 3.0.12 24 Oct 2023 (Library: OpenSSL 3.0.12 24 Oct 2023)
C:\ProgramData\PuppetLabs>puppet --version
8.4.0
Additional Context
This might be a bug in upstream openssl 3.0.x. Need to check if puppet-agent 7.x/openssl 1.1.1 has the same issue.
The text was updated successfully, but these errors were encountered:
Describe the Bug
openssl shipped in the runtime inefficiently reads cert.pem on Windows. A simple
puppet --version
results in 116k calls to ReadFile with a two-byte buffer as can be seen from Process Monitor:Expected Behavior
It should use buffered reads
Steps to Reproduce
Steps to reproduce the behavior:
ruby.exe
puppet --version
Environment
Additional Context
This might be a bug in upstream openssl 3.0.x. Need to check if puppet-agent 7.x/openssl 1.1.1 has the same issue.
The text was updated successfully, but these errors were encountered: