File tree 3 files changed +24
-0
lines changed
aws-lambda-java-runtime-interface-client/src/main/jni
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 \
7
7
tar \
8
8
gzip \
9
9
make \
10
+ patch \
10
11
gcc \
11
12
gcc-c++ \
12
13
java-11-amazon-corretto
13
14
14
15
# Install curl dependency
15
16
COPY ./deps/curl-$CURL_VERSION.tar.gz /src/deps/
17
+ COPY ./deps/curl_001_disable_wakeup.patch /src/deps/
18
+
16
19
RUN tar xzf /src/deps/curl-$CURL_VERSION.tar.gz -C /src/deps
20
+
17
21
WORKDIR /src/deps/curl-$CURL_VERSION
22
+ RUN patch lib/multihandle.h ../curl_001_disable_wakeup.patch
18
23
RUN ./configure \
19
24
--prefix $(pwd)/../artifacts \
20
25
--disable-shared \
Original file line number Diff line number Diff line change @@ -10,12 +10,17 @@ RUN apk update && \
10
10
g++ \
11
11
gcc \
12
12
make \
13
+ patch \
13
14
perl
14
15
15
16
# Install curl dependency
16
17
COPY ./deps/curl-$CURL_VERSION.tar.gz /src/deps/
18
+ COPY ./deps/curl_001_disable_wakeup.patch /src/deps/
19
+
17
20
RUN tar xzf /src/deps/curl-$CURL_VERSION.tar.gz -C /src/deps
21
+
18
22
WORKDIR /src/deps/curl-$CURL_VERSION
23
+ RUN patch lib/multihandle.h ../curl_001_disable_wakeup.patch
19
24
RUN ./configure \
20
25
--prefix $(pwd)/../artifacts \
21
26
--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