Commit Graph

191 Commits

Author SHA1 Message Date
qicosmos 1f1ba5236e
[metric][improve]improve metric (#693) 2024-06-19 10:05:11 +08:00
qicosmos 4f4b010bcc
[metric][feat]improve metrics (#692) 2024-06-14 16:55:12 +08:00
qicosmos ef012e6327
fix url queries (#691) 2024-06-12 18:48:50 +08:00
Brian a66d642f02
Update easylog.hpp (#690) 2024-06-09 18:00:23 +08:00
qicosmos ea0d790355 update version to 0.3.3 2024-06-07 23:21:32 +08:00
qicosmos c0006099ab
[new feature]Add metrics (#674) 2024-06-07 23:15:51 +08:00
saipubw 9d2966424e
[struct_pack] support 256 field (#688) 2024-06-04 16:27:30 +08:00
qicosmos 9a7b36ac0a
fix ssl option (#687) 2024-05-31 15:57:06 +08:00
yinghaoyu 9c7cffe056
[easylog] fix last_tid (#686) 2024-05-29 14:57:00 +08:00
qicosmos 476b5842d4
[struct_pb]Refact struct pb (#680) 2024-05-29 11:43:20 +08:00
saipubw 5f3bd02292
[doc] add coro_rpc doc (#681)
* add coro_rpc doc

* fix doc

* update en doc

* fix code
2024-05-24 10:58:27 +08:00
qicosmos f786c5a8b9
fix and update (#679) 2024-05-21 17:20:30 +08:00
saipubw a41f755d8e
[coro_rpc]rpc client support send_request without wait for response (#672) 2024-05-17 17:59:22 +08:00
qicosmos 6e684c01ef
fix and update (#677) 2024-05-15 17:48:22 +08:00
qicosmos 9968b5b2e9
fix and improve (#673) 2024-05-10 14:18:23 +08:00
qicosmos 13485454ee
revert some code (#671) 2024-04-28 10:23:47 +08:00
qicosmos 1bb022e500
[ylt]Add version (#670) 2024-04-26 13:45:52 +08:00
qicosmos 9c2588b026
[coro_http_server]fix content_view (#668) 2024-04-25 15:27:41 +08:00
qicosmos a7716eae9d
[coro_http]fix chunked and remote address (#665) 2024-04-24 21:03:10 +08:00
qicosmos 47b781824e
[coro_http][fix]coro_http_client tcp_no_delay as default, fix response content view (#664) 2024-04-24 16:08:40 +08:00
qicosmos cc271bddf2
avoid copy headers (#663) 2024-04-23 14:02:01 +08:00
qicosmos 0f05b4fb35
[coro_http][fix][feat]fix and support ws deflate (#662) 2024-04-23 10:40:34 +08:00
qicosmos 9641d2a8d5
[coro_http][fix][feature]coro_http (#661) 2024-04-18 16:16:15 +08:00
qicosmos e6342743f8
fix timeout (#658) 2024-04-15 17:47:47 +08:00
saipubw ab0fb6b4b5
[coro_io] fix client pool slow connect bug (#657) 2024-04-10 18:10:56 +08:00
qicosmos 31b6e46971
do some fix (#656) 2024-04-08 10:33:31 +08:00
saipubw dfe3544cc2
[coro_rpc] simply rpc logic (#653)
* [coro_rpc] simply response mode

* use asio::dispatch instead of asio::post in executor

* coroutine rpc funtion start with delay

* [coro_rpc] disable context<void> as lazy rpc function parameter.

* add support for context_info

* support throw exception to return error. add test.

* fix bug

* add example

* add test for async

* [coro_rpc] refact error handle

* [coro_rpc] context support get_rpc_function_name. add log when rpc error happened.

* move rpc_error to better namespace. add support for rpc function throw rpc_error

* remove support for throw errc/err_code

* fix format

* fix format

* add example

* add support for normal function get context

* fix compile

* fix format
2024-04-03 11:56:27 +08:00
qicosmos 38e2b7bd01
add more restrict for write log with data/str (#652) 2024-03-29 16:57:20 +08:00
qicosmos 119abbc8f7
[coro_rpc/coro_http][feat]support set server address (#649) 2024-03-27 15:38:43 +08:00
qicosmos 83c5dbf642
support lazy callback (#647) 2024-03-25 11:27:54 +08:00
qicosmos b8e130c57f
[coro_rpc][improve]set tcp nodelay (#646) 2024-03-22 10:19:50 +08:00
qicosmos 3b73dfa989
[coro_rpc_client][improve]avoid create timer everytime when call rpc (#643) 2024-03-20 16:21:55 +08:00
saipubw a414eea434
move iguana and cinatra to standalone subdir (#639) 2024-03-19 17:00:57 +08:00
saipubw 6f59fa254a
[struct_pack] fixed serialize std::unique_ptr<T> with T is derived class. (#634) 2024-03-18 15:58:44 +08:00
qicosmos ba4685d98e
allow single arg (#632) 2024-03-18 10:59:40 +08:00
saipubw 06d28e6c04
[struct_pack] fix msvc assert failed when string resize (#631) 2024-03-17 22:22:24 +08:00
saipubw a2b65ab689
[coro_rpc] fix context<T>::get_connection_id (#624) 2024-03-16 15:34:09 +08:00
qicosmos 5f627b73b4
[coro_io][feat]support select coroutine (#620) 2024-03-16 11:36:00 +08:00
qicosmos 076fc86a16
update async_simple 6be48e7b3edde61a8a4e7ca432d25a8d9840153c (#628) 2024-03-16 10:05:13 +08:00
saipubw 244c92a5da
[struct_json] support user-defined serialize/deserialize (#619) 2024-03-05 16:23:09 +08:00
Lingxuan Zuo 14d1323fa6
bazel build support (#613) 2024-03-01 17:21:54 +08:00
qicosmos 6aa85d5240
add virtual destructor (#612) 2024-02-29 18:03:12 +08:00
qicosmos 4592e6eaf4
[coro_http_server][feat]update http server (#611) 2024-02-29 15:31:56 +08:00
saipubw 8fceb3d185
[coro_io] add size() for channel/client_pool (#610) 2024-02-28 16:39:48 +08:00
ggyy a9ccad6855
call coro_rpc function return bool failed crossplatform (#608) 2024-02-25 22:42:12 +08:00
俞航 e352ffa246
[struct_pack][bugfix] fix undefined macro when compiling with standard greater than 20 (#605) 2024-02-24 21:50:53 +08:00
qicosmos 9b12c0e327
[coro_http_server][feat]support reverse proxy (#604) 2024-02-21 09:50:29 +08:00
qicosmos 5389caa911
[coro_io][feat]channel support WRR (#598)
* channel support WRR

* improve

* avoid use same port
2024-02-19 12:26:07 +08:00
saipubw 86e7cfeec6
[struct_pack][bugfix] base class can't optimized as no container type in compile-time. (#599) 2024-02-19 12:24:55 +08:00
qicosmos a920fce8b0
[coro_http_client][bug]fix ssl (#587) 2024-01-31 15:50:41 +08:00