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
I'm running on the latest "release" of io_uring (0.0.13.Final). I recently noticed build failures on GitHub Actions which seem the be caused
by io_uring. Removing io_uring and only testing against epoll/kqueue/nio works perfectly fine.
I had originally two issues, one of them I was able to solve myself. However, that might be interesting as well: I have some code which did a websocket handshake, I executed it and called syncUninterruptedly which began to fail as well. Seems like I need to execute/handle that async, wich worked seemlessly a few days ago.
On the other hand I am testing if sent http requests are having the same request method when receiving. In a nutshell this code looks like this:
Assertions.assertEquals(SUPPORTED_METHODS.get(handledTypes.getAndIncrement()), context.request().method());
// send ok http response
SENDING WITH GET
GOT GET /// 0 /// IOUringEventLoopGroup-7-1
SENDING WITH POST
GOT POST /// 1 /// IOUringEventLoopGroup-7-2
SENDING WITH HEAD
GOT HEAD /// 2 /// IOUringEventLoopGroup-7-3
SENDING WITH OPTIONS
GOT OPTIONS /// 3 /// IOUringEventLoopGroup-7-3
GOT OPTIONS /// 4 /// IOUringEventLoopGroup-7-4
or
SENDING WITH GET
GOT GET /// 0 /// IOUringEventLoopGroup-7-1
SENDING WITH POST
GOT POST /// 1 /// IOUringEventLoopGroup-7-2
SENDING WITH HEAD
GOT HEAD /// 2 /// IOUringEventLoopGroup-7-2
GOT HEAD /// 3 /// IOUringEventLoopGroup-7-3
I'm running on the latest "release" of io_uring (0.0.13.Final). I recently noticed build failures on GitHub Actions which seem the be caused
by io_uring. Removing io_uring and only testing against epoll/kqueue/nio works perfectly fine.
I had originally two issues, one of them I was able to solve myself. However, that might be interesting as well: I have some code which did a websocket handshake, I executed it and called
syncUninterruptedly
which began to fail as well. Seems like I need to execute/handle that async, wich worked seemlessly a few days ago.On the other hand I am testing if sent http requests are having the same request method when receiving. In a nutshell this code looks like this:
And I send the request with an HttpUrlConnection:
But I receive some requests twice:
or
I'm pretty sure that the request is not sent twice as that test works fine with epoll and nio. I wasn't yet able to validate this, but there was a recent kernel update which changed stuff related to io_uring, maybe it's a good start to check if it works fine on older kernel versions? (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42a7b4ed45e7667836fae4fb0e1ac6340588b1b0)
The text was updated successfully, but these errors were encountered: