Skip to content

Conversation

@shinrich
Copy link
Member

Fixes I made while creating a crypto engine that really exercises the ASYNC_pause_job feature. Without these changes the Handshake logic was triggering SSL_accept before the job signaled, (e.g. the read event was on the read_ready_queue). This could our blocked job to unpause too soon and block on the job's signal read cleanup.

Since we should not be reading the client's network socket at the same time as waiting for the job signal, we just temporarily replace the client socket with the job signal socket in the epoll object.

Working on open sourcing my crypto engine with the next month.

Need PR #4020 and PR #4019 for stability fixes too.

@shinrich shinrich added the TLS label Jul 27, 2018
@shinrich shinrich added this to the 9.0.0 milestone Jul 27, 2018
@shinrich shinrich self-assigned this Jul 27, 2018
@shinrich shinrich merged commit beb5618 into apache:master Aug 1, 2018
@zwoop
Copy link
Contributor

zwoop commented Aug 13, 2018

This isn't applicable to the 7.1.x branch, is it ?

@zwoop
Copy link
Contributor

zwoop commented Aug 13, 2018

Cherry-picked to 8.0.x

@zwoop zwoop modified the milestones: 9.0.0, 8.0.0 Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants