Commit Graph

1795 Commits

Author SHA1 Message Date
zsx
46f12d39ca using libfiber.h for C and libfiber.hpp for C++ 2018-08-19 23:03:39 +08:00
zsx
e4a342b5f4 merge from libfiber 2018-08-19 22:47:26 +08:00
zsxxsz
001dd3f0eb add create_delimiters_tab/free_delimiters_tab in class token_tree. 2018-08-19 22:36:18 +08:00
zsx
03480089bc fixed some comiling errors. 2018-08-19 15:55:54 +08:00
zsx
0a24f81948 add tbox, token_tree into vc projects and xcode project. 2018-08-19 15:45:09 +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
zhengshuxin
e5b554930b some samples of fiber should be compiled by c++11 compiler. 2018-08-10 21:02:14 +08:00
zhengshuxin
820a5c0b61 building 2018-08-08 16:50:43 +08:00
zhengshuxin
ae7ce4ee23 compilie dns.c module of lib_fiber on low version gcc 2018-08-08 16:34:28 +08:00
zsx
fd30abd5f3 modify Makefile 2018-08-08 14:08:43 +08:00
zhengshuxin
155fc3ba7f CMakeLists in lib_acl adding gcc version checking. 2018-08-08 14:05:29 +08:00
郑树新
4141daf0f0
Merge pull request #122 from jiangzhuti/master
fix spelling mistake.
2018-08-08 11:57:36 +08:00
zsx
e8fad9062a fixed some compiling warning 2018-08-08 11:45:37 +08:00
Li Qiang
65f7adf0a4 fix spelling mistake. 2018-08-08 10:46:18 +08:00
zsx
76b6bd1086 bugfix: there's one bug in db_mysql::sane_mysql_query when one connection lost and the db handle be set NULL, we should re-connect. 2018-08-07 22:25:12 +08:00
zhengshuxin
9eee816620 optimize the memory size of ACL_VSTRING, ACL_VBUF and ACL_JSON_NODE 2018-08-07 10:58:00 +08:00
zhengshuxin
99aec2e3ea optimize the space using for ACL_JSON, ACL_VSTRING, ACL_VBUF 2018-08-06 23:16:00 +08:00
zsx
4dc4e2cb18 bugfix: json parse should not ignore string value begin with space 2018-08-03 11:04:36 +08:00
zsx
f3f8a5f007 add one sample for testing json serialization. 2018-08-02 23:13:38 +08:00
zsx
9d1c2e850b bugfix: json parser gson serialization can't handle empty array object. 2018-08-02 23:00:22 +08:00
zsx
6f304c64b6 fixed one bug in app/wizard/tmpl/http/http_servlet.cpp 2018-07-31 10:56:44 +08:00
zsx
85d77fe96c code style 2018-07-29 18:57:47 +08:00
zsx
2e529a4e71 fixed one bug in acl::tbox 2018-07-27 16:27:20 +08:00
zsx
0da7b9bd8a fixed one bug in tbox 2018-07-27 16:26:27 +08:00
zsx
2843c3197d tbox: support transfering NULL message 2018-07-27 13:26:07 +08:00
zsx
0c7b9b420e bugfix: json's serialization can't support double type with the integer type;
feature: add methods in acl::string which can use std::string.
2018-07-24 18:45:51 +08:00
zsx
581677bffc There is one bug in acl::HttpServlet which session will not be freed 2018-07-10 21:37:25 +08:00
zsx
13ae6f9007 add file lock in acl::fstream 2018-07-05 14:23:45 +08:00
zsx
87ba0c1f80 add try_lock in acl::fstream 2018-07-05 14:14:06 +08:00
zsx
37b326bd44 add file lock method in acl::fstream 2018-07-05 13:56:10 +08:00
Charlie Root
82708780d8 fixed one compiling error for freebsd8 by jjx 2018-07-01 22:09:12 +08:00
zsx
33a4bdbb36 acl::thread's default status been set has been changed from detachable to joinable. 2018-06-29 09:42:27 +08:00
zhengshuxin
80449010bb add tbox.hpp into vc's projects 2018-06-28 22:27:35 +08:00
zhengshuxin
349b3bb728 tbox was rewritten with C++ template class 2018-06-28 21:40:24 +08:00
zhengshuxin
2aa9e0748d rewrite tbox with pure C++ template class 2018-06-28 21:04:54 +08:00
zsx
89e7df6406 there is one compiling error in serialize.hpp 2018-06-25 10:32:14 +08:00
zsx
2dd199ae67 add serialize.hpp that users can use gson module more easily. 2018-06-25 10:18:09 +08:00
zsx
16f5b7f964 thread_cond: compiling error for wait overriding 2018-06-19 18:22:46 +08:00
zsx
913f5bb745 release 3.4.1-6 2018-06-15 16:09:21 +08:00
zsx
c6d400940a Merge branch 'master' of github:zhengshuxin/acl into github-zsx-master 2018-06-15 15:34:29 +08:00
郑树新
fc8cbb7eea compiling warning by vc because the utf-8 charset 2018-06-15 15:33:37 +08:00
zsx
96d50fde34 Merge branch 'master' of github:zhengshuxin/acl into github-zsx-master 2018-06-15 15:29:32 +08:00
zsx
72f3d59b79 thread_cond::wait add locked parameter for one locking condition 2018-06-15 15:27:59 +08:00
zsx
6caa04227d thread_cond::wait add locked parameter for one locking condition 2018-06-15 15:25:09 +08:00
zsx
d0d856c33f check_client: just choose one from on_refused and on_timeout to report connection status 2018-06-05 14:42:35 +08:00
zsx
37766ec612 fixed one comiling error for connect_monitor 2018-06-05 14:16:55 +08:00
zsx
bd32773edc connect_monitor: change params for on_refused and on_timeout methods 2018-06-05 14:09:46 +08:00
zsx
e4061f8f82 connect_monitor: add three callback for application to handle 2018-06-04 18:11:43 +08:00
郑树新
6176ef4b37 add on_connected/on_refused/on_timeout callbacks in connect_monitor 2018-06-04 18:00:32 +08:00