Skip to content

Commit 05e9a63

Browse files
author
Li ZHOU
committed
upgrade to libuv 1.17
1 parent 26217b2 commit 05e9a63

File tree

415 files changed

+823
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

415 files changed

+823
-320
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ compiler:
44
- clang
55
env:
66
global:
7-
- LIBUV_VER=1.16.0
7+
- LIBUV_VER=1.17.0
88
- WOLFSSL_VER=3.11.0-stable
99
- OPENSSL_VER=1.1.0
1010
before_install:

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ project(mysocks)
3535
find_package(OpenSSL)
3636
IF (OPENSSL_FOUND)
3737
IF (OPENSSL_VERSION VERSION_LESS 1.1)
38-
include_directories(gnulib/lib libmd5-rfc libuv-1.16.0/include OpenSSL_1_1_0/include wolfssl-3.11.0-stable)
38+
include_directories(gnulib/lib libmd5-rfc libuv-1.17.0/include OpenSSL_1_1_0/include wolfssl-3.11.0-stable)
3939
ELSE()
40-
include_directories(gnulib/lib libmd5-rfc libuv-1.16.0/include ${OPENSSL_INCLUDE_DIR} wolfssl-3.11.0-stable)
40+
include_directories(gnulib/lib libmd5-rfc libuv-1.17.0/include ${OPENSSL_INCLUDE_DIR} wolfssl-3.11.0-stable)
4141
ENDIF()
42-
include_directories(gnulib/lib libmd5-rfc libuv-1.16.0/include OpenSSL_1_1_0/in
42+
include_directories(gnulib/lib libmd5-rfc libuv-1.17.0/include OpenSSL_1_1_0/in
4343
clude wolfssl-3.11.0-stable)
4444
ENDIF()
4545
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
@@ -52,7 +52,7 @@ SET(CMAKE_C_FLAGS_RELEASE "$ENV{CFLAGS} -DNDEBUG")
5252
IF (MSVC)
5353
set (CMAKE_C_FLAGS "-D_WIN32_WINNT=0x0600 -D_GNU_SOURCE -DHAVE_UNISTD_H=0 -DWIN32_LEAN_AND_MEAN ${CMAKE_C_FLAGS}")
5454
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCMTD")
55-
link_directories( libuv-1.16.0/$(ConfigurationName)/lib OpenSSL_1_1_0 wolfssl-3.11.0-stable/Debug)
55+
link_directories( libuv-1.17.0/$(ConfigurationName)/lib OpenSSL_1_1_0 wolfssl-3.11.0-stable/Debug)
5656
add_executable(ssclient gnulib/lib/arcfour.c libmd5-rfc/md5.c src/client.c src/cipher.c src/getopt.c src/main.c src/s5.c src/server.c src/util.c)
5757
target_link_libraries(ssclient iphlpapi psapi userenv libuv ws2_32)
5858
add_executable(ssclient-openssl src/client.c src/cipher-openssl.c src/getopt.c src/main.c src/s5.c src/server.c src/util.c)
@@ -80,7 +80,7 @@ ELSE()
8080
SET(CMAKE_C_FLAGS "-DHAVE_UNISTD_H=1 ${CMAKE_C_FLAGS}")
8181
SET(CMAKE_C_FLAGS_DEBUG "-DHAVE_UNISTD_H=1 ${CMAKE_C_FLAGS_DEBUG}")
8282
SET(CMAKE_C_FLAGS_RELEASE "-DHAVE_UNISTD_H=1 ${CMAKE_C_FLAGS_RELEASE}")
83-
link_directories(libuv-1.16.0/.libs OpenSSL_1_1_0 wolfssl-3.11.0-stable/src/.libs)
83+
link_directories(libuv-1.17.0/.libs OpenSSL_1_1_0 wolfssl-3.11.0-stable/src/.libs)
8484
add_executable(ssclient gnulib/lib/arcfour.c libmd5-rfc/md5.c src/client.c src/cipher.c src/main.c src/s5.c src/server.c src/util.c)
8585
target_link_libraries(ssclient uv )
8686
add_executable(ssclient-openssl src/client.c src/cipher-openssl.c src/main.c src/s5.c src/server.c src/util.c)

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM alpine:3.3
66
MAINTAINER lzh <[email protected]>
77

88
ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.5.10.tar.gz
9-
ARG LIBUV_URL=https://github.com/libuv/libuv/archive/v1.16.0.tar.gz
9+
ARG LIBUV_URL=https://github.com/libuv/libuv/archive/v1.17.0.tar.gz
1010
ARG WOLFSSL_URL=https://github.com/wolfSSL/wolfssl/archive/v3.11.0-stable.tar.gz
1111
RUN set -ex && \
1212
apk add --no-cache --virtual .build-deps \
@@ -21,7 +21,7 @@ RUN set -ex && \
2121
openssl-dev \
2222
tar \
2323
&& \
24-
curl -sSL $LIBUV_URL | tar xz && cd libuv-1.16.0 && \
24+
curl -sSL $LIBUV_URL | tar xz && cd libuv-1.17.0 && \
2525
./autogen.sh && ./configure --prefix=/usr --disable-static && make && \
2626
make install && cd .. && \
2727
curl -sSL $WOLFSSL_URL | tar xz && cd wolfssl-3.11.0-stable && \
@@ -49,4 +49,4 @@ build/release && cd build/release && \
4949
cd ../../.. && \
5050
apk add --no-cache --virtual .run-deps $runDeps && \
5151
apk del .build-deps && \
52-
rm -fr libuv-1.16.0 && rm -fr wolfssl-3.11.0-stable && rm -fr mysocks-0.5.10
52+
rm -fr libuv-1.17.0 && rm -fr wolfssl-3.11.0-stable && rm -fr mysocks-0.5.10
1.11 MB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Marc Schlaich <[email protected]> <[email protected]>
2626
2727
2828
Nicholas Vavilov <[email protected]>
29+
2930
Rasmus Christian Pedersen <[email protected]>
3031
Rasmus Christian Pedersen <[email protected]> <[email protected]>
3132
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,5 @@ Scott Parker <[email protected]>
318318
Wade Brainerd <[email protected]>
319319
320320
Pekka Nikander <[email protected]>
321+
Ed Schouten <[email protected]>
322+
Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,48 @@
1-
2017.11.07, Version 1.16.0 (Stable)
1+
2017.11.25, Version 1.17.0 (Stable)
2+
3+
Changes since version 1.16.1:
4+
5+
* unix: avoid malloc() call in uv_spawn() (Ben Noordhuis)
6+
7+
* doc: clarify the description of uv_loop_alive() (Ed Schouten)
8+
9+
* win: map UV_FS_O_EXLOCK to a share mode of 0 (Joran Dirk Greef)
10+
11+
* win: fix build on case-sensitive file systems (Ben Noordhuis)
12+
13+
* win: fix test runner build with mingw64 (Ben Noordhuis)
14+
15+
* win: remove unused variable in test/test-fs.c (Ben Noordhuis)
16+
17+
* zos: add strnlen() implementation (jBarz)
18+
19+
* unix: keep track of bound sockets sent via spawn (jBarz)
20+
21+
* unix,win: wait for threads to start (Ben Noordhuis)
22+
23+
* test: add threadpool init/teardown test (Bartosz Sosnowski)
24+
25+
* test: avoid malloc() in threadpool test (Ben Noordhuis)
26+
27+
* test: lower number of tasks in threadpool test (Ben Noordhuis)
28+
29+
* win: issue memory barrier in uv_thread_join() (Ben Noordhuis)
30+
31+
* ibmi: add support for new platform (Xu Meng)
32+
33+
* test: fix test-spawn compilation (Bartosz Sosnowski)
34+
35+
36+
2017.11.11, Version 1.16.1 (Stable), 4056fbe46493ef87237e307e0025e551db875e13
37+
38+
Changes since version 1.16.0:
39+
40+
* unix: move net/if.h include (cjihrig)
41+
42+
* win: fix undeclared NDIS_IF_MAX_STRING_SIZE (Nick Logan)
43+
44+
45+
2017.11.07, Version 1.16.0 (Stable), d68779f0ea742918f653b9c20237460271c39aeb
246

347
Changes since version 1.15.0:
448

0 commit comments

Comments
 (0)