2997 Commits

Author SHA1 Message Date
byronhe 8256f7f0d2 scoped_refptr add move constructor (#2284)
* scoped_refptr add move constructor

* scoped_refptr add move constructor
2023-06-25 17:11:28 +08:00
Weibing Wang 937783ba9a Fix macos ci failed with protobuf version (#2287) 2023-06-25 17:06:31 +08:00
Bright Chen bc6f30deee Force SSL for all connections of Acceptor (#2231)
* Force SSL for all connections

* Force SSL for all connections of Acceptor

* Force SSL option in ServerOptions
2023-06-25 14:35:36 +08:00
Bright Chen 21a6aab1be New DoublyBufferedData for suspended bthread (#2225)
* New DoublyBufferedData for bthread

* Use cond and ref array

* DoublyBufferedData allows bthread suspended

* optimize cond and var name
2023-06-25 14:33:16 +08:00
Siyang Tang 0ef28b0927 Feature: Server-end progressive reader for http protocol (#2210)
* enable serverend progressive reading

* fix reviewed problems

* test and fix

* remove redundant test log

* add has_progressive_read flag

* format
2023-06-25 14:30:05 +08:00
warriorpaw b4fecace38 fix core when enable SSL (#2180) 2023-06-25 14:29:06 +08:00
LorinLee f27fbb4989 Merge pull request #2270 from chenBright/overloaded_string_printf
Support hint size of formatted string for string_printf
2023-06-17 08:02:47 +08:00
LorinLee 4a208a2299 Merge pull request #2274 from cdjingit/fix_cdj
fix compile warning
2023-06-12 19:31:07 +08:00
cdjingit 67fe2bbbcb fix compile warning 2023-06-12 16:43:57 +08:00
jamesge f504c77dd8 Merge pull request #2272 from apache/graceful-quit-on-sighup
Add graceful exit GFLAG for SIGHUP
2023-06-07 23:04:58 +08:00
oldbear d1a2fcfd0c + Add graceful exit for SIGHUP 2023-06-07 18:13:48 +08:00
Bright Chen b36ce2c340 Log function name (#2247) 2023-06-04 23:01:02 +02:00
Adonis Ling 1b486c6f2b fix compiler optimize thread local variable access on x86_64 (#2248) 2023-06-04 22:57:21 +02:00
Bright Chen 997effe2fd format 2023-06-04 15:59:56 +08:00
Bright Chen 105d55e487 string_printf support hint size of formatted string 2023-06-04 15:51:13 +08:00
Bright Chen 72ed304311 Fix typo in string_printf (#2263) 2023-05-23 23:26:41 +08:00
Jim Lin 816484ddc2 add missing BAIDU_GET_VOLATILE_THREAD_LOCAL in task_group.cpp (#2262) 2023-05-23 19:12:29 +08:00
LiuQiang d5327f6885 fix variable [-Wunused-but-set-variable] warnings (#2243) 2023-05-23 09:48:20 +08:00
smbzhang cb7a6ff783 fix coredump stack uncomplete when usercode throw exceptions (#2256) 2023-05-23 09:47:30 +08:00
Weibing Wang 3dbf35b970 Fix unstable keepalive ut (#2261) 2023-05-22 16:05:49 +08:00
372046933 0541066ef0 Use Hedron's Compile Commands Extractor for Bazel (#2250) 2023-05-22 15:49:35 +08:00
Tuvie f4c19e3ca5 Merge pull request #2252 from 372046933/rdma_opt
Fix resource leak when there are multiple HCAs
2023-05-22 13:08:36 +08:00
372046933 281b279479 Update comments 2023-05-20 11:45:18 +08:00
372046933 318114c3a8 Fix duplicate 2023-05-19 10:18:07 +08:00
Jialei Wang 0a4deb1b22 Update comments for load balancer at channel (#2255) 2023-05-18 19:18:39 +08:00
372046933 706547b660 Use first active HCA 2023-05-18 13:12:14 +08:00
372046933 c852c459f9 Fix resource leak when there are multiple HCAs 2023-05-18 13:12:14 +08:00
Jenrry You d3de08179e Fix stack buffer overflow issue when calling copy_to_cstr (#2253) 2023-05-18 10:05:31 +08:00
Yitao Wang bfb26a1da9 Fix typo (#2246)
* Fix typo

---------

Signed-off-by: wangyitao <wangyitao999@outlook.com>
2023-05-17 14:14:43 +08:00
Tuvie fed114a8df Merge pull request #2249 from 372046933/rdma_opt
Correct RDMA device logging
2023-05-15 21:00:25 +08:00
372046933 f124547029 Correct RDMA device logging 2023-05-15 14:45:31 +08:00
caidj da5468a424 Merge pull request #2230 from infdahai/thrift_doc
update thrift_doc
2023-05-12 20:59:40 +08:00
Adonis Ling 44447a551c Fix compilation errors reported by GCC-13 (#2241) 2023-05-11 13:37:45 +08:00
Ketor 86427a50ea Fix possible segment fault in delete_stats() of MultiDimension. (#2237) (#2238)
Signed-off-by: Ketor <d.ketor@gmail.com>
2023-05-08 09:47:55 +08:00
HU 5cc470bde4 merge release 1.5 into master (#2232)
* Update RELEASE_VERSION

* Update CMakeLists.txt

* Update brpc.spec

* Remove wordexp

---------

Co-authored-by: wwbmmm <wwbmmm@163.com>
2023-05-05 14:49:38 +08:00
Jenrry You 32e59ebcd9 Fix butex wait_pthread handle EINTR (#2086) 2023-05-05 14:47:19 +08:00
clundro 28b5322feb update thrift_doc
use `-Wno-error` to ignore the diagnose info.

Signed-off-by: clundro <859287553@qq.com>
2023-04-30 03:30:04 +08:00
Bright Chen a0a79378d9 Add http error code doc (#2224) 2023-04-28 09:48:13 +08:00
Bright Chen ec11bb3940 Support TCP heartbeat of client (#2098)
* support TCP heartbeat of client

* optimize keepalive code & add UT

* optimize keepalive code

* fix keepalive UT

* use PLOG instead of LOG
2023-04-26 15:45:56 +08:00
Bright Chen 569464694b Support user interceptor of server (#2137)
* Support user interceptor of server

* Optimize interceptor unittest

* Optimize interceptor

* interceptor return quickly
2023-04-26 15:45:32 +08:00
DongSheng He 37c31fb9ce fix compiler optimize thread local variable access (#2156)
* fix compiler optimize thread local variable access

* change __thread to BAIDU_THREAD_LOCAL

* Add NOT_ALLOW_OPTIMIZE_THREAD_LOCAL_ACCESS according to compiler and arch

* move thread local access optimization condition to thread_local.h
2023-04-26 15:45:10 +08:00
Bright Chen 8f4dd6396b Set http default method to "/" (#2168) 2023-04-26 15:44:49 +08:00
王勇 64bc8d9c32 refactor: reduce code for operator[] of FlatMap (#2202) 2023-04-26 11:32:10 +08:00
AIxWall e5d81e91bd Update gdb_bthread_stack.py (#2217)
add "print all bthread frames" command
2023-04-26 11:25:53 +08:00
HU 246b19f814 get ride of the annoying replacement work when releasing a new version of brpc by using envs (#2219)
Co-authored-by: Hu <hu@Hus-Mac-mini.local>
2023-04-26 11:21:51 +08:00
Xiaofeng Wang 31a162bfdd DISCLAIMER has been removed after graduating 2023-04-24 14:45:56 +08:00
Bright Chen 1636f9c673 Add performance unittest of DoublyBufferedData (#2207)
* Add performance unittest of DoublyBufferedData

* Modify DBD during reading
2023-04-23 11:43:26 +08:00
Tuvie 80a4906b97 avoid rdma::GlobalRelease before event dispatcher is stop (#2220) 2023-04-23 10:50:08 +08:00
LorinLee c67e2145c2 Merge pull request #2218 from wwbmmm/remove-wordexp
Remove wordexp
2023-04-22 11:02:36 +08:00
wwbmmm 49038448a7 Remove wordexp 2023-04-21 19:21:08 +08:00