Skip to content

Commit 0d454ef

Browse files
committed
Tmp commit
1 parent 7e7e3dd commit 0d454ef

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

CMakePresets.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@
9292
"generator": "Unix Makefiles",
9393
"hidden": false,
9494
"inherits": ["cmake-pedantic"],
95-
"binaryDir": "${sourceDir}/build/clang++-14",
95+
"binaryDir": "clang++-15",
9696
"cacheVariables": {
9797
"CMAKE_BUILD_TYPE": "Debug",
9898
"CMAKE_CXX_EXTENSIONS": "OFF",
9999
"CMAKE_CXX_FLAGS": "-Wall -Wextra -fsanitize=address",
100-
"CMAKE_CXX_COMPILER": "clang++-14",
100+
"CMAKE_CXX_COMPILER": "clang++-15",
101101
"CMAKE_SHARED_LINKER_FLAGS": "-fsanitize=address",
102102
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
103-
"PROJECT_BINARY_DIR": "${sourceDir}/build/clang++-14"
103+
"PROJECT_BINARY_DIR": "${sourceDir}/build/clang++-15"
104104
}
105105
},
106106
{

example/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ macro(make_testable_example EXAMPLE_NAME STANDARD)
2222
endif()
2323
endmacro()
2424

25-
make_testable_example(cpp17_intro 17)
26-
make_testable_example(cpp17_intro_sync 17)
27-
28-
make_testable_example(cpp20_intro 20)
29-
make_testable_example(cpp20_containers 20)
30-
make_testable_example(cpp20_json 20)
31-
make_testable_example(cpp20_intro_tls 20)
32-
make_testable_example(cpp20_unix_sockets 20)
25+
# make_testable_example(cpp17_intro 17)
26+
# make_testable_example(cpp17_intro_sync 17)
27+
28+
# make_testable_example(cpp20_intro 20)
29+
# make_testable_example(cpp20_containers 20)
30+
# make_testable_example(cpp20_json 20)
31+
# make_testable_example(cpp20_intro_tls 20)
32+
# make_testable_example(cpp20_unix_sockets 20)
3333

3434
make_example(cpp20_subscriber 20)
3535
make_example(cpp20_streams 20)

example/cpp20_subscriber.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ auto receiver(std::shared_ptr<connection> conn) -> asio::awaitable<void>
5454
request req;
5555
req.push("SUBSCRIBE", "channel");
5656

57-
generic_response resp;
57+
boost::redis::generic_flat_response resp;
5858
conn->set_receive_response(resp);
5959

6060
// Loop while reconnection is enabled
@@ -77,7 +77,7 @@ auto receiver(std::shared_ptr<connection> conn) -> asio::awaitable<void>
7777
std::cout << resp.value().at(1).value << " " << resp.value().at(2).value << " "
7878
<< resp.value().at(3).value << std::endl;
7979

80-
consume_one(resp);
80+
// consume_one(resp);
8181
}
8282
}
8383
}

tools/docker/entrypoint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
set -e
66

7+
mkdir /tmp/redis-socks
78
chmod 777 /tmp/redis-socks
89

910
redis-server \
1011
--tls-port 6380 \
11-
--tls-cert-file /docker/tls/server.crt \
12-
--tls-key-file /docker/tls/server.key \
13-
--tls-ca-cert-file /docker/tls/ca.crt \
12+
--tls-cert-file tls/server.crt \
13+
--tls-key-file tls/server.key \
14+
--tls-ca-cert-file tls/ca.crt \
1415
--tls-auth-clients no \
1516
--unixsocket /tmp/redis-socks/redis.sock \
1617
--unixsocketperm 777

0 commit comments

Comments
 (0)