Bright Chen
09141d4d87
Opt contention: support tcmalloc GetStackTrace and reduce hash calculations ( #2488 )
2024-01-17 10:28:21 +08:00
Bright Chen
4357ceeeba
Fix json2pb compile error of examples ( #2482 )
2023-12-27 12:55:02 +08:00
youcheng huang
e1a88638fb
send response之后,request/response对象析构之前执行一些自定义逻辑 ( #2328 )
...
* call_after_rpc_resp
* fix function name & add examples & add ut
* fix mistake
* fix compile error
* fix compile error
* update ut
* complete ut
* update ut
* modify function name
---------
Co-authored-by: yuncheng <yuncheng@pinduoduo.com >
2023-10-25 15:01:45 +08:00
thorneliu
283ac46212
add HTTP server-sent-events(SSE) example in brpc http server
2023-09-07 23:21:44 +08:00
day253
2a42a26296
remove unnecessary libthriftnb
2023-07-24 00:17:02 +08:00
Ran Miller
6ebe2e98f2
delete deprecated logoff_ms gflag in example folder ( #2064 )
2022-12-27 10:26:37 +08:00
果冻虾仁
581c7b1aaa
remove unnecessary semicolon ( #2004 )
...
* example
* src,tool
2022-11-21 10:18:51 +08:00
wangweibing
87e18c6a15
Fix __const__ compile error in gcc version >= 11.2.0
2022-06-07 14:51:21 +08:00
jamesge
e93e0c2afe
fix CMakeList.txt in examples and rename BUILD to BUILD.bazel to avoid conflict with cmake
2020-12-05 14:51:40 +08:00
jamesge
2071a22c7f
Controller::CreateProgressiveAttachment returns intrusive_ptr instead of raw pointer which could be deleted and invalid before usage
2020-07-24 16:04:24 +08:00
jamesge
74310245bf
make by config_brpc.sh shows commands by default, add -s to hide
2020-02-10 17:03:22 +08:00
zhujiashun
2b96d08e94
insert_apache_header
2019-10-25 18:01:21 +08:00
zhujiashun
1b90ea18d9
unify dynamic link option in make and cmake
2019-08-26 14:32:29 +08:00
Weibing Wang
078051f9bf
Update license header to Apache
2019-06-20 14:22:57 +08:00
gejun
d02badcf11
Change protocol name from h2c to h2
2018-09-29 22:44:23 +08:00
gejun
739172aee0
Adjust impl. of OnCompleteAndKeepSocket/OnComplete
2018-09-26 15:51:30 +08:00
gejun
db844fd99a
Misc improvements on SSL-related code
2018-09-07 19:40:16 +08:00
Qihe Bian
d42f35109a
Fix cmake build issue when use this project as a submodule. ( #428 )
...
* Fix cmake build issue when use this project as a submodule.
* Add ignore.
2018-08-19 10:07:11 +08:00
zyearn
06eb03560a
- Remove weak symbol _RegisterThriftProtocol in CMakeLists.txt
...
- find libthrift* in example when using brpc with thrift protocol
enabled
2018-07-06 08:43:32 +08:00
zhujiashun
d2e549af44
add weak symbols _RegisterThriftProtocol compile option to all examples
2018-05-16 17:06:07 +08:00
zyearn
8c374a505d
fix static linking in ex
2018-04-30 09:34:24 +08:00
zyearn
802f8ca0a8
Make Makefile work as well in MacOs
2018-04-30 09:23:07 +08:00
zhujiashun
3a7e8ec67a
Update example/*/CMakeLists.txt as well
2018-04-28 12:30:24 +08:00
Ge Jun
ead663ef60
Merge branch 'master' into cmake_support
2018-04-16 12:41:58 +08:00
zhujiashun
5654319b2a
Fix explicit type conversion from bthread_t to pthread_t in mac
2018-04-13 16:08:53 +08:00
zyearn
91530efc77
Merge branch 'master' of github.com:brpc/brpc into cmake_support
2018-04-12 23:22:37 +08:00
old-bear
3cd47b702b
+ Enable SSL request for single endpoint channel
2018-04-10 14:51:55 +08:00
zyearn
694b0290c9
make examples can be compiled and run
2018-04-08 09:26:45 +08:00
Zhangyi Chen
32719a43f6
Renam libbrpc_static.a to libbrpc.a
2018-01-24 22:57:33 -08:00
gejun
aa93ede672
Make HttpService.Echo in example/http_c++ as http service again
2018-01-22 19:31:48 +08:00
zhujiashun
d9ea91cbfb
remove unnecessary code in example
2018-01-15 10:13:20 +08:00
Ge Jun
50b8e99955
Merge pull request #191 from brpc/cmake_support
...
make lib include bin into $PWD/output & make all example be able to be compiled by default
2018-01-10 11:11:33 +08:00
zhujiashun
b0d31fb6ac
make lib include bin into /home/zhujiashun/brpc/output & make all example be able to be compiled by default
2018-01-09 19:40:01 +08:00
gejun
4642392abc
Replace -std=gnu++11 with -std=c++11
2018-01-07 20:07:54 +08:00
zhujiashun
4eeeeb1964
make all examples compiled alone
2018-01-06 23:06:41 -08:00
zhujiashun
d71fb5e3fe
Improve compatibility & set flags for test
2018-01-05 15:29:42 +08:00
zhujiashun
5a170fe56c
add flag EXAMPLE_LINK_SO
2018-01-02 15:53:25 +08:00
zhujiashun
997522bce8
remove unnecessary find protobuf
2017-12-26 14:47:17 +08:00
zhujiashun
b87dfdbff2
support all compilation features
2017-12-07 15:18:47 +08:00
zhujiashun
e859a21bdc
Merge branch 'cmake_support' of github.com:brpc/brpc into cmake_support
2017-12-07 13:01:58 +08:00
gejun
035cce37ed
Allow dummy_port to be zero and fix an issue on reading from dummy_server.port
2017-12-06 17:56:43 +08:00
zhujiashun
27643b648d
add example support
2017-12-05 07:04:22 -08:00
gejun
472cf747c0
remove -Werror from makefiles of examples and tools
2017-10-26 11:56:27 +08:00
gejun
5b9bbfee3a
add --nodebugsymbols to remove -g
2017-09-23 21:32:03 -07:00
gejun
8ae7b0c898
Decide namespace of gflags in config_brpc.sh
2017-09-19 20:38:38 +08:00
gejun
f0d9173398
CXXFLAGS in examples depend on CPPFLAGS
2017-09-19 19:37:53 +08:00
gejun
dfe659ba36
Work around the issue on fedora 26 that weak impl. of MallocExtension::instance is not overriden by tcmalloc & Macro BAIDU_RPC_ENABLE_HEAP_PROFILER is not needed anymore
2017-09-16 19:33:00 +08:00
gejun
28bcc04d20
more translations in client.md
2017-09-13 19:18:53 +08:00
gejun
b9e6314c39
Examples can link with libbrpc.so
...
Change-Id: I7ac6b4842ae992f95492ef40f7d32ce541026c06
2017-09-11 17:13:14 +08:00
gejun
80f9f2f160
Rename base to butil to avoid potential naming conflicts
2017-09-08 17:17:35 +08:00