Commit Graph

105 Commits

Author SHA1 Message Date
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
shuxin   zheng
662246e62e add set_time_unit() for stream class 2021-07-19 18:29:34 +08:00
shuxin   zheng
506c63a0fe the connect and read/write timeout can use ms 2021-07-09 18:27:11 +08:00
shuxin   zheng
37af0e1d78 merge mbedtls_conf 2020-09-07 21:24:39 +08:00
moehuster
a0143fb2fe bugfix: mbedtls do NOT manage cert/key pair's memory 2020-09-07 20:04:16 +08:00
moehuster
5d88ea55a9 feature: mbedtls add multi server cert support 2020-09-06 21:49:02 +08:00
shuxin   zheng
4f2dd3649f rewrite redis_client_cluster/redis_command classes. 2020-07-20 11:21:47 +08:00
shuxin   zheng
6e694b7080 support ssl SNI 2020-07-01 17:05:41 +08:00
shuxin   zheng
a409da3010 add SNI support in mbedtls module 2020-07-01 16:45:26 +08:00
shuxin   zheng
41ef6fef8f use remote_addr@local_addr replacing the old format: local_addr@remote_addr 2020-06-27 14:01:13 +08:00
shuxin   zheng
8130e91886 format code style 2020-05-09 23:31:44 +08:00
shuxin   zheng
3d7737628f fixed compiling warning by xcode 2020-05-07 10:55:14 +08:00
shuxin   zheng
6a13e7c3a2 make ssl module more easy 2020-01-12 19:41:29 +08:00
郑树新
910a313ae2 load mbedtls in one or threee libs 2020-01-07 18:33:44 +08:00
shuxin   zheng
a0a8a0ef4c compiling mbedtls for vc 2020-01-07 09:18:57 +08:00
shuxin   zheng
4a7dce51ba acl::mbedtls_conf can load three mbedtls dynamic libs 2020-01-06 15:29:03 +08:00
shuxin   zheng
59955b5b23 test acl using mbedtls ok! 2020-01-02 23:29:06 +08:00
郑树新
b2ec46671a build for windows ok 2019-12-20 15:30:02 +08:00
shuxin   zheng
be1ff25ee1 test mbedtls 2019-12-20 15:08:36 +08:00
shuxin   zheng
7c86d76c33 add sslbase_io/sslbase_conf for compatiable with more ssl libs. 2019-12-18 11:22:54 +08:00
shuxin   zheng
c6c9eaa47e add mbedtls into vc projects 2019-12-17 18:30:49 +08:00
shuxin   zheng
6135813d6c add reactor mode for aio_listen_stream 2019-12-12 15:29:58 +08:00
shuxin   zheng
49ef1a29a8 add comments 2019-12-12 10:57:29 +08:00
shuxin   zheng
a0d17357ec add more function for aio_listen_stream class 2019-12-03 14:45:11 +08:00
shuxin   zheng
023cd46ed2 fixed bugs in get_peer()/get_local() in aio_stream class 2019-09-16 21:55:14 +08:00
shuxin   zheng
d1fb7e888a fixed parameters comments warning in headers found by xcode 2019-09-13 19:47:23 +08:00
zhengshuxin
56f66e2688 optimize class variables to decrease the size of class object. 2019-08-20 17:17:37 +08:00
zsxxsz
46b4bcd63c add some functions for DNS operations 2019-08-13 21:55:34 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
498e0537dd add new features in fstream/ofstream/ifstream 2019-07-24 16:12:58 +08:00
zhengshuxin
92ad11180a polarssl_io can be deleted when reference is zero. 2019-07-12 11:05:17 +08:00
zhengshuxin
8280209e71 add acl_vstream_read_peek3 2019-07-08 22:08:26 +08:00
zhengshuxin
87c1bc8028 format c++ code style. 2019-07-07 11:00:12 +08:00
zhengshuxin
55e29c55b3 aio_istream/aio_ostream can be created with socket fd. 2019-06-11 23:16:03 +08:00
zhengshuxin
88b60dfa8a http_aclient ok! 2019-06-05 17:48:52 +08:00