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
6df0f20d
Commit
6df0f20d
authored
Jun 29, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Check for errors after performing `CONNECT` to Proxy.
parent
b497a313
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client.cpp
View file @
6df0f20d
...
...
@@ -709,6 +709,7 @@ Session Client::State::fetch_fresh_through_connect_proxy( const Request& rq
,
default_timeout
::
fetch_http
()
,
cancel
,
yield
[
ec
].
tag
(
"connreq"
));
return_or_throw_on_error
(
yield
,
cancel
,
ec
,
Session
());
if
(
connres
.
result
()
!=
http
::
status
::
ok
)
{
// This error code is quite fake, so log the error too.
...
...
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