File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
aws-lambda-java-runtime-interface-client/src/main/jni Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,19 @@ RUN yum install -y \
77 tar \
88 gzip \
99 make \
10+ patch \
1011 gcc \
1112 gcc-c++ \
1213 java-11-amazon-corretto
1314
1415# Install curl dependency
1516COPY ./deps/curl-$CURL_VERSION.tar.gz /src/deps/
17+ COPY ./deps/curl_001_disable_wakeup.patch /src/deps/
18+
1619RUN tar xzf /src/deps/curl-$CURL_VERSION.tar.gz -C /src/deps
20+
1721WORKDIR /src/deps/curl-$CURL_VERSION
22+ RUN patch lib/multihandle.h ../curl_001_disable_wakeup.patch
1823RUN ./configure \
1924 --prefix $(pwd)/../artifacts \
2025 --disable-shared \
Original file line number Diff line number Diff line change @@ -10,12 +10,17 @@ RUN apk update && \
1010 g++ \
1111 gcc \
1212 make \
13+ patch \
1314 perl
1415
1516# Install curl dependency
1617COPY ./deps/curl-$CURL_VERSION.tar.gz /src/deps/
18+ COPY ./deps/curl_001_disable_wakeup.patch /src/deps/
19+
1720RUN tar xzf /src/deps/curl-$CURL_VERSION.tar.gz -C /src/deps
21+
1822WORKDIR /src/deps/curl-$CURL_VERSION
23+ RUN patch lib/multihandle.h ../curl_001_disable_wakeup.patch
1924RUN ./configure \
2025 --prefix $(pwd)/../artifacts \
2126 --disable-shared \
Original file line number Diff line number Diff line change 1+ diff --git a/multihandle.h b/multihandle.h
2+ index a26fb619a..18080f1c3 100644
3+ --- a/multihandle.h
4+ +++ b/multihandle.h
5+ @@ -70,10 +70,6 @@ typedef enum {
6+
7+ #define CURLPIPE_ANY (CURLPIPE_MULTIPLEX)
8+
9+ - #if !defined(CURL_DISABLE_SOCKETPAIR)
10+ - #define ENABLE_WAKEUP
11+ - #endif
12+ -
13+ /* value for MAXIMUM CONCURRENT STREAMS upper limit */
14+ #define INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1)
You can’t perform that action at this time.
0 commit comments