Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
28205b5d
Commit
28205b5d
authored
Jun 25, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Fix propagation of DoH response parsing errors.
parent
c67626e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client.cpp
View file @
28205b5d
...
...
@@ -656,7 +656,8 @@ Client::State::resolve_tcp_doh( const std::string& host
(
s
,
doh
::
payload_size
,
cancel
,
yield
[
ec
].
tag
(
"slurp"
));
return_or_throw_on_error
(
yield
,
cancel
,
ec
,
TcpLookup
());
return
doh
::
parse_response
(
rs
,
host
,
*
portn_o
,
ec
);
auto
lookup
=
doh
::
parse_response
(
rs
,
host
,
*
portn_o
,
ec
);
return
or_throw
(
yield
,
ec
,
move
(
lookup
));
}
TcpLookup
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment