Skip to content

Commit a5338ba

Browse files
committed
fix #2610
1 parent 7edcbb5 commit a5338ba

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

include/swoole.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ int clock_gettime(clock_id_t which_clock, struct timespec *t);
8888

8989
#define SWOOLE_MAJOR_VERSION 4
9090
#define SWOOLE_MINOR_VERSION 3
91-
#define SWOOLE_RELEASE_VERSION 4
91+
#define SWOOLE_RELEASE_VERSION 5
9292
#define SWOOLE_EXTRA_VERSION ""
93-
#define SWOOLE_VERSION "4.3.4"
94-
#define SWOOLE_VERSION_ID 40304
93+
#define SWOOLE_VERSION "4.3.5"
94+
#define SWOOLE_VERSION_ID 40305
9595
#define SWOOLE_BUG_REPORT \
9696
"A bug occurred in Swoole-v" SWOOLE_VERSION ", please report it.\n"\
9797
"The Swoole developers probably don't know about it,\n"\

src/server/worker.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,10 @@ int swWorker_loop(swServer *serv, int worker_id)
701701
worker = swServer_get_worker(serv, i);
702702
pipe_socket = swReactor_get(SwooleG.main_reactor, worker->pipe_master);
703703
pipe_socket->buffer_size = INT_MAX;
704+
pipe_socket->fdtype = SW_FD_PIPE;
704705
pipe_socket = swReactor_get(SwooleG.main_reactor, worker->pipe_worker);
705706
pipe_socket->buffer_size = INT_MAX;
707+
pipe_socket->fdtype = SW_FD_PIPE;
706708
}
707709

708710
if (serv->dispatch_mode == SW_DISPATCH_STREAM)

0 commit comments

Comments
 (0)