-
Notifications
You must be signed in to change notification settings - Fork 114
[k2] rpc client API #1635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
T-y-c-o-o-n
wants to merge
61
commits into
master
Choose a base branch
from
n.siniachenko/k2/rpc-client-boost
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[k2] rpc client API #1635
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
a891637
first impl
e9ff082
added kphp rpc client bench
bfad75b
break in switch + different debug exit codes
f8e68a8
null timeout in bench
f6ad7a2
rpc send functions now common functions instead of coroutines
14de242
remove one coroutine on rpc response fetch
b2905d8
removed test trash
689ac2c
error handling
d872d49
rpc_queue_push
71675e1
kphp::rpc::request_info
35393dd
fmt
c26c025
added RpcKind + better docs
d87d381
query_handle
cb2c928
send_and_get_handle
f3bcb05
refactored query_handle a bit
63be316
refactorrr
1195230
k2_rpc_get_response_size() and k2_rpc_fetch_response() now return `EA…
e429646
[EXPERIMENTAL] removed ignore_answer_coroutine
b291078
regularize_extra_headers
4a1c674
added query_handle::wait_for_response
c4a05a2
fixed zeroing query_handle in rpc_queue_push(..)
3d9b41b
insert ignore_answer requests to rpc_query_handles
48077a3
issues
688a5f6
fmt
d6a1093
fmt
a46ce90
refactored kphp::rpc::query_handle
e63879f
removed rpc-query-handle.cpp
7cce3ea
fixed nullptr request_buffer, fixed <=0 timeout handling, error becam…
6b324e5
query_handle: response type now std::span<std::byte>
030b7db
time utils fixes
063caf1
fmt
0a19cd9
fmt
e7d21b7
query_handle -> query; removed error description for query::get_respo…
d6003ac
kphp::rpc::query::get_ready_response() takes templated response_alloc…
2869178
TODO
cb4017c
ResponseAllocator and ResponseDeleter
f619dfd
ResponseBufferProvider; removed query::wait_for_response; returned re…
918e9c3
request_buffer is allocated for requests more than `StringLibContext:…
93cbfed
fmt
23dd2df
fmt
67f393e
fmt
ebc31f7
k2_rpc_fetch_response may return `ENOBUFS`
3c08cd9
fixed issues
edd5bef
better docs
3d27d11
removed extra includes and comments
08997b8
const refs for send functions + better request_buffer workaround
0725fc2
better k2-header.h docs + fixed leaked rpc_responses_extra_info entri…
248415f
II fixes
f051320
h
5bef88c
fmt
63abf8f
reserve dest actors flags header before stiring rpc client request, t…
3f6a1cb
fixed ignored new header offset in request_buffer
2144d79
cleareeeeer
ba1c759
query::response now not a member function, but takes query by value
082ca7e
fmt
55eaee6
fmt
8ca5a7c
AGAIN THIS MISTAKE
4b2294d
self
79fdd40
log returned null from typed fetcher with no rasied error
e30408c
DEBUG LOOOOOOOOOOOGS
d754bbc
returned buffer copying
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.