Commit Graph

35 Commits (V1.0.81)

Author SHA1 Message Date
YuQing 8e51f4de3e logger.h export function log_it_ex3 2025-08-20 17:54:29 +08:00
YuQing 13fc696432 conn_pool_get_connection_ex add parameter: shared 2025-01-27 10:55:26 +08:00
YuQing 226fd0d378 format ip address for IPv6 2024-03-05 10:58:09 +08:00
YuQing 02f4659a32 log IPv6 address and port gracefully 2023-12-25 17:01:43 +08:00
YuQing 78caf9224b replace inet_ntop to getnameinfo for IPv6 2023-12-01 11:31:26 +08:00
YuQing dd77da144f field socket_domain rename to af 2023-11-29 18:35:00 +08:00
sunqiangwei1988 718906e477 Added: 增加IPv6支持
1、将IP_ADDRESS_SIZE的值由16修改为INET6_ADDRSTRLEN(46)。
2、新定义in_addr_64结构体替换in_addr结构体,以支持IPv6地址长度。
3、将connection_pool相关文件的socket_domain预设值由AF_INET修改为AF_UNSPEC。
4、增加IPv6的本地回环地址判断。
5、新增从字符串中解析IP地址和端口号方法(支持IPv4和IPv6)。
6、sockopt增加IPv6的支持
2023-11-02 10:13:42 +08:00
YuQing 05a694df77 get full mac address of infiniband NIC under Linux 2023-08-27 14:54:51 +08:00
YuQing 8ab3420bce add function tcp_socket_connected 2022-12-30 17:18:28 +08:00
YuQing 7b9c257652 rename trim to fc_trim 2022-02-25 09:44:15 +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 0cd65f088c tcp_quick_ack option for Linux 2020-12-06 16:59:09 +08:00
YuQing 56a5ac4f92 modify license to LGPLv3 and copyright 2020-10-14 11:03:46 +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 7459f7ded4 add files: server_id_func.[hc] 2020-02-14 21:21:42 +08:00
YuQing d6b0f1b0c4 add function is_network_error 2020-02-09 17:17:37 +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 583bdc87dc upgrade version to 1.0.41 2019-09-29 15:58:11 +08:00
YuQing 28d175523d sockopt.[hc] support IPv6 2019-09-27 11:29:12 +08:00
yuqing 722a944266 sockopt.c: add global variable try_again_when_interrupt 2018-07-31 16:46:05 +08:00
yuqing 41db7d0bc2 move SET_SOCKOPT_NOSIGPIPE from sockopt.c to sockopt.h 2016-11-10 14:00:12 +08:00
liuwei 96cfd0283a add getIpaddrsByName() function 2016-05-23 14:20:44 +08:00
yuqing 3eb39e834c connect by ip and connection pool support ipv6 2016-05-18 10:40:36 +08:00
yuqing c6a41be8b9 add comments 2016-02-03 16:03:08 +08:00
yuqing 1c6a73d4f3 support get local mac addresses 2016-01-12 10:56:07 +08:00
yuqing 62f94164c1 macro FDFS_WRITE_BUFF_SIZE change to FAST_WRITE_BUFF_SIZE 2015-05-12 14:05:09 +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