Li Zhaogeng
05c4f708dc
fix the bug of creating CQs on incorrect comp vector
2020-11-29 20:23:19 +08:00
Li Zhaogeng
e03dfdf3ab
Merge remote-tracking branch 'upstream/master'
2019-09-02 22:02:11 +08:00
zhujiashun
1b90ea18d9
unify dynamic link option in make and cmake
2019-08-26 14:32:29 +08:00
Li Zhaogeng
fe183d7bd5
improve rdma performance for small message
2019-07-14 15:55:46 +08:00
Li Zhaogeng
a4e8b8bae1
merge with upstream
2019-07-13 20:24:46 +08:00
Weibing Wang
078051f9bf
Update license header to Apache
2019-06-20 14:22:57 +08:00
zhujiashun
0bc9eaa363
replace example/partition_echo_c++/server.cpp with that in dynamic_partition_echo_c++
2019-05-31 15:31:36 +08:00
Li Zhaogeng
a2b42f40ee
support aarch64
2019-05-11 09:56:57 +08:00
Li Zhaogeng
0e11f7f041
modify the example/rdma_performance
2019-05-09 09:56:59 +08:00
Li Zhaogeng
5bf565ac82
fix problem of rdma_performance
2019-05-07 10:54:28 +08:00
Li Zhaogeng
b33f712ad4
fix rdma fallback channel
2019-03-06 21:29:08 +08:00
zhujiashun
dbfdc52c73
Fix CMakeLists.txt of example/auto_concurrency_limiter
2019-03-04 19:59:28 -08:00
Li Zhaogeng
38b5b76feb
Merge with updates from baidu-internal and brpc/brpc
2018-12-14 15:17:08 +08:00
gejun
7e4197f7db
fix default protocol in example/grpc_c++/client.cpp
2018-09-30 18:47:55 +08:00
gejun
c5803e77d0
Fix some copyrights
2018-09-30 17:36:11 +08:00
gejun
d02badcf11
Change protocol name from h2c to h2
2018-09-29 22:44:23 +08:00
gejun
f16cb5f8e8
Set http_body_compress_threshold to 0 on gzip & not set content-type
2018-09-29 17:19:14 +08:00
gejun
88ad7672ee
Not set content-length in h2 & change default content-type of h2 to proto
2018-09-28 19:31:54 -07:00
gejun
4a0927af5d
Fix many issues around impl. of grpc
2018-09-28 19:58:05 +08:00
zhujiashun
ee8587ee00
add grpc example Makefile
2018-09-28 15:08:51 +08:00
zhujiashun
eeb0705754
* Do not expose grpc_status and grpc_message to user
...
* Delete trailer map
* Convert H2Error and grpc error to ErrorCode
2018-09-27 18:02:46 +08:00
zhujiashun
3799ed32a5
change project name in example/grpc_c++/CMakeLists.txt
2018-09-27 18:02:46 +08:00
zyearn
5936165506
* server can transfer grpc error code and message
...
* client can receive grpc error code and message
* add percent encode/decode
2018-09-27 18:02:46 +08:00
zyearn
a30eeefdd7
remove grpc_client.cpp
2018-09-27 18:02:46 +08:00
zyearn
4c50ffb48c
add grpc gizp support in req and res
2018-09-27 18:02:46 +08:00
zyearn
e6334e5ce7
add grpc example
2018-09-27 18:02:46 +08:00
gejun
739172aee0
Adjust impl. of OnCompleteAndKeepSocket/OnComplete
2018-09-26 15:51:30 +08:00
zhujiashun
e20c4ef612
remove unnecessary files
2018-09-26 15:50:33 +08:00
zhujiashun
f81cc8d4ee
add grpc client directory
2018-09-26 15:50:33 +08:00
gejun
db844fd99a
Misc improvements on SSL-related code
2018-09-07 19:40:16 +08:00
gejun
c813572db1
Fix compilation issues in examples
2018-09-07 17:00:32 +08:00
gejun
62d0abd0bf
SSL supports NS & connection_group support
2018-09-06 19:43:00 +08:00
TousakaRin
34f3886015
Modify the configuration file of the test case
2018-08-22 19:34:19 +08:00
TousakaRin
6fde5a17d9
Adjust test cases
2018-08-22 19:25:41 +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
TousakaRin
6c2204354b
add gflags for sync-case
2018-08-15 11:52:43 +08:00
TousakaRin
638d4342b2
Fix code style, add new gflags: server_max_concurrency
2018-08-15 11:42:01 +08:00
TousakaRin
1a4489f5bf
Fix bugs in calculating latency and qps frequency inaccuracies
2018-08-15 11:42:01 +08:00
TousakaRin
75cfdf6a81
Add example for auto_concurrency_limiter
2018-08-15 11:42:01 +08:00
Li Zhaogeng
0d63160fe4
improve performance when using huge block for iobuf
2018-08-03 18:13:13 +08:00
Li Zhaogeng
6647007a8c
fix some problems
2018-07-20 15:21:40 +08:00
Ge Jun
508b06f924
update thrift makefile
2018-07-18 03:13:10 -07:00
Ge Jun
ad05b23e5c
remove unused includsion in thrift client
2018-07-18 02:56:41 -07:00
Ge Jun
3fccb30174
fix the bug in SocketMapList that input is not cleared when socketmap is not created & add a multi-threaded client for thrift
2018-07-18 02:55:47 -07:00
Ge Jun
591dae77e1
include boost/make_shared on demand & suppress some strict aliasing warning
2018-07-17 07:44:57 -07:00
Ge Jun
58551f87fb
add server2.cpp which is missed in last commit
2018-07-17 01:41:17 -07:00
Ge Jun
5954859713
Add a proxy example in example/thrift_extension_c++
2018-07-17 01:37:06 -07:00
Ge Jun
515a8d0b9e
1. Add ThriftStub to send and receive native thrift messages & specify method-name directly. As a result, ThriftMessage<T> is removed.
...
2. ThriftFramedMessage (no matter Cast<>-ed or not) can be sent/received as well so that building proxies of thrift is much easier.
3. ThriftFramedMessage::Cast<T> can be called multiple times with reasonable behaviors, even if T is changed.
4. Server-side errors are sent to client as TApplicationException instead of closing the connection.
5. Code in ThriftService::ProcessThriftFramedRequest() can throw exceptions which will be sent to client as errors as well.
6. Simplify ThriftClosure which does not need many stuffs inherited from NsheadClosure.
7. Port protocol-related patches to thrift_protocol.cpp which was changed before the patches.
8. Remove the unnecessary default malloc when constructing TMemoryBuffer.
9. Use TBinaryProtocolT instead of TBinaryProtocol to make read/write non-virtual, and remove the unnecessary shared_ptr on iprot/oprot.
10. request/response must be ThriftFramedRequest when protocol is thrift, which was not checked before.
11. Limit max length of thrift_method_name (to a reasonable large value) so that intermediate buffer can be allocated on stack directly.
12. Make ThriftFramedMessage uncopyable since the TBase* inside does not have a general copy function.
2018-07-16 23:44:22 -07:00
Li Zhaogeng
575c76ecaa
fix some problems according to previous comments
2018-07-14 15:56:18 +08:00
wangxuefeng
bab70ab0ae
Update as comments.
2018-07-12 03:57:58 +00:00