Implement I/O with CE polling system on JVM#3091
Conversation
|
Published |
|
So after the update, TCP suite is passing, but TLS TCP suite is hanging. A notable difference is that the TLS implementation uses Edit: oh, maybe that's just the blocker thread idling to see if it will be needed again, and otherwise a red herring 🤔 |
|
Ok, so actually I can't reproduce the hanging on my macOS machine. Which makes me think it's something to do with epoll, and not kqueue? 🤔 |
|
@durban your CE fix definitely helped things a lot, thanks. Unfortunately somehow one of the jobs still completely flaked on all the polling system stuff and then ended up hanging 🤔 at least this time it's not specific to TLS / blocking ... https://github.com/typelevel/fs2/actions/runs/4816825621/jobs/8576820432?pr=3091#step:12:2466 |
|
I think I can sometimes (rarely) reproduce it locally. The WSTP is in an invalid state, although in a different way than before. I'll try to get details later. |
Tries out:
So far I've done TCP sockets, still need to do unix and datagram sockets.
The
SocketSuitepasses for me locally, but not theTLSSocketSuitewhich revealed a bug using the polling system from blocking threads. After that's fixed I'd like to publish a snapshot for downstream test in Ember etc.As with #3087, this PR is tangled up with #3063, so that will have to merge first.