shuxin zheng
|
6a13e7c3a2
|
make ssl module more easy
|
2020-01-12 19:41:29 +08:00 |
|
郑树新
|
1e56d68828
|
optimize mbedtls_conf.cpp
|
2020-01-08 16:00:41 +08:00 |
|
shuxin zheng
|
b3428a89ed
|
test ssl_server demo
|
2020-01-07 18:45:52 +08:00 |
|
zhengshuxin
|
1d226a31ab
|
test mbedtls
|
2020-01-07 18:41:38 +08:00 |
|
zhengshuxin
|
b8f74995dd
|
test mbedtls demo
|
2020-01-07 18:41:01 +08:00 |
|
郑树新
|
910a313ae2
|
load mbedtls in one or threee libs
|
2020-01-07 18:33:44 +08:00 |
|
zhengshuxin
|
56afc8cf80
|
compiling acl
|
2020-01-07 10:36:29 +08:00 |
|
shuxin zheng
|
07d706f68c
|
test ssl
|
2020-01-06 17:51:33 +08:00 |
|
zhengshuxin
|
045ff7a5da
|
test ssl demo
|
2020-01-06 15:50:03 +08:00 |
|
shuxin zheng
|
4a7dce51ba
|
acl::mbedtls_conf can load three mbedtls dynamic libs
|
2020-01-06 15:29:03 +08:00 |
|
shuxin zheng
|
85cec4e57b
|
test ssl sample
|
2020-01-05 15:41:08 +08:00 |
|
shuxin zheng
|
ddede82757
|
add demo shell
|
2020-01-05 10:37:09 +08:00 |
|
shuxin zheng
|
952a610187
|
test ssl demos
|
2020-01-05 10:32:38 +08:00 |
|
zhengshuxin
|
7f851cc437
|
test mbedtls ok!
|
2020-01-03 17:01:51 +08:00 |
|
zhengshuxin
|
dbad2342d1
|
test mbedtls module
|
2020-01-03 15:57:34 +08:00 |
|
zhengshuxin
|
843001eac0
|
fixed compiling error
|
2020-01-02 23:57:15 +08:00 |
|
shuxin zheng
|
59955b5b23
|
test acl using mbedtls ok!
|
2020-01-02 23:29:06 +08:00 |
|
shuxin zheng
|
be1ff25ee1
|
test mbedtls
|
2019-12-20 15:08:36 +08:00 |
|
shuxin zheng
|
2d1ac25684
|
changes acl_pthread_cond_t for compiling with other library
|
2019-12-17 13:20:55 +08:00 |
|
zhengshuxin
|
abde661bf6
|
test websocket
|
2019-12-13 16:46:28 +08:00 |
|
shuxin zheng
|
6135813d6c
|
add reactor mode for aio_listen_stream
|
2019-12-12 15:29:58 +08:00 |
|
zhengshuxin
|
8bc1bc4c44
|
add demo
|
2019-11-22 10:07:46 +08:00 |
|
zhengshuxin
|
4ac0748114
|
set_frame_masking_key() should be called in http_aclient::ws_handshake() in client mode.
|
2019-09-17 16:51:43 +08:00 |
|
zhengshuxin
|
970620ac85
|
add more log info for event
|
2019-09-08 21:17:46 +08:00 |
|
zhengshuxin
|
1980455b7c
|
fixed bug in http_aclient_ssl sample.
|
2019-09-03 13:15:41 +08:00 |
|
zhengshuxin
|
2b1ccf767c
|
sample/aio/http_client supports HTTP url redirect.
|
2019-08-28 14:55:47 +08:00 |
|
zhengshuxin
|
a87c8d046c
|
support 302, 301 redirect in http module
|
2019-08-28 11:18:18 +08:00 |
|
zhengshuxin
|
fce6ab6d2b
|
add error info when socket operations were failed.
|
2019-08-23 21:20:47 +08:00 |
|
zhengshuxin
|
b601b629e5
|
add acl::acl_cpp_init() for some samples which were needed by Windows OS.
|
2019-08-23 21:16:45 +08:00 |
|
zhengshuxin
|
3295c10aea
|
compiling http_client sample ok on Linux 32 bits
|
2019-08-23 02:42:30 -07:00 |
|
zhengshuxin
|
3a362e1cee
|
change http_client sample
|
2019-08-23 16:28:00 +08:00 |
|
zhengshuxin
|
3eea42ca8a
|
modify http_client sample
|
2019-08-23 15:12:19 +08:00 |
|
郑树新
|
8f4fd32fc0
|
add on_ns_failed() callback for http_aclient when nslookup failed.
|
2019-08-21 17:42:07 +08:00 |
|
zhengshuxin
|
56f66e2688
|
optimize class variables to decrease the size of class object.
|
2019-08-20 17:17:37 +08:00 |
|
root
|
72a5287da5
|
add memory using debug info.
|
2019-08-16 18:17:11 +08:00 |
|
shuxin zheng
|
84ab91ca36
|
optimize samples
|
2019-08-14 16:36:23 +08:00 |
|
shuxin zheng
|
907466e99b
|
sample http_client
|
2019-08-14 15:46:08 +08:00 |
|
zhengshuxin
|
3be918e8c1
|
add one sample for testing connect with same port in one machine.
|
2019-08-14 10:56:27 +08:00 |
|
zhengshuxin
|
a53b9d36ff
|
dns resolving and aio connect are ok when using multiple DNS server.
|
2019-08-13 18:29:40 +08:00 |
|
zhengshuxin
|
e53326af9d
|
DNS searching function acl_dns_lookup() in acl_dns.c can send query to multiple DNS and use the first reached result.
|
2019-08-12 21:49:43 +08:00 |
|
zhengshuxin
|
7d97aaca6f
|
add test case for building binary with minimal size
|
2019-08-12 17:09:32 +08:00 |
|
zhengshuxin
|
7bcb88ae3c
|
optimize websocket handshake.
|
2019-08-09 22:22:55 +08:00 |
|
zhengshuxin
|
9d891a9b79
|
websocket sample testing
|
2019-08-09 21:39:52 +08:00 |
|
zhengshuxin
|
a347debcfa
|
ws key
|
2019-08-09 19:02:38 +08:00 |
|
zhengshuxin
|
6eba8bbafd
|
ws key should be base64 encoded in http_header::set_ws_key()
|
2019-08-09 18:05:51 +08:00 |
|
shuxin zheng
|
c55d1badc7
|
modify sample
|
2019-08-09 13:26:56 +08:00 |
|
shuxin zheng
|
922784168d
|
fixed one bug in events_kqueue.h for time interval computing
|
2019-08-09 11:26:51 +08:00 |
|
zhengshuxin
|
9b0c1cc233
|
test http_client sample
|
2019-08-08 18:03:33 +08:00 |
|
zhengshuxin
|
d1c7ef9562
|
sample test
|
2019-08-08 17:57:45 +08:00 |
|
zhengshuxin
|
7667d4b031
|
add one async http client sample
|
2019-08-08 17:40:16 +08:00 |
|
zhengshuxin
|
7ded499111
|
url_coder supports value is NULL or empty
|
2019-08-08 16:13:05 +08:00 |
|
zhengshuxin
|
bdef51bfc1
|
modify sample
|
2019-08-07 22:00:22 +08:00 |
|
zhengshuxin
|
996b2647c9
|
samples/websocket: add one async websocket sample
|
2019-08-07 21:57:24 +08:00 |
|
zhengshuxin
|
bc2de9f4d1
|
fixed one bug of hdr_can_read() in http_chat_async.c that the connection should be closed when notify callback return -1.
|
2019-08-07 21:41:43 +08:00 |
|
zhengshuxin
|
34a6fce74a
|
compiling error on macos
|
2019-08-07 14:36:09 +08:00 |
|
郑树新
|
9d0bfaa4e7
|
add vc project for http_request sample
|
2019-08-06 14:32:54 +08:00 |
|
郑树新
|
6c9a37e0d2
|
md5 sample can check one file's md5sum
|
2019-08-06 10:26:19 +08:00 |
|
郑树新
|
78a1600b90
|
fixed bug in init_log_mutex() of acl_mylog.c;
fixed bug in atomic_long which can't be used in windows.
|
2019-08-02 19:21:24 +08:00 |
|
郑树新
|
a1ec482d94
|
use acl::atomic_long in DLL on windows
|
2019-08-01 16:19:51 +08:00 |
|
郑树新
|
99c31ee130
|
compiling aio_client_ssl sample ok on windows.
|
2019-07-30 09:44:46 +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
|
c5de28c7ee
|
fixed bug in redis_set::spop
|
2019-07-27 10:08:46 +08:00 |
|
郑树新
|
a62898e157
|
optimize jencode tool
|
2019-07-26 18:30:38 +08:00 |
|
zhengshuxin
|
b4991ecf2c
|
modify wiredtiger sample
|
2019-07-24 16:12:22 +08:00 |
|
zhengshuxin
|
d71ebb011e
|
modify test sample
|
2019-07-23 17:27:17 +08:00 |
|
zhengshuxin
|
92ad11180a
|
polarssl_io can be deleted when reference is zero.
|
2019-07-12 11:05:17 +08:00 |
|
zhengshuxin
|
ee47b25cd3
|
format c code style.
|
2019-07-05 16:23:47 +08:00 |
|
zhengshuxin
|
123328c1af
|
remove unused comments
|
2019-06-24 13:06:06 +08:00 |
|
zhengshuxin
|
1fb167d560
|
remove some useless comments
|
2019-06-24 11:58:19 +08:00 |
|
zhengshuxin
|
cecaee548e
|
format c++ code style.
|
2019-06-16 20:10:40 +08:00 |
|
zhengshuxin
|
d764f984b7
|
fixed compiling problem for some samples.
|
2019-06-14 18:32:12 +08:00 |
|
zhengshuxin
|
24bc9c085f
|
optimize sample http_aclient_ssl
|
2019-06-13 22:05:25 +08:00 |
|
zhengshuxin
|
55e29c55b3
|
aio_istream/aio_ostream can be created with socket fd.
|
2019-06-11 23:16:03 +08:00 |
|
zhengshuxin
|
2faca3ca82
|
modify http_aio_ssl sample
|
2019-06-11 09:37:23 +08:00 |
|
zhengshuxin
|
d51743d80b
|
load libpolarssl.so in sample
|
2019-06-11 09:11:14 +08:00 |
|
zhengshuxin
|
8ab1c2fb6a
|
http_aclient supports unzipping compressed data from server's response.
|
2019-06-10 16:08:21 +08:00 |
|
zhengshuxin
|
7ae938030e
|
test websocket samples
|
2019-06-10 13:00:25 +08:00 |
|
zhengshuxin
|
7d252c27ad
|
format c++ code style.
|
2019-06-09 12:03:10 +08:00 |
|
zhengshuxin
|
bf538f0eba
|
redis ssl sample
|
2019-06-08 14:18:15 +08:00 |
|
zhengshuxin
|
d1afa2a2ed
|
add sample redis_ssl for testing SSL communication with redis server.
|
2019-06-08 14:04:56 +08:00 |
|
zhengshuxin
|
624f828575
|
optimize http_aclient
|
2019-06-06 13:46:23 +08:00 |
|
zhengshuxin
|
3ffb819cd7
|
add one sample for testing http_aclient which support ssl in aio mode.
|
2019-06-05 17:45:12 +08:00 |
|
zhengshuxin
|
288986fdac
|
optimize http module for http request
|
2019-06-04 14:51:21 +08:00 |
|
zhengshuxin
|
3a5d971336
|
acl_dbuf_pool.c: reserve another memory node for improving performance.
|
2019-06-02 23:18:08 +08:00 |
|
zhengshuxin
|
2f18ea1176
|
test dbuf_guard's bug
|
2019-05-31 19:17:12 +08:00 |
|
郑树新
|
9b4d238793
|
compiling ok on vc
|
2019-05-09 14:30:45 +08:00 |
|
zhengshuxin
|
8b77b0456a
|
safety & feature: add nocopyable limit for many class to avoid potential problem
|
2019-05-09 13:57:51 +08:00 |
|
zhengshuxin
|
d62bb45cd6
|
tcp_keeper: fixed one bug in keeper_conn.cpp;
server_socket: remove one constructur method;
|
2019-04-28 16:17:17 +08:00 |
|
zhengshuxin
|
1f2fa117a2
|
add speed checking for wiredtiger sample
|
2019-04-24 16:32:54 +08:00 |
|
zhengshuxin
|
fb629f93bc
|
modify sample's link lib
|
2019-04-17 11:42:37 +08:00 |
|
zhengshuxin
|
85a8557eba
|
add benchmark for roccksdb and wiredtiger.
|
2019-04-04 13:23:22 +08:00 |
|
zhengshuxin
|
1771db6726
|
add sqlite benchmark testing case.
|
2019-04-01 15:20:19 +08:00 |
|
zsx
|
c0437bb1de
|
add sample box which can use acl::mbox, acl::tbox and acl::tbox_array
|
2019-03-14 10:17:36 +08:00 |
|
zsx
|
0dfd2d45c7
|
add tbox_array.hpp and tbox sample.
|
2019-03-13 10:28:51 +08:00 |
|
zsx
|
c6743aaa7f
|
acl_scan_dir.c: the current dir's attribute can be got in scanning process
|
2019-02-13 11:22:31 +08:00 |
|
zsx
|
22ab5bc69d
|
add sample for scan&remove empty directory
|
2019-02-01 18:45:37 +08:00 |
|
zsx
|
64d1c2458b
|
thread::start: add sync start thread way
|
2019-01-30 16:43:02 +08:00 |
|
zsx
|
e82b63b025
|
format code style
|
2018-12-12 11:16:12 +08:00 |
|
zsx
|
b3540ab5df
|
sample
|
2018-12-06 17:04:08 +08:00 |
|
zsx
|
87ba2d6bbe
|
WebSocketServlet sample
|
2018-12-06 16:29:54 +08:00 |
|
zsx
|
66a560e37f
|
fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
|
2018-12-06 15:50:13 +08:00 |
|
zhengshuxin
|
ff5bc053b9
|
redis_stream benchmark testing
|
2018-12-02 20:15:27 +08:00 |
|
zhengshuxin
|
7fbcd4d56b
|
testing acl::redis_stream ok!
|
2018-12-02 14:58:41 +08:00 |
|
zhengshuxin
|
82f6c8cbee
|
testging redis_stream
|
2018-12-01 18:58:04 +08:00 |
|
zhengshuxin
|
fafce8ce67
|
testing acl::redis_stream
|
2018-11-25 23:16:25 +08:00 |
|
zhengshuxin
|
f7af753d9e
|
add one flag when creating fiber_event
|
2018-11-24 11:49:18 +08:00 |
|
zsx
|
5641fc8e3f
|
fixed one compiling problem of scan_dir sample
|
2018-11-16 11:20:06 +08:00 |
|
zhengshuxin
|
29b6fa01b5
|
check add json demo ok!
|
2018-11-15 23:05:00 +08:00 |
|
zhengshuxin
|
7b343621e0
|
after the connection with redis-server is created, the dbnum can be selected in acl::redis_client, acl::redis_client_pool.
|
2018-10-20 22:20:57 +08:00 |
|
zhengshuxin
|
f4ed8742fb
|
fixed bugs in websocket::read_frame_data and WebSocketServlet.cpp.
|
2018-10-20 00:30:02 +08:00 |
|
zhengshuxin
|
b46fea21d4
|
add end_with in acl::string
|
2018-10-07 21:35:46 +08:00 |
|
zsxxsz
|
cb218497b6
|
add new flag to control if disable SO_REUSEADDR when binding the local
listening addr.
|
2018-09-22 09:40:33 +08:00 |
|
zsx
|
4969d4bed9
|
using if_nametoindex in acl_inet_pton
|
2018-09-17 13:11:47 +08:00 |
|
zsx
|
f27af8b424
|
acl support IPV6 is OK now!
|
2018-09-16 21:49:58 +08:00 |
|
zsx
|
f1737e7a92
|
fixed bugs in string::begih_with
|
2018-09-08 21:33:44 +08:00 |
|
zsx
|
ac3bcf1f98
|
fixed bugs in acl::string::begin_with API
|
2018-09-08 13:58:49 +08:00 |
|
zsx
|
2cd040b856
|
improvment the performance of acl::token_tree class;
add benchmark for token_tree.
|
2018-08-20 22:28:27 +08:00 |
|
zsx
|
92615556b4
|
there's some comments error in token_tree
|
2018-08-20 11:07:20 +08:00 |
|
zsx
|
03480089bc
|
fixed some comiling errors.
|
2018-08-19 15:55:54 +08:00 |
|
zsx
|
6f18301ac8
|
add token_tree class for 256-fork matching tree;
format the files with DOS format.
|
2018-08-19 15:31:26 +08:00 |
|
zsx
|
a90ebcf86e
|
there are some changes in the interfaces's meaning of thread_cond::wait, server_socket::accept.
|
2018-08-17 16:50:30 +08:00 |
|
郑树新
|
6176ef4b37
|
add on_connected/on_refused/on_timeout callbacks in connect_monitor
|
2018-06-04 18:00:32 +08:00 |
|
zsx
|
b501d19e1e
|
sqlite lib upgrade to 3.23.1 version
|
2018-05-31 17:10:27 +08:00 |
|
zsx
|
485a13d722
|
add diff algorithm test sample
|
2018-04-19 15:25:03 +08:00 |
|
zhengshuxin
|
b1721868d6
|
sample
|
2018-03-26 08:56:37 +08:00 |
|
zsx
|
69b8095e48
|
add copy overriding in atomic_long
|
2018-03-20 11:54:58 +08:00 |
|
zsxxsz
|
919aabfa9c
|
add redis_sentinel class in redis module
|
2018-03-18 23:43:31 +08:00 |
|
SorataKasugano
|
d06cfbdb8d
|
添加host头域
这个样例不太严谨,没有正确添加host头域到header中,sina返回状态码必然是400。
set_url函数里面没有关于相对路径的host头域处理,可能是疏忽了?
|
2018-02-12 18:52:51 +08:00 |
|
zsxxsz
|
6d9add27bd
|
bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters.
|
2018-02-03 21:27:21 +08:00 |
|
郑树新
|
fa7a71f2fb
|
fiber: add iocp event
|
2018-01-30 19:57:51 +08:00 |
|
zsx
|
57892d3ed0
|
compile caharset sample error on macos
|
2017-12-25 13:57:23 +08:00 |
|
zsx
|
10a3f25932
|
remove one 4.eml file of mime testing because someone thinks it has virus
|
2017-12-21 18:59:49 +08:00 |
|
zsx
|
fa113a12e7
|
acl stream and servers support UNIX domain socket in UDP packet mode
|
2017-12-10 22:23:37 +08:00 |
|
zhengshuxin
|
1050d4e45f
|
event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes.
|
2017-10-08 00:06:12 +08:00 |
|
zhengshuxin
|
03c4161e6b
|
add samples event_mutex to test event_mutex in lib_acl_cpp
|
2017-10-06 23:07:39 +08:00 |
|
zsxxsz
|
27fefa695c
|
fixed compiling error of demos on windows by vc2008
|
2017-09-04 23:22:35 +08:00 |
|
zsxxsz
|
4afb237dd9
|
fixed compiling error by vc
|
2017-09-02 09:42:11 +08:00 |
|
zhengshuxin
|
5291cd0c7a
|
test only
|
2017-09-01 18:59:42 +08:00 |
|
zhengshuxin
|
59a7899fa3
|
add acl::thread_cond testing in sample thread
|
2017-08-22 15:27:37 +08:00 |
|
zhengshuxin
|
8f58d773b4
|
add atomic operation and modify vc projects for adding atomic class.
|
2017-08-18 22:55:31 +08:00 |
|
zhengshuxin
|
dcaec58d47
|
add sample tcp_server & tcp_client in lib_fiber.
|
2017-08-09 16:04:54 +08:00 |
|
zhengshuxin
|
d74d97e3b7
|
add tcp_pool's samples in Makefile
|
2017-08-09 11:59:11 +08:00 |
|
zhengshuxin
|
e981079948
|
tcp_client sample compiling error.
|
2017-08-09 11:51:53 +08:00 |
|
zhengshuxin
|
368b530f7e
|
getopt.h should be included.
|
2017-08-09 11:43:32 +08:00 |
|
zhengshuxin
|
ff985ba347
|
add samples in tcp_pool path for testing the tcp_pool module
|
2017-08-09 10:11:22 +08:00 |
|
zhengshuxin
|
b48627f168
|
add -ldl in some Makefile.in
|
2017-08-07 12:04:56 +08:00 |
|
zhengshuxin
|
53d19b391e
|
acl::polarssl_conf should be created after acl::polarssl_conf::load();
|
2017-08-04 23:13:12 +08:00 |
|
zhengshuxin
|
cedd5b0c18
|
all ssl samples can load libpolarssl.so dynamic.
|
2017-08-04 22:37:00 +08:00 |
|
郑树新
|
710c7f61d7
|
build ok by vc2012.
|
2017-08-04 15:45:17 +08:00 |
|