Commit Graph

532 Commits

Author SHA1 Message Date
serverglen 1a3dcdc1bb mbvar add clear_stats method (#2407) 2023-10-13 10:29:52 +08:00
Bright Chen a55729366c Support pthread mode for ExecutionQueue (#2333) 2023-10-13 10:21:49 +08:00
Bright Chen 25cfdb0830 Thread local without limit by _SC_THREAD_KEYS_MAX (#2296)
* Thread local without num limit

* Thread local without num limit

* Thread local without num limit

* Opt rename
2023-10-13 10:20:41 +08:00
HU 3e87b91da5 Merge pull request #2387 from lhsoft/append_header
use AppendHeader for http2
2023-10-07 10:10:13 +08:00
Bright Chen be19c28e50 Fix HTTP no content of 1xx and 204 2023-09-25 20:14:16 +08:00
Bright Chen fcb483ed4e Fix HTTP HEAD method (#2366) 2023-09-19 20:06:04 +08:00
lhsoft 5f1b3e87dd fix ut 2023-09-19 16:17:17 +08:00
Ran Miller 09acd32715 Server support ALPN with OpenSSL (#2102)
* Server support ALPN with OpenSSL

* Fix SSL unittest compile error

* Add ALPN protocol unittest

* Add ALPN protocol doc
2023-08-30 11:14:03 +08:00
zhaixiaojuan@loongson.cn 0c7f178a38 Fix deleting non existing file in test/iobuf_unittest.cpp when writing to dev_null(#2346) 2023-08-06 18:00:52 +02:00
Bright Chen 491591cb15 Support release assert (#2306)
* Support release assert

* Support release assert
2023-07-14 19:59:49 +08:00
Bright Chen 65b753d1c8 Support fixed and jittered retry backoff policy (#2273)
* Support fixed and jittered retry backoff policy

* Enable retry backoff in pthread

* Support CanRetryBackoffInPthread virtual method

* Add backoff strategy to RetryPolicy

* Only pass Controller param

* Add doc of retry backoff

* Opt retry backoff
2023-07-14 19:59:32 +08:00
Bright Chen 18bb4eb2f5 Support rvalue task in execution_queue_execute (#2308) 2023-07-10 13:04:26 +08:00
Bright Chen e4abb3fab3 Fix typo of WeightedRoundRobinLoadBalancer (#2299) 2023-07-06 10:11:53 +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
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
Bright Chen b36ce2c340 Log function name (#2247) 2023-06-04 23:01:02 +02:00
Bright Chen 105d55e487 string_printf support hint size of formatted string 2023-06-04 15:51:13 +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
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
Jenrry You 32e59ebcd9 Fix butex wait_pthread handle EINTR (#2086) 2023-05-05 14:47:19 +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
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
serverglen 22f107655a bvar add is_hidden 2023-04-12 21:26:03 +08:00
gejun.0 1be060d57e reject initializing FlatMap when nbucket is 0 2023-03-18 13:25:34 +08:00
Yang,Liming 9961be7d7e different method can use different TimeoutConcurrencyConf (#2112) 2023-03-10 10:18:29 +08:00
wwbmmm 96f0f02c72 Revert "Merge pull request #2108 from chenBright/invalid_port"
This reverts commit 14ff36a2cd, reversing
changes made to b502fb7ef1.
2023-02-06 18:09:24 +08:00
ChenBright e75ff7d8e4 check invalid port 2023-02-04 15:43:37 +08:00
Yang,Liming 5283d0d930 add timeout concurrency limiter (#2027) 2023-01-05 11:05:34 +08:00
serverglen a39db73ad6 mbvar support delete_stats and has_stats interface (#2041)
* mbvar support delete_stats and has_stats interface

* Update multi_dimension_inl.h
2022-12-06 13:54:06 +08:00
Tuvie d08e522e23 allow IOBuf::attach_user_data specify any valid address in registered rdma memory region 2022-11-22 21:59:31 +08:00
guodongxiaren 1e4dd9ac62 fix exceptation value for mac ut 2022-10-26 22:56:48 +08:00
wwbmmm 56dfc81b60 Reduce UT log output 2022-10-25 17:20:48 +08:00
Weibing Wang 791516ceb3 Merge pull request #1836 from Tuvie/master
enable brpc use rdma
2022-10-25 13:59:46 +08:00
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
Tuvie 866a9eb617 Merge branch 'apache:master' into master 2022-09-22 23:57:32 +08:00
yyweii 7a8b49b4b3 add nacos naming service (#1922) 2022-09-16 18:43:14 +08:00
Tuvie 546337c236 Merge branch 'master' into master 2022-09-04 18:55:34 +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
Tuvie 568b1ac57a Merge branch 'master' into master 2022-08-15 13:56:25 +08:00