Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
d2faf09c
Commit
d2faf09c
authored
3 months ago
by
Adrien Béraud
Committed by
Adrien Béraud
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
tls_session: pass response by reference
Change-Id: I7e35f5d33beba65134ef4d01199b8bc8f3697aee
parent
2bc4c348
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/security/tls_session.cpp
+2
-2
2 additions, 2 deletions
src/security/tls_session.cpp
with
2 additions
and
2 deletions
src/security/tls_session.cpp
+
2
−
2
View file @
d2faf09c
...
@@ -805,8 +805,8 @@ TlsSession::TlsSessionImpl::sendOcspRequest(const std::string& uri,
...
@@ -805,8 +805,8 @@ TlsSession::TlsSessionImpl::sendOcspRequest(const std::string& uri,
if
(
l
)
l
->
error
(
"HTTP OCSP request timeout with error: {:s}"
,
ec
.
message
());
if
(
l
)
l
->
error
(
"HTTP OCSP request timeout with error: {:s}"
,
ec
.
message
());
request
->
cancel
();
request
->
cancel
();
});
});
request
->
add_on_state_change_callback
([
this
,
cb
=
std
::
move
(
cb
)](
const
http
::
Request
::
State
state
,
request
->
add_on_state_change_callback
([
this
,
cb
=
std
::
move
(
cb
)](
http
::
Request
::
State
state
,
const
http
::
Response
response
)
{
const
http
::
Response
&
response
)
{
if
(
params_
.
logger
)
if
(
params_
.
logger
)
params_
.
logger
->
d
(
"HTTP OCSP request state=%i status_code=%i"
,
params_
.
logger
->
d
(
"HTTP OCSP request state=%i status_code=%i"
,
(
unsigned
int
)
state
,
(
unsigned
int
)
state
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment