Commit Graph

539 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 7f2568ed24 Merge branch 'main' of https://github.com/alibaba/yalantinglibs into main 2024-06-07 23:29:19 +08:00
qicosmos 03245efb48 doc 2024-06-07 23:28:54 +08:00
qicosmos ea0d790355 update version to 0.3.3 2024-06-07 23:21:32 +08:00
qicosmos c1dcf9f8d7 update version to 0.3.0 2024-06-07 23:20:01 +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 350fbc4352
[no ci] fix doc (#685) 2024-05-27 14:36:34 +08:00
saipubw 2e5396cbc8
[no ci] fix doc (#684) 2024-05-24 12:13:38 +08:00
saipubw ca8f1341bb
[no ci] fix doc (#683) 2024-05-24 11:52:15 +08:00
saipubw 85a0d70bf5
[no ci] fix doc (#682) 2024-05-24 11:25:26 +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 041d9b5a57
fix ci (#667) 2024-04-24 20:19:13 +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 7349bd0db8
[ci][coverage] show details (#659) 2024-04-16 10:34:32 +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 09aefcb51e
[coro_http.websocket]Fix websocket example (#651) 2024-03-29 18:01:23 +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 b487b751a1
[ci][gcc asan]test gcc asan in ubuntu20.04 (#648) 2024-03-25 12:40:44 +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 b7b01c5836
fix install by package manager (#638) 2024-03-19 14:31:26 +08:00
saipubw 288024013e
Release v0.3.1 (#637) 2024-03-19 11:36:25 +08:00
saipubw d8836aafdc
fix cmake option & doc (#636) 2024-03-18 22:54:18 +08:00
saipubw 05daeb27cd
Update CMakeLists.txt 2024-03-18 17:11:42 +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