YuQing
|
599d0f1446
|
add global var g_set_cloexec and macro FC_SET_CLOEXEC
|
2022-06-25 11:23:43 +08:00 |
YuQing
|
4a7d852409
|
correct O_CLOEXEC to FD_CLOEXEC for F_SETFL
|
2022-06-25 09:22:25 +08:00 |
YuQing
|
e254b8e1d3
|
open file with flag O_CLOEXEC
|
2022-06-24 18:52:39 +08:00 |
YuQing
|
3331b927b3
|
add function log_try_init2
|
2022-02-14 09:41:21 +08:00 |
YuQing
|
e9d186ce99
|
make.sh: generate macros for dirent fields
|
2022-02-10 22:18:53 +08:00 |
YuQing
|
3f20211a52
|
add const modifier for unification
|
2022-02-01 21:30:47 +08:00 |
YuQing
|
a19a0071db
|
sockopt.[hc] support tcpwritev and tcpreadv
|
2022-01-31 17:03:42 +08:00 |
YuQing
|
505893dc4c
|
change include <sys/poll.h> to #include <poll.h>
|
2022-01-28 18:16:28 +08:00 |
YuQing
|
0cd65f088c
|
tcp_quick_ack option for Linux
|
2020-12-06 16:59:09 +08:00 |
YuQing
|
d54007f79b
|
check poll result for POLLHUP and POLLERR
|
2020-10-25 20:42:53 +08:00 |
YuQing
|
56a5ac4f92
|
modify license to LGPLv3 and copyright
|
2020-10-14 11:03:46 +08:00 |
YuQing
|
7d5512682b
|
fixed printf format for port
|
2020-09-27 08:53:57 +08:00 |
YuQing
|
082a322f3d
|
change port type to uint16_t
|
2020-09-27 08:46:46 +08:00 |
YuQing
|
a749b84ce2
|
sockopt.[hc]: add function asyncconnectserverbyip
|
2020-09-06 18:49:15 +08:00 |
YuQing
|
c2837fde5f
|
add functions getIpAndPort and getPeerIpAndPort
|
2020-03-26 11:36:44 +08:00 |
YuQing
|
89ad53974f
|
add uniq server addresses
|
2020-02-19 15:49:39 +08:00 |
YuQing
|
81e6455819
|
add tests/test_server_id_func.c
|
2020-02-15 20:55:57 +08:00 |
YuQing
|
938a6a7fac
|
modify website name
|
2019-11-23 10:03:54 +08:00 |
YuQing
|
aabc50c144
|
add .gitignore
|
2019-11-22 09:53:58 +08:00 |
YuQing
|
d32a72db1f
|
add function socketCreateEx2
|
2019-09-29 21:35:53 +08:00 |
YuQing
|
83f572820e
|
log more info when socket bind fail
|
2019-09-29 14:55:50 +08:00 |
YuQing
|
28d175523d
|
sockopt.[hc] support IPv6
|
2019-09-27 11:29:12 +08:00 |
YuQing
|
82eee4ddd0
|
func getifconfigs: get IPv6 address correctly
|
2019-09-26 10:00:02 +08:00 |
yuqing
|
722a944266
|
sockopt.c: add global variable try_again_when_interrupt
|
2018-07-31 16:46:05 +08:00 |
yuqing
|
0d13a2de17
|
sched_thread.h: add function sched_print_all_entries
|
2018-06-26 10:56:34 +08:00 |
yuqing
|
41db7d0bc2
|
move SET_SOCKOPT_NOSIGPIPE from sockopt.c to sockopt.h
|
2016-11-10 14:00:12 +08:00 |
yuqing
|
e552ad7e1d
|
fixbug for select
|
2016-09-08 15:43:24 +08:00 |
yuqing
|
39a6e7b656
|
setsockopt SO_NOSIGPIPE when nessary
|
2016-08-12 17:09:18 +08:00 |
liuwei
|
a6d00af752
|
memset sockaddr_in & sockaddr_in6
|
2016-05-24 18:00:26 +08:00 |
liuwei
|
96cfd0283a
|
add getIpaddrsByName() function
|
2016-05-23 14:20:44 +08:00 |
yuqing
|
299ac49055
|
id generator in php extension support multi instance
|
2016-05-19 15:50:45 +08:00 |
yuqing
|
3eb39e834c
|
connect by ip and connection pool support ipv6
|
2016-05-18 10:40:36 +08:00 |
yuqing
|
094f3900c1
|
inet_aton to inet_pton
|
2016-05-17 21:22:08 +08:00 |
Yu Qing
|
fa404e98df
|
add macro HAVE_USER_H
|
2016-02-19 14:56:38 +08:00 |
Yu Qing
|
f4313d4669
|
add macro HAVE_VMMETER_H
|
2016-02-18 16:52:56 +08:00 |
yuqing
|
a786f36d65
|
getlocaladdrs
|
2016-01-18 10:17:45 +08:00 |
yuqing
|
05e01ce113
|
getlocaladdrs fixed
|
2016-01-17 22:48:30 +08:00 |
yuqing
|
700f8d2c2b
|
add system_info.h and system_info.c
|
2016-01-12 15:14:47 +08:00 |
Yu Qing
|
c2b66b3ced
|
format if mac address
|
2016-01-12 11:18:29 +08:00 |
yuqing
|
1c6a73d4f3
|
support get local mac addresses
|
2016-01-12 10:56:07 +08:00 |
yuqing
|
fe9b8dad60
|
allow_ips support CIDR addresses such as 172.16.12.0/22
|
2015-09-05 19:40:23 +08:00 |
yuqing
|
62f94164c1
|
macro FDFS_WRITE_BUFF_SIZE change to FAST_WRITE_BUFF_SIZE
|
2015-05-12 14:05:09 +08:00 |
yuqing
|
d2d916fbab
|
correct fsbytes to sbytes
|
2015-05-11 18:25:37 +08:00 |
yuqing
|
503cdc6006
|
get local ipaddr support interface based 1
|
2014-10-24 18:20:00 +08:00 |
yuqing
|
8725ebd997
|
socket send and recv ignore erno EINTR
|
2014-08-10 21:57:06 +08:00 |
yuqing
|
1b80270f90
|
remote useless break statement
|
2014-08-10 12:49:05 +08:00 |
yuqing
|
e211604368
|
support OS Darwin
|
2014-08-09 11:15:55 +08:00 |
yuqing
|
dd42d9c08c
|
sockopt.c add tcprecvdata_nb_ms to support millisecond timeout
|
2014-07-14 18:03:13 +08:00 |
yuqing
|
0dd3d17c92
|
update source code from FastDFS V5.02
|
2014-05-29 09:21:50 +08:00 |