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
b497a313
Commit
b497a313
authored
Jun 29, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Return proper error on aborted SSL client handshake.
parent
ab40a385
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ssl/util.h
View file @
b497a313
...
...
@@ -79,6 +79,7 @@ client_handshake( Stream&& con
ssl_sock
->
async_handshake
(
ssl
::
stream_base
::
client
,
yield
[
ec
]);
}
if
(
abort_signal
)
ec
=
boost
::
asio
::
error
::
operation_aborted
;
if
(
ec
)
return
or_throw
<
GenericStream
>
(
yield
,
ec
);
static
const
auto
ssl_shutter
=
[](
ssl
::
stream
<
Stream
>&
s
)
{
...
...
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