Commit Graph

2141 Commits

Author SHA1 Message Date
zhengshuxin
25aee77809 taskq sample is ok 2019-08-11 15:49:11 +08:00
shuxin   zheng
639501690a some samples can't run on MacOS 2019-08-11 15:22:10 +08:00
shuxin   zheng
8d96beb9b0 format code 2019-08-11 11:12:39 +08:00
shuxin   zheng
574800f456 event_kqueue.c->kevent_fflush should use hooked API __sys_kevent 2019-08-11 11:10:43 +08:00
zhengshuxin
03896a6a12 websocket key for server side 2019-08-09 22:36:54 +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
a43648f379 ws_key created 2019-08-09 18:50:10 +08:00
zhengshuxin
4bd36703b0 ws key 2019-08-09 18:22:35 +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
e94f0f8a76 rlease 3.5.0-8 version 2019-08-08 16:19:13 +08:00
zhengshuxin
7ded499111 url_coder supports value is NULL or empty 2019-08-08 16:13:05 +08:00
zhengshuxin
0c4901f531 fixed one bug in hooked API sleep in io.c 2019-08-08 14:33:32 +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
07601d5664 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:45:20 +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
郑树新
d9e2cf574a add get_status() method in http_header.hpp for getting the http response
status from http server
2019-08-07 17:16:14 +08:00
zhengshuxin
34a6fce74a compiling error on macos 2019-08-07 14:36:09 +08:00
zhengshuxin
a186db64f8 fixed compiling error on maxos 2019-08-07 14:30:12 +08:00
zhengshuxin
e20a39ebef fixed one compiling error on macos 2019-08-07 14:26:24 +08:00
zhengshuxin
1eadcff994 fixed compiling error when using polarssl with static library 2019-08-06 18:23:32 +08:00
zhengshuxin
0957cb2fd5 acl_mylog.c: fork_in_child() using thread_mutex_unlock other than init_log_mutex 2019-08-06 14:52:31 +08:00
郑树新
9d0bfaa4e7 add vc project for http_request sample 2019-08-06 14:32:54 +08:00
zhengshuxin
8360da2485 fixed one bug in acl_mylog.c 2019-08-06 14:09:30 +08:00
zhengshuxin
42d2bd5684 fixed one bug in hooked API gettimeofday for precision. 2019-08-06 10:28:31 +08:00
郑树新
6c9a37e0d2 md5 sample can check one file's md5sum 2019-08-06 10:26:19 +08:00
zhengshuxin
98d25b69be release 3.5.0-6 2019-08-02 19:42:27 +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
郑树新
272727f104 add ACL_CPP_API on acl::atomic 2019-08-01 16:27:02 +08:00
郑树新
a1ec482d94 use acl::atomic_long in DLL on windows 2019-08-01 16:19:51 +08:00
zhengshuxin
bb736a7d7a format code. 2019-08-01 11:17:30 +08:00
zhengshuxin
df843708f8 format code style 2019-07-31 22:06:54 +08:00
zhengshuxin
85812e6f1c improvement ring's performance 2019-07-31 22:00:41 +08:00
zhengshuxin
a0b258eb28 test gettimeofday ok 2019-07-31 16:32:17 +08:00
zhengshuxin
0ee5867c9d add one sample for testging gettimeofday 2019-07-31 16:31:36 +08:00
zhengshuxin
d8d624ee98 use utf8 for text files. 2019-07-30 23:52:48 +08:00
zhengshuxin
b02dfd34c6 speedup gettimeofday() by using some asm codes from DPDK 2019-07-30 23:48:25 +08:00
zhengshuxin
f634862921 add benchmark for task queue, taskq is from TDEngine. 2019-07-30 18:15:11 +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
7ad30b164f modify server template in wizard for supporting IPV6 2019-07-27 19:32:56 +08:00
zhengshuxin
473e8489ab change the configure files from wizard for supporting IPV6 2019-07-27 19:28:22 +08:00