Commit Graph

539 Commits

Author SHA1 Message Date
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
qicosmos ac54ad04b1
[ci][fix]try to fix ci (#626) 2024-03-16 09:12:11 +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
qicosmos d28cd6725d
[no ci]fix link (#609) 2024-02-28 10:06:46 +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
saipubw b27fadf78c
[no ci][doc] fix tab (#603) 2024-02-20 12:56:05 +08:00
saipubw 437334424f
[cmake][doc] rename cmake option, export it to find_package(), add doc. (#601) 2024-02-20 12:52:32 +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
PikachuHy 1b5f5199d6
export cmake option when developer use CMake FetchContent (#591)
For example, use the following cmake config
```
include(FetchContent)
FetchContent_Declare(
        yalantinglibs
        GIT_REPOSITORY https://github.com/alibaba/yalantinglibs.git
        GIT_TAG xxx # use the least commit id
        GIT_SHALLOW 1 # optional ( --depth=1 )
)
FetchContent_MakeAvailable(yalantinglibs)
add_executable(demo main.cpp)
target_link_libraries(demo PRIVATE yalantinglibs)
```

you can use `cmake -DENABLE_STRUCT_PACK_UNPORTABLE_TYPE=ON ..`,
the option `ENABLE_STRUCT_PACK_UNPORTABLE_TYPE=ON` will be used when building yalantinglibs
2024-02-05 11:30:33 +08:00
qicosmos a920fce8b0
[coro_http_client][bug]fix ssl (#587) 2024-01-31 15:50:41 +08:00
qicosmos 06103b536f
[string_resize][bug]fix resize (#586) 2024-01-30 17:14:37 +08:00
qicosmos f27793b95e
[ci]test coverage (#585) 2024-01-30 16:29:30 +08:00
qicosmos d768e13687
[coro_http_server][feat]support gzip (#584) 2024-01-30 12:04:34 +08:00
qicosmos 638c4b2ec9
fix coverage (#582) 2024-01-30 11:12:44 +08:00
bbbgan 383ba03de0
[struct_json, struct_yaml][feat]support escape during serialization (#581) 2024-01-29 11:40:20 +08:00
saipubw c8ff3f9935
[no_ci][struct_pack][doc] update struct_pack document (#579) 2024-01-26 16:06:42 +08:00
qicosmos 888c8a7f2d
Update version 2024-01-26 14:00:04 +08:00
qicosmos af945af6de
[coro_http_server][feat]update coro_http server (#578) 2024-01-26 13:57:39 +08:00
qicosmos 679cbac8f3
using namespace alias to simplify importing iguana (#575) 2024-01-22 15:46:06 +08:00
saipubw b7ec8af03c
[coro_io] add size() for channel (#572) 2024-01-19 16:17:21 +08:00
qicosmos 9469e9fd97
[coro_http]update and fix (#571) 2024-01-17 19:57:27 +08:00
saipubw 63bfdbeae1
[struct_pack][breakchange] use struct_pack::err_code instead of struct_pack::errc as return value (#566) 2024-01-17 18:10:56 +08:00
qicosmos cf8aca2b1c
[no ci]fix doc link (#570) 2024-01-16 17:27:41 +08:00
qicosmos ac085d9b98
[no ci] fix doc (#569) 2024-01-16 15:52:00 +08:00
qicosmos 44ac4bf7c4
update coro_http doc (#568) 2024-01-16 14:49:45 +08:00
qicosmos 55a637285a
[coro_htttp][feat]update coro_http (#567) 2024-01-16 14:01:31 +08:00
qicosmos aa43023f52
[coro_file][bug]Fix coro file (#565) 2024-01-11 16:31:23 +08:00
saipubw c7bbc44b54
[struct_pack][fix] fix undef macro __has_feature (#564) 2024-01-11 14:25:16 +08:00
saipubw 2a53295012
[struct_pack][doc] fix cnapi document (#563) 2024-01-11 12:30:52 +08:00
saipubw bffaf8f886
[struct_pack][fix] fix benchmark (#561) 2024-01-10 20:28:39 +08:00
saipubw 534136f262
[struct_paack][fix] fix size_info operator + & namespace (#560) 2024-01-08 15:15:33 +08:00
saipubw 3d8252fee1
[coro_rpc][fix] keep protocol compatible/use context<T>::tag() instead o… (#555) 2024-01-03 14:08:48 +08:00
qicosmos 73a0016da9
[coro_http][improve]Remove shared ptr, improve request ssl (#558) 2024-01-03 11:54:36 +08:00
saipubw 59bbecfc00
[struct_pack] enhance struct_pack::write/read/get_write_size (#551) 2023-12-28 16:50:16 +08:00
qicosmos 08d0c6d962
[coro_http_server][feat]Support multipart (#549) 2023-12-28 09:51:04 +08:00
saipubw 5272b07651
[coro_rpc][fix] fix coro_rpc_server default constructor (#545) 2023-12-26 16:29:58 +08:00
qicosmos d8ce57ff79
[coro_rpc]Fix for clang (#544) 2023-12-26 16:29:31 +08:00
saipubw 0580035964
[coro_rpc][breakchange] change err_code to 16bit (#542) 2023-12-26 15:34:47 +08:00
saipubw d669b58cb8
[struct_pack][fix] fix bug of struct_pack::write (#537) 2023-12-26 15:01:09 +08:00
qicosmos a21a606dfc
[coro_http_client][improve]Improve ssl (#540) 2023-12-25 14:47:24 +08:00