Skip to content

ssl: remove useless call to rb_thread_wait_fd() - #139

Merged
rhenium merged 1 commit into
ruby:maintfrom
rhenium:ky/ssl-sysread-dont-check-ssl-pending
Aug 25, 2017
Merged

rhenium merged 1 commit into
ruby:maintfrom
rhenium:ky/ssl-sysread-dont-check-ssl-pending

Conversation

@rhenium

@rhenium rhenium commented Aug 25, 2017

Copy link
Copy Markdown
Member

That there is no immediately readable data in the SSL instance does not
imply it has to read more bytes from the underlying socket. Just call
SSL_read() and check the return value.

That there is no immediately readable data in the SSL instance does not
imply it has to read more bytes from the underlying socket. Just call
SSL_read() and check the return value.
@rhenium
rhenium merged commit a2971e7 into ruby:maint Aug 25, 2017
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.

1 participant