What's Changed
Feature:
- Support user interceptor of server @chenBright #2137
- Support TCP heartbeat of client @chenBright #2098
- Support function name in logging @chenBright #2247
- Support server-end progressive reader for http protocol @TangSiyang2001 #2210
- Support new DoublyBufferedData for suspended bthread @chenBright #2225
- Support force SSL for all connections of Acceptor @chenBright #2231
- Support fixed and jittered retry backoff policy @chenBright #2273
- Support release assert @chenBright #2306
Bugfix:
- Fix rdma::GlobalRelease before event dispatcher is stopped @Tuvie #2220
- Fix compiler optimize thread local variable access @ehds #2156
- Fix butex wait_pthread handle EINTR @jenrryyou #2086
- Fix bvar::MultiDimension::delete_stats() may cause core dump @ketor #2237
- Fix compilation errors reported by GCC-13 @adonis0147 #2241
- Fix RDMA device logging @372046933 #2249
- Fix stack buffer overflow issue when calling copy_to_cstr @jenrryyou #2253
- Fix resource leak when there are multiple HCAs @372046933 #2252
- Fix unstable keepalive ut @wwbmmm #2261
- Fix coredump stack uncomplete when usercode throw exceptions @smbzhang #2256
- Fix compilation errors reported by Clang-14 @thorneliu #2243
- Fix missing BAIDU_GET_VOLATILE_THREAD_LOCAL in task group @JimChengLin #2262
- Fix compiler optimize thread local variable access on x86_64 @adonis0147 #2248
- Fix compile warning @cdjingit #2274
- Fix core when ssl is enabled without thread safety guarantees @warriorpaw #2180
- Fix macos ci failed with protobuf version @wwbmmm #2287
- Fix ignore SIGPIPE signal concurrent issue with other library @lrita #2301
- Fix flatmap element space should align with usertype @ehds #2288
Enhancement:
- Support "print all bthread frames" command for gdb bthread stack tool @AIxWall #2217
- Reduce code for operator[] of FlatMap @wy1433 #2202
- Set http default method to "/" @chenBright #2168
- Use Hedron's Compile Commands Extractor for Bazel @372046933 #2250
- Initialize offset of round robin load balancer with a random number @xiaoma2015 #2289
- Support hint size of formatted string for string_printf @chenBright #2270
- Support move constructor for scoped_refptr @byronhe #2284
- Support rvalue task in execution_queue_execute @chenBright #2308
- Support graceful exit gflag for SIGHUP @old-bear #2272
Others
- Improve/add documents by @Huixxi, @chenBright, @infdahai, @372046933, @cdjingit, @ra7more,@Thunderbrook @Xiaoyao708
Full Changelog can be found at: 1.5.0...1.6.0
Thanks to all contributors for the 1.6.0 version!