Skip to content

Commit ae4b369

Browse files
committed
zcrx should use 2.15
1 parent baca902 commit ae4b369

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

include/condy/async_operations.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ inline auto async_recv_multishot(Fd sockfd, Buffer &buf, int flags,
702702
}
703703
#endif
704704

705-
#if !IO_URING_CHECK_VERSION(2, 10) // >= 2.10
705+
#if !IO_URING_CHECK_VERSION(2, 15) // >= 2.15
706706

707707
namespace detail {
708708

include/condy/zcrx.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
namespace condy {
1010

11-
// TODO: Maybe we need greater version requirements here
12-
#if !IO_URING_CHECK_VERSION(2, 10) // >= 2.10
11+
#if !IO_URING_CHECK_VERSION(2, 15) // >= 2.15
1312

1413
class ZeroCopyRxBufferPool;
1514

tests/test_async_operations.4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ TEST_CASE("test async_operations - test pipe - direct") {
10821082
}
10831083
#endif
10841084

1085-
#if !IO_URING_CHECK_VERSION(2, 10) // >= 2.10
1085+
#if !IO_URING_CHECK_VERSION(2, 15) // >= 2.15
10861086
TEST_CASE("test async_operations - test recv - zc multishot") {
10871087
int sv[2];
10881088
create_tcp_socketpair(sv);

0 commit comments

Comments
 (0)