File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
common/include/network/detail Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ class FoxyClient
150
150
response_timeout_(response_timeout),
151
151
handler_(std::move(handler)),
152
152
session_(exec,
153
- foxy::session_opts{. ssl_ctx = ToOptRef (ssl_context_.get ()),
154
- . timeout = connect_timeout_}),
153
+ foxy::session_opts{ToOptRef (ssl_context_.get ()),
154
+ connect_timeout_}),
155
155
resp_() {}
156
156
157
157
void Run () {
Original file line number Diff line number Diff line change @@ -61,9 +61,8 @@ class FoxyClient : public Client,
61
61
req_(std::move(req)),
62
62
body_parser_(),
63
63
session_(executor,
64
- foxy::session_opts{
65
- .ssl_ctx = ToOptRef (ssl_context_),
66
- .timeout = connect_timeout.value_or (kNoTimeout )}),
64
+ foxy::session_opts{ToOptRef (ssl_context_),
65
+ connect_timeout.value_or (kNoTimeout )}),
67
66
logger_(std::move(logger)) {
68
67
// SSE body will never end unless an error occurs, so we shouldn't set a
69
68
// size limit.
You can’t perform that action at this time.
0 commit comments