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
When waiting for the underlying stream to be ready for read or write, SSLSocket causes WaitReadable and WaitWritable versions of SSLError to be raised. These exceptions are generating full backtraces every time, which greatly reduces the performance of these nonblocking IO calls.
It may also be possible to eliminate the need to raise this Ruby error if it is only happening within internal code; specifically, if we are calling into the waitReadable/Writable logic from Java code and capturing the result, there's no reason to raise a full Ruby error.
The text was updated successfully, but these errors were encountered:
When waiting for the underlying stream to be ready for read or write, SSLSocket causes WaitReadable and WaitWritable versions of SSLError to be raised. These exceptions are generating full backtraces every time, which greatly reduces the performance of these nonblocking IO calls.
I have a small patch that disables the backtraces for Readable, but we'll want to do something configurable and a bit cleaner than this: https://gist.github.com/headius/1900d41e760821fbedf8
It may also be possible to eliminate the need to raise this Ruby error if it is only happening within internal code; specifically, if we are calling into the waitReadable/Writable logic from Java code and capturing the result, there's no reason to raise a full Ruby error.
The text was updated successfully, but these errors were encountered: