Commit Graph

140 Commits

Author SHA1 Message Date
zhengshuxin
c47609ad20 Modify comments. 2024-03-30 12:49:17 +08:00
zhengshuxin
9e4c422722 Use setsockopt as the default way to control IO timeout. 2024-03-30 10:56:31 +08:00
zhengshuxin
4c41c86bc0 Use setsockopt to set the IO timeout for OpenSSL module. 2024-03-25 17:53:44 +08:00
shuxin   zheng
b74b0d1c0e socket_stream's default read/write buffer size can be set by calling acl::istream::set_rbuf_size() or acl::ostream::set_wbuf_size(). 2023-12-09 15:41:45 +08:00
shuxin   zheng
88f215e41c Optimize and test bind local network interface when connecting the remote server. 2023-11-18 14:53:25 +08:00
shuxin   zheng
0b8dd11dca Client socket can bind local interface when connecting to the remote server. 2023-11-17 18:49:11 +08:00
zhengshuxin
fe9004ffb6 Redifine acl::shared_stream for c++11 using. 2023-09-26 10:44:15 +08:00
shuxin   zheng
e78c53d659 Add more functions for multicast. 2023-09-20 16:53:15 +08:00
shuxin   zheng
fff2bed41b Adding multicast ... 2023-09-20 15:15:11 +08:00
zhengshuxin
316478aea4 format code. 2023-06-20 09:56:37 +08:00
zhengshuxin
8265c1c330 Use shared_ptr to protect socket_stream accepted. 2023-06-18 00:01:20 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
zhengshuxin
60fe8c720b Support mbedtls-3.3.0. 2023-02-17 16:16:57 +08:00
zhengshuxin
10373e10d3 Optimize the compiling process. 2023-02-16 22:27:38 +08:00
zhengshuxin
ca4ba01f0a Support multiple certs for mbedtls module. 2023-02-16 18:25:05 +08:00
zhengshuxin
ed00082adf Optimize openssl module 2023-02-14 16:33:35 +08:00
zhengshuxin
525da0701c Fixed bugs for double free in ~openssl_conf(). 2023-02-14 09:57:42 +08:00
zhengshuxin
47e3a01aa9 Adding support multiple certs in mbedtls_conf... 2023-02-13 19:09:17 +08:00
zhengshuxin
c6d1b80c12 Fixed one bug when free ssl ctx in mbedtls_conf::~mbedtls_conf() 2023-02-13 17:06:30 +08:00
zhengshuxin
69876f60d2 Add get_libssl_handle/get_libcrypto_handle in openssl_conf class. 2023-02-13 15:47:37 +08:00
zhengshuxin
965b9837b1 tyr to use original struct type of mbedtls 2023-02-13 15:36:03 +08:00
zhengshuxin
1656fecf3c Add get_ssl_ctxes() in openssl_conf 2023-02-13 14:33:13 +08:00
zhengshuxin
9ede57bf08 Optimize openssl module 2023-02-11 10:45:44 +08:00
zhengshuxin
e3f1f61fe1 Support loading multiple certificates for OpenSSL module of acl. 2023-02-10 23:57:02 +08:00
zhengshuxin
5245909f32 Optimize openssl_conf for adding multiple certs. 2023-02-09 19:02:30 +08:00
zhengshuxin
97028886a8 test openssl in fiber mode. 2022-08-29 18:40:15 +08:00
zhengshuxin
ae39d3ec94 optimize network IO module. 2022-08-29 17:09:02 +08:00
郑树新
026485c21e compile acl on windows ok 2022-08-22 22:32:23 +08:00
zhengshuxin
faf0a7369d optimize and test ssl module in acl 2022-08-22 22:03:38 +08:00
zhengshuxin
544597789d optimize and test ssl module for openssl 2022-08-22 17:13:39 +08:00
zhengshuxin
9fbdfc6502 optimize and test openssl used in acl ssl module 2022-08-21 22:01:51 +08:00
zhengshuxin
8e6d37f1a0 optimize ssl module 2022-08-21 17:34:05 +08:00
zhengshuxin
a1b09b743e optimize ssl module 2022-08-20 21:32:08 +08:00
zhengshuxin
5dcdc47999 begin to support openssl ... 2022-08-20 19:31:37 +08:00
zhengshuxin
6486e520f8 format code. 2022-08-19 10:28:04 +08:00
shuxin   zheng
7d6dbb13bf add open flags transfer for socket_stream::bind_udp() 2022-06-01 20:14:37 +08:00
zhengshuxin
95d385cbbe add readable API for socket fd 2022-06-01 12:49:49 +08:00
zhengshuxin
a27557a902 optimize aio closing process in weak network env. 2021-12-13 16:30:15 +08:00
shuxin   zheng
5baef722f9 fixed comment problems 2021-12-03 14:00:38 +08:00
zhengshuxin
e1d41990b4 add clear_read_ready flag in aio_istream 2021-11-12 17:35:02 +08:00
zhengshuxin
2f8f33631c add sendto() in ostream class 2021-11-11 19:24:48 +08:00
zhengshuxin
01a7af4eb1 add flags in aio_ostream::sendto() API 2021-11-11 18:28:12 +08:00
zhengshuxin
f98f33e23b optimize aio module 2021-11-11 18:09:48 +08:00
zhengshuxin
be4d110dfd listening queue length can be in aio_socket_stream::open() 2021-11-11 15:59:00 +08:00
shuxin   zheng
0123c90bff rename hook_xxx() to enable_xxx() in aio module 2021-11-09 16:14:23 +08:00
shuxin   zheng
bee971875a add udp support in aio_socket_stream class 2021-11-09 14:48:58 +08:00
zhengshuxin
df49f8c5fd add writev in aio_ostream class 2021-11-02 09:30:33 +08:00
shuxin   zheng
5e002541ce aio_handle can be reset in aio_stream. 2021-10-31 14:39:38 +08:00
zhengshuxin
8e023c745a Add new function for getting the length of the sending queue in aio module. 2021-10-26 16:48:58 +08:00
郑树新
fca21901ac test iocp for fiber module 2021-10-07 23:13:21 +08:00