summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-08-30 16:09:04 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-10-16 18:25:28 +0900
commit5828807626b91a5d8036f9c351f8844d724f8804 (patch)
treef872f5d11b6c5f6a5c68f724b46127c9867a5dc3 /include/ruby
parented7ea35d7450a5c2b7794f56050eb34c071dd34b (diff)
[ruby/openssl] ssl: create a temporary frozen string buffer when writing
Since a blocking SSLSocket#syswrite call allows context switches while waiting for the underlying socket to be ready, we must freeze the string buffer to prevent other threads from modifying it. Reference: https://github.com/ruby/openssl/issues/452 https://github.com/ruby/openssl/commit/aea874bc6e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions