zsx
|
1dbc76dbec
|
fixed one bug in ipc_monitor.cpp.
|
2018-01-30 10:02:27 +08:00 |
|
zsx
|
21119f88a0
|
master_guard: add all info for version
|
2018-01-23 19:48:45 +08:00 |
|
zsx
|
ea244a6673
|
master & master tools can display the version of all services
|
2018-01-23 18:57:29 +08:00 |
|
zsxxsz
|
66c05c16cb
|
fiber for windows: client2 and server2 run very well:)
|
2018-01-22 22:01:12 +08:00 |
|
郑树新
|
49a92e9348
|
fiber io can also stop automaticly when no IO and no timers been set.
|
2018-01-22 18:38:50 +08:00 |
|
zsxxsz
|
521cdffe83
|
build ok for vc2003
|
2018-01-21 18:13:48 +08:00 |
|
zsxxsz
|
400904dccf
|
add error handling in acl_vstream.c & poll.c when operation timeout;
in fiber_win.c when calling CreateFiberEx, using size as the parameter
dwStackReserveSize;
|
2018-01-20 21:57:39 +08:00 |
|
郑树新
|
4afcac70a0
|
improve fiber IO performance when using timedwait read/write.
|
2018-01-16 18:24:13 +08:00 |
|
郑树新
|
0244606e67
|
remove FIBER_API in channel.hpp for compiling with no error on Windows & Unix
|
2018-01-16 14:28:42 +08:00 |
|
zsx
|
e9606ac8bc
|
acl_ifconf_search can match TCP/UDP/UNIX domain socket addr automaticly
|
2018-01-16 13:55:55 +08:00 |
|
zsx
|
e7adfbb169
|
bugfix: fixed bugs in acl_ifconf.c's acl_ifconf_search and acl_udp_server.c
|
2018-01-16 11:43:35 +08:00 |
|
zsx
|
a004efcd70
|
acl_udp_server: fixed one bug for monitoring the network changing
|
2018-01-15 19:26:19 +08:00 |
|
zsx
|
bc845a5dcd
|
fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
|
2018-01-14 23:08:04 +08:00 |
|
zsxxsz
|
768d30a56c
|
fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
|
2018-01-14 22:54:44 +08:00 |
|
zsxxsz
|
ebf0361142
|
fiber event optimize
|
2018-01-13 09:37:57 +08:00 |
|
zsxxsz
|
6b20f28844
|
add function giving the events count in one event loop
|
2018-01-09 23:37:23 +08:00 |
|
root
|
01be5a98c6
|
acl_udp_server: can exit gracefully
|
2018-01-03 02:54:53 +08:00 |
|
zsx
|
5ab9024ae1
|
udp server: add gracefully exiting process
|
2018-01-02 15:21:37 +08:00 |
|
zsxxsz
|
c7fc99f2d8
|
fiber for windows can run:)
|
2018-01-01 00:10:00 +08:00 |
|
zsx
|
d33548f291
|
one compiling warning on macos
|
2017-12-25 15:04:45 +08:00 |
|
zsx
|
96cf502095
|
fixed samples compiling error
|
2017-12-25 13:01:46 +08:00 |
|
zsx
|
4f0e2cc8dd
|
feature: master can bind udp with unix domain path
|
2017-12-12 19:18:33 +08:00 |
|
zsx
|
c10ef0b4d5
|
bugfix: fixed bug in acl_ifconf_search function.
|
2017-12-12 16:33:46 +08:00 |
|
zsx
|
f0c52f92f1
|
acl_mbox supports eventfd as notify handle
|
2017-12-12 14:02:25 +08:00 |
|
zsx
|
fa113a12e7
|
acl stream and servers support UNIX domain socket in UDP packet mode
|
2017-12-10 22:23:37 +08:00 |
|
zsx
|
aa3e355225
|
compile: fixed one compile error
|
2017-12-08 10:03:00 +08:00 |
|
zsx
|
68dfbb4de8
|
workaroud: function acl_res_lookup of acl_res.c will not call fatal when domain invalid
|
2017-12-08 09:52:48 +08:00 |
|
ruki
|
987385ea6e
|
add xmake.lua
|
2017-11-30 10:04:15 +08:00 |
|
zsx
|
a8d8f40b52
|
master: can start & restart one service with different extname that maybe be used for different service version
|
2017-11-21 16:46:39 +08:00 |
|
郑树新
|
ad96211014
|
vc projects: remove private_global.h and add acl_define_macosx.h
|
2017-11-21 10:58:44 +08:00 |
|
郑树新
|
23f1915473
|
compiling: support vc2017
|
2017-11-20 12:15:19 +08:00 |
|
zhengshuxin
|
b2b6521a75
|
compiling error on CentOS6.x
|
2017-11-16 11:37:57 +08:00 |
|
zhengshuxin
|
f931680917
|
bugfix: don't notify master in alone running mode.
|
2017-11-13 21:21:26 +08:00 |
|
zhengshuxin
|
314e08b9f0
|
compiling: fixed one compiling error on FreeBSD
|
2017-11-13 09:26:48 +08:00 |
|
zhengshuxin
|
ef7e4495ac
|
master: can start services specified in configure file.
|
2017-11-12 00:20:15 +08:00 |
|
zhengshuxin
|
41ce67f000
|
bugfix: acl_udp_server rebinding addrs
|
2017-11-10 22:36:03 +08:00 |
|
zhengshuxin
|
65a5b15315
|
acl_udp_server: add/del ip auto
|
2017-11-10 14:43:21 +08:00 |
|
zhengshuxin
|
8b4d78198e
|
bugfix: fxied deadlock in acl_mylog.c
|
2017-11-10 12:57:18 +08:00 |
|
zhengshuxin
|
acb6358d13
|
bugfix: fixed dead lock in acl_mylog.c
|
2017-11-10 12:00:43 +08:00 |
|
zhengshuxin
|
037d5d8994
|
format code style
|
2017-11-10 10:08:34 +08:00 |
|
zhengshuxin
|
519a42f9c2
|
compiling: fxied compiling error on FreeBSD
|
2017-11-09 19:16:51 +08:00 |
|
zhengshuxin
|
4d43fc5ae7
|
acl_udp_server: can find ip addrs changing automaticlly
|
2017-11-09 18:58:42 +08:00 |
|
zhengshuxin
|
c9267f4d93
|
master template: remove unused args
|
2017-11-07 17:08:54 +08:00 |
|
zhengshuxin
|
46cc12739f
|
compiling: fixed compiling error on vc
|
2017-10-27 16:33:56 +08:00 |
|
zhengshuxin
|
db886f9d62
|
master: all server template support waiting the service starting status
|
2017-10-27 11:38:10 +08:00 |
|
zhengshuxin
|
52e401c142
|
event: events_epoll_thr.cpp, fixed one bug in event_enable_write function
|
2017-10-27 11:37:28 +08:00 |
|
zhengshuxin
|
bc4f60a2d3
|
acl_master: when starting services remotely, users can wait the result of the services' starting status or not.
|
2017-10-27 00:00:41 +08:00 |
|
centos6.9-32
|
70f510b33f
|
remove debug info
|
2017-10-16 22:46:30 -07:00 |
|
zhengshuxin
|
7749e15bcc
|
fiber: test
|
2017-10-12 18:59:50 +08:00 |
|
zhengshuxin
|
b998731976
|
building: modify Makefiles to build more quickly on multi-cores CPU
|
2017-10-10 10:19:59 +08:00 |
|
zsxxsz
|
607905bfec
|
compile: There's one compiling error in acl_atomic_int64_cas.
|
2017-10-01 13:59:02 +08:00 |
|
zhengshuxin
|
3d71e10668
|
fiber: fiber_lock can trigger immediately with IO event
|
2017-10-01 13:54:57 +08:00 |
|
郑树新
|
5bda421b74
|
mbox: add debug info
|
2017-09-28 16:57:15 +08:00 |
|
郑树新
|
868bef0fb9
|
compile: one compiling warning by vc
|
2017-09-28 14:27:44 +08:00 |
|
zhengshuxin
|
83724d3e8a
|
valgrind: free global objects when process exiting to avoid valgrind reporting error.
|
2017-09-28 12:29:20 +08:00 |
|
zsx
|
ea61c76939
|
build ok on MacOSX by xcode
|
2017-09-19 10:49:13 +08:00 |
|
郑树新
|
0bf16cd1f8
|
build ok on windows by vc
|
2017-09-21 17:34:25 +08:00 |
|
zhengshuxin
|
70f4b50ee1
|
fixed bugs in event timer module
|
2017-09-21 16:00:44 +08:00 |
|
zhengshuxin
|
fd66d9bbc4
|
fixed one bug in acl_udp_server.c when sending status to master
|
2017-09-19 17:16:36 +08:00 |
|
郑树新
|
de4ec340a4
|
compiling ok on Android Studio
|
2017-09-13 11:30:27 +08:00 |
|
zhengshuxin
|
d5119d3ca1
|
Merge branch 'master' of https://github.com/zhengshuxin/acl into github-zsx-master
|
2017-09-13 11:26:28 +08:00 |
|
zhengshuxin
|
52b692221a
|
merge acl
|
2017-09-13 11:25:39 +08:00 |
|
zhengshuxin
|
8ada09778c
|
fixed bugs in acl_dlink.c for adding continuous integers;
acl_dlink.c supports for adding negative integers.
|
2017-09-13 11:17:00 +08:00 |
|
zhengshuxin
|
70957fad04
|
invalid date submit from FreeBSD
|
2017-09-11 13:57:59 +08:00 |
|
zsx
|
cb1c642461
|
build ok for Macosx
|
2017-07-17 17:53:56 +08:00 |
|
zhengshuxin
|
b9283ffbf5
|
build ok on FreeBSD
|
2017-07-11 17:44:14 +08:00 |
|
zhengshuxin
|
d5fe28dd8f
|
compile ok for centos5.x
|
2017-09-11 11:38:06 +08:00 |
|
郑树新
|
4ac182fdce
|
fixed compiling error on Windows by vc
|
2017-09-11 08:49:07 +08:00 |
|
zhengshuxin
|
a67e6a6338
|
sighup's result status from children can be got by acl_master
|
2017-09-09 00:30:39 +08:00 |
|
zhengshuxin
|
7d94dd5a04
|
let mbox::pop be blocked when timeout < 0
|
2017-09-08 19:18:49 +08:00 |
|
zhengshuxin
|
025a9b29f2
|
make master's reload safety
|
2017-09-06 13:19:49 +08:00 |
|
zhengshuxin
|
296d5a995d
|
master can wait until the children exited
|
2017-09-05 23:47:48 +08:00 |
|
zhengshuxin
|
3d02c72328
|
all master templates support handling SIGTERM signal.
|
2017-09-05 10:58:55 +08:00 |
|
zhengshuxin
|
7dadf786df
|
add test code in mbox.hpp
|
2017-09-02 17:59:32 +08:00 |
|
zhengshuxin
|
2af766fb6e
|
make acl::mbox generic with c++ template method.
|
2017-09-01 23:14:20 +08:00 |
|
zhengshuxin
|
5291cd0c7a
|
test only
|
2017-09-01 18:59:42 +08:00 |
|
zhengshuxin
|
3191bf51db
|
there's one bug in acl_aqueue_pop_timedwait when computing timeout for waiting
|
2017-08-29 17:46:41 +08:00 |
|
zhengshuxin
|
85b55d4e4e
|
acl_mbox_read's timeout use millisecond precision
|
2017-08-29 11:32:07 +08:00 |
|
zhengshuxin
|
2016e3b46a
|
fiber_server.c can support reuseport when running alonely.
|
2017-08-21 17:39:48 +08:00 |
|
zhengshuxin
|
be7629ced2
|
add acl_read_xxx_wait with milliseconds;
icmp ping supports timeout and delay with milliseconds;
|
2017-08-15 12:17:57 +08:00 |
|
zsxxsz
|
b1fe62649f
|
change charset of comments from utf-8 to gbk.
|
2017-08-13 22:53:52 +08:00 |
|
zhengshuxin
|
db7ca4ff38
|
add comments in acl_atomic.h
|
2017-08-13 22:41:35 +08:00 |
|
zhengshuxin
|
8bb4c91b58
|
add return value to show the result of acl_chroot_uid than just broken when error happened.
|
2017-08-11 21:41:26 +08:00 |
|
zhengshuxin
|
5ebdc5e223
|
SO_REUSEPORT not used in Centos5.x
|
2017-08-11 09:20:44 +08:00 |
|
zhengshuxin
|
fe44b078fc
|
TCP_FASTOPEN can be used by setting the master_fastopen item in servers' configure files
|
2017-08-10 11:46:02 +08:00 |
|
zhengshuxin
|
1915852bd9
|
SO_REUSEPORT can be used in master server framework by setting configure item
|
2017-08-10 11:35:52 +08:00 |
|
zhengshuxin
|
3203318ea9
|
when user's input is NULL in acl_vstring_sprintf, etc, null will be handled safely.
|
2017-08-07 11:09:00 +08:00 |
|
zsxxsz
|
e17f78dcec
|
fixed one bug in acl_threads_server.c when serv_timeout was called the sequence of args was invalid.
|
2017-07-31 17:19:35 +08:00 |
|
zhengshuxin
|
0b9f6bd0a8
|
fixed bugs in server templates for windows.
|
2017-07-31 16:08:01 +08:00 |
|
zhengshuxin
|
443e94d3d9
|
fixed one bug in trigger server template that __conf_file should be used than conf_file_ptr.
|
2017-07-24 22:04:08 +08:00 |
|
zhengshuxin
|
93b3250ca5
|
add methods that get configure path
|
2017-07-22 21:32:21 +08:00 |
|
郑树新
|
e397581179
|
fixed compiling warning for Android Studio
|
2017-07-21 16:05:45 +08:00 |
|
郑树新
|
5b406b6115
|
building for Android studio 2.3.3
|
2017-07-20 10:59:28 +08:00 |
|
zhengshuxin
|
6a6616a590
|
remove master/framework dir from CMakeLists.txt
|
2017-07-19 17:46:50 +08:00 |
|
zhengshuxin
|
66a35c5837
|
add configure item in master's protocol;
fixed warning on MACOSX
|
2017-07-17 15:30:52 +08:00 |
|
zsx
|
b1dfd6bdd3
|
fixed some compiling error&warning on xcode.
|
2017-07-17 15:06:02 +08:00 |
|
zhengshuxin
|
8a80dce9bb
|
On MacOS, let POLLIN checking first in acl_read_wait.c.
|
2017-07-17 11:03:42 +08:00 |
|
zsx
|
975767b856
|
disable reseting optind, optarg, opterr on MacOS
|
2017-07-17 10:29:20 +08:00 |
|
zhengshuxin
|
ddee9c8d69
|
invalid charset in acl_vstream.h
|
2017-07-11 18:03:45 +08:00 |
|
zhengshuxin
|
eab3f85c17
|
fixed one net bug in FreeBSD
|
2017-07-11 15:58:21 +08:00 |
|