Skip to content

CXXCBC-285: write to sockets from IO threads#348

Merged
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-285-fix-openssl-issue
Jan 28, 2023
Merged

CXXCBC-285: write to sockets from IO threads#348
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-285-fix-openssl-issue

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Jan 27, 2023

The writing procedure should be invoked from the IO thread and bound to IO executor. Otherwise when main thread invokes ASIO write directly, the OpenSSL structures are not guaranteed to be thread-safe.

The writing procedure should be invoked from the IO thread and bound to
IO executor. Otherwise when main thread invokes ASIO write directly, the
OpenSSL structures are not guaranteed to be thread-safe.
@avsej avsej requested review from a team, brett19 and davidkelly January 27, 2023 18:12
@avsej avsej merged commit 7b5ae9a into couchbase:main Jan 28, 2023
@avsej avsej deleted the CXXCBC-285-fix-openssl-issue branch January 28, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants