libuv: fix bugs and add partial pipe support
This commit is contained in:
parent
2e8f068a61
commit
efd81744d1
File diff suppressed because it is too large
Load Diff
@ -54,6 +54,13 @@ config LIBUV_STREAM_READ_SIZE
|
|||||||
---help---
|
---help---
|
||||||
Defines the size of buffer used for stream reads.
|
Defines the size of buffer used for stream reads.
|
||||||
|
|
||||||
|
config LIBUV_PIPE
|
||||||
|
bool "libuv pipe support"
|
||||||
|
default n
|
||||||
|
depends on LIBUV_STREAM
|
||||||
|
---help---
|
||||||
|
Enable libuv pipe support.
|
||||||
|
|
||||||
config LIBUV_FS
|
config LIBUV_FS
|
||||||
bool "libuv FS support"
|
bool "libuv FS support"
|
||||||
default n
|
default n
|
||||||
|
@ -86,6 +86,10 @@ ifeq ($(CONFIG_LIBUV_ASYNC),y)
|
|||||||
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/async.c
|
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/async.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_LIBUV_PIPE),y)
|
||||||
|
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/pipe.c
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_LIBUV_FS),y)
|
ifeq ($(CONFIG_LIBUV_FS),y)
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/fs.c
|
CSRCS += $(LIBUV_UNPACKDIR)/src/unix/fs.c
|
||||||
endif
|
endif
|
||||||
|
@ -49,11 +49,13 @@ CSRCS += $(LIBUV_UNPACKDIR)/test/test-poll-close.c
|
|||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-close.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-close.c
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-stop.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-loop-stop.c
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-read-stop.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-read-stop.c
|
||||||
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-ping-pong.c
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-write-after-connect.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-tcp-write-after-connect.c
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-copyfile.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-copyfile.c
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-poll.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-fs-poll.c
|
||||||
|
ifeq ($(CONFIG_DEV_URANDOM),y)
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/test-random.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/test-random.c
|
||||||
|
endif
|
||||||
# Test helpers
|
# Test helpers
|
||||||
|
|
||||||
CSRCS += $(LIBUV_UNPACKDIR)/test/echo-server.c
|
CSRCS += $(LIBUV_UNPACKDIR)/test/echo-server.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user