Commit Graph

491 Commits

Author SHA1 Message Date
HU 70adf8c306 Fix bug butex_wait failed with timeout (#1917)
* Fix bug butex_wait failed with timeout

Co-authored-by: XiguoHu <huxiguo@baidu.com>
2022-09-28 14:12:16 +08:00
chenBright fb619582a0 http response uses brpc error code (#1927)
* http response uses brpc error code

* add gflag for using http error code

* add unit test of http error code
2022-09-26 10:10:22 +08:00
yyweii 7a8b49b4b3 add nacos naming service (#1922) 2022-09-16 18:43:14 +08:00
Shuai Zhang ad20082010 Chore: rework Bazel build system 2022-08-31 11:00:55 +08:00
gejun 261f5b23ca fix some warnings for clang and revert changes on ALIGNAS/ALIGNOF 2022-08-27 13:03:03 +08:00
gejun.0 233f99ff5e fixes for gcc on arm64 2022-08-27 12:05:31 +08:00
Jiashun Zhu f6029736df Fix slow test in brpc_socket_unittest.cpp (#1898) 2022-08-25 10:15:38 +08:00
Jiashun Zhu 3e7eef9810 Merge pull request #1901 from wwbmmm/fix-test-bvar-fail-on-mac
Fix test_bvar fail on mac
2022-08-23 21:34:15 +02:00
wwbmmm 679a93758f Fix test_bvar fail on mac 2022-08-22 11:12:38 +08:00
serverglen a0b670f64b implement bvar::WindowEx and bvar::PerSecondEx (#1603)
* implement bvar::WindowEx and bvar::PerSecondEx

* Update bvar_c++.md

* Update bvar_c++.md

* Update bvar_c++.md

* Update bvar.md
2022-08-16 10:08:41 +08:00
Weibing Wang f303256faa Merge pull request #1608 from serverglen/feature-mbvar
Implement multi bvar feature
2022-08-15 11:20:59 +08:00
Jiashun Zhu 0676bbcd31 Merge pull request #1814 from chenBright/fix_socket_ssl_state
Fix ssl state exception coredump when Dowrite and HealthCheck happen simultaneously
2022-07-21 22:55:21 +02:00
chenguangming 9ca45137bd rename _is_in_socket_map to _is_hc_related_ref_held 2022-07-21 16:49:38 +08:00
chenguangming b87795d9c5 set _is_in_socket_map after insert successfully 2022-07-19 11:45:55 +08:00
wwbmmm 30dfef1665 Fix UDS ut failed on MacOS 2022-07-18 17:55:48 +08:00
chenguangming d54c1b8a11 rename _enalbe_health_check to _is_in_socket_map 2022-07-18 15:07:49 +08:00
KaneVV1 583fe46379 Fix DoublyBufferedData limits by _SC_THREAD_KEYS_MAX (#1838)
* Fix apache#502 DoublyBufferedData limits by _SC_THREAD_KEYS_MAX

* Fix DoublyBufferedData limits by _SC_THREAD_KEYS_MAX
2022-07-18 10:13:32 +08:00
wangweibing f345f528ba Merge branch 'master' into fix-attribute-const 2022-06-09 11:16:01 +08:00
James Ge efa9989e99 Support apple silicon 2022-06-08 16:49:33 +08:00
wangweibing 87e18c6a15 Fix __const__ compile error in gcc version >= 11.2.0 2022-06-07 14:51:21 +08:00
jamesge 958a4c3a0c json2pb::JsonToProtoMessage() supports parsing multiple jsons 2022-06-05 17:59:30 +08:00
Weibing Wang 0db9263b16 Merge pull request #1604 from wasphin/feature/single-repeated-to-array
Add an option to allow serialize/deserialize to/from a json array.
2022-03-30 10:14:16 +08:00
Weibing Wang 8776fa886c Merge pull request #1567 from KaneVV1/master
Fix LA selection runs too long
2022-03-28 14:47:20 +08:00
Weibing Wang d4d98ff556 Merge pull request #1472 from wwbmmm/timeout_deliver
Deliver timeout from client to server for baidu_std protocol
2022-03-28 14:46:19 +08:00
Weibing Wang 44bad72fa5 Merge pull request #1494 from wwbmmm/bthread-inherit-span
Support inherit span on bthread create
2022-03-28 14:44:53 +08:00
Weibing Wang 3adb310d52 Merge pull request #1503 from guodongxiaren/dump_http
support dump and replay for HTTP protocol
2022-03-28 14:14:58 +08:00
Weibing Wang 75f5d3d397 Merge pull request #1560 from wwbmmm/endpoint
Support IPV6 and Unix domain socket
2022-03-28 12:24:44 +08:00
Weibing Wang 866ceea4dd Merge pull request #1468 from serverglen/flat_map_insert
Implement FlatMap insert(const std::pair<key_type, mapped_type>& kv)
2022-03-14 10:21:15 +08:00
serverglen d8520a6766 Update flat_map_unittest.cpp insert test case 2022-03-11 22:27:02 +08:00
Weibing Wang 30c7be5ac8 Merge pull request #1461 from serverglen/server_start
Implement brpc server Start(PortRange, const ServerOptions*)
2022-03-11 19:41:41 +08:00
LorinLee 37a21f44f9 Merge pull request #1709 from TKONIY/master
Fix work_stealing_queue_unittest for ARM.
2022-03-04 16:16:26 +08:00
Yangshen⚡Deng 3e64843d28 Add ; for consistency to origin code. 2022-03-03 21:28:41 +08:00
wangweibing 9948f5f171 Fix unstable UT link error 2022-03-03 08:58:31 +00:00
wangweibing a8b0fc2d25 Fix unstable RecorderTest case 2022-03-02 10:54:24 +00:00
wangweibing c87dfb5d79 Fix LatencyRecorder qps not accurate 2022-03-02 04:26:51 +00:00
Yangshen⚡Deng 2dad0248aa Fix work_stealing_queue_unittest for ARM. 2022-02-27 23:05:57 +08:00
guodongxiaren 600e3dcc27 merge master 2022-02-20 19:31:43 +08:00
HongboLiu b73aa03294 add protobuf_text content-type ut 2022-02-15 20:13:35 +08:00
HongboLiu 91466f0885 add unittest for proto-text content-type 2022-02-15 17:27:20 +08:00
serverglen cacbd03724 Implement multi bvar feature 2021-11-18 12:12:33 +08:00
wxf cec3569e29 Add test case for `pb_single_repeated_to_array' 2021-11-12 18:35:42 +08:00
wxf c0fa0dacf9 Fix a test case on json to pb 2021-11-12 18:35:42 +08:00
yangshuaijie d4b1073be4 Fix LA selection runs too long 2021-09-27 15:29:48 +08:00
wangweibing b28cef8f4b Add test for consistent_hashing LB with IPV6 and UDS 2021-09-15 09:55:20 +00:00
wangweibing 9cc0632097 Add EndPoint test for ipv4 and unix domain socket 2021-09-15 08:07:46 +00:00
果冻虾仁 4ec6658c2c add ut
add ut
2021-09-12 17:35:52 +08:00
guodongxiaren 1d04a276e4 redesign InitSingle 2021-09-02 21:17:59 +08:00
guodongxiaren 5085c5e72b update _hostname to _service_name 2021-08-28 22:20:59 +08:00
guodongxiaren 486de0de2b update PraseHostname && add ut 2021-08-28 17:27:29 +08:00
guodongxiaren e2fee8e5c1 add space for other_valid_char 2021-08-05 23:12:46 +08:00