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
4e061cb5
Commit
4e061cb5
authored
Jun 29, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Fix check for cancellation when fetching via self.
parent
ef07ac04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client.cpp
View file @
4e061cb5
...
...
@@ -619,7 +619,7 @@ Client::State::fetch_via_self( Rq request, const UserAgentMetaData& meta
// Send request
http
::
async_write
(
con
,
request
,
yield
[
ec
].
tag
(
"self-request"
));
if
(
!
ec
&&
cancel_slot
)
{
if
(
cancel_slot
)
{
ec
=
asio
::
error
::
operation_aborted
;
}
...
...
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