Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-32877 Fix abort in esp when accessing secrets from a vault #19237

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions system/jlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ include_directories (
${CMAKE_BINARY_DIR}/oss
)

# ensure httplib uses poll rather than select - otherwise it fail if too many sockets have been opened.
ADD_DEFINITIONS( -DCPPHTTPLIB_USE_POLL )

ADD_DEFINITIONS( -D_USRDLL -DJLIB_EXPORTS )
HPCC_ADD_LIBRARY( jlib SHARED ${SRCS} ${INCLUDES} )

Expand Down
3 changes: 3 additions & 0 deletions system/metrics/sinks/prometheus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ include_directories(
${HPCC_SOURCE_DIR}/system/httplib
)

# ensure httplib uses poll rather than select - otherwise it fail if too many sockets have been opened.
ADD_DEFINITIONS( -DCPPHTTPLIB_USE_POLL )

SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${STRICT_CXX_FLAGS}")
ADD_DEFINITIONS( -DPROMETHEUSSINK_EXPORTS )
HPCC_ADD_LIBRARY( hpccmetrics_prometheussink SHARED ${srcs} )
Expand Down
Loading