Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-cpp-lib
Commits
5dbe4b64
Commit
5dbe4b64
authored
Nov 04, 2021
by
Jørgen Lind
Browse files
fix: Compilation on RedHat 7
Guard CURLOPT_UPLOAD_BUFFERSIZE with preprocessor checks
parent
11ffc9ca
Pipeline
#75495
passed with stages
in 12 minutes and 39 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
src/src/lib/http/http_request.cc
View file @
5dbe4b64
...
...
@@ -559,12 +559,14 @@ namespace seismicdrive
// ---------------------------------------------------------------------------
#if LIBCURL_VERSION_NUM >= 0x073e00
ccode
=
_libcurl
->
curl_easy_setopt
(
_curl
,
CURLOPT_UPLOAD_BUFFERSIZE
,
2
*
1024
*
1024
);
if
(
ccode
!=
CURLE_OK
)
{
make_error
(
http
,
ccode
,
"HTTPRequest::init, setting the verbose output"
);
return
;
}
#endif
// set the verbose output
ccode
=
_libcurl
->
curl_easy_setopt
(
_curl
,
CURLOPT_VERBOSE
,
_verbose_output
);
...
...
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