Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
ffa2e61e
Commit
ffa2e61e
authored
Sep 09, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
curl wapper log set to DEBUG
parent
ff1c3638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
curl_wrapper.h
jlib/util/curl_wrapper.h
+4
-4
No files found.
jlib/util/curl_wrapper.h
View file @
ffa2e61e
...
...
@@ -100,9 +100,9 @@ struct Curl
#ifdef JLIB_LOG2_ENABLED
static
void
dump_slist
(
curl_slist
*
list
)
{
JLOG_
INFO
(
"dumping curl_slist:"
);
JLOG_
DBUG
(
"dumping curl_slist:"
);
while
(
list
)
{
JLOG_
INFO
(
" {}"
,
list
->
data
);
JLOG_
DBUG
(
" {}"
,
list
->
data
);
list
=
list
->
next
;
}
}
...
...
@@ -142,8 +142,8 @@ struct Curl
auto
content_length
=
buffer_
.
size
()
-
sheaders
.
size
();
lastHttpContent_
=
(
buffer_
.
substr
(
sheaders
.
size
()));
#ifdef JLIB_LOG2_ENABLED
JLOG_
INFO
(
"responce status: {}"
,
lastHttpCode_
);
JLOG_
INFO
(
"responce body:
\n
{}"
,
lastHttpContent_
);
JLOG_
DBUG
(
"responce status: {}"
,
lastHttpCode_
);
JLOG_
DBUG
(
"responce body:
\n
{}"
,
lastHttpContent_
);
#endif // JLIB_LOG2_ENABLED
return
true
;
}
...
...
Write
Preview
Markdown
is supported
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