-
Notifications
You must be signed in to change notification settings - Fork 1
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: Congyuwang/socket_manager
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: Congyuwang/socket_manager
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 16 commits
- 74 files changed
- 2 contributors
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c7bea11 - Browse repository at this point
Copy the full SHA c7bea11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6c6b4 - Browse repository at this point
Copy the full SHA 7f6c6b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a314494 - Browse repository at this point
Copy the full SHA a314494View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e4cf8f - Browse repository at this point
Copy the full SHA 8e4cf8fView commit details
Commits on Jul 22, 2023
-
* use string_view for on_message * use string_view for msg_sender * use wait_free(1) in sender * simplify write logic * fix bug: wait size larger than buffer size * bump version to v0.3.0
Configuration menu - View commit details
-
Copy full SHA for 6bea8ce - Browse repository at this point
Copy the full SHA 6bea8ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for aabb600 - Browse repository at this point
Copy the full SHA aabb600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f560d0 - Browse repository at this point
Copy the full SHA 8f560d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6104590 - Browse repository at this point
Copy the full SHA 6104590View commit details -
Configuration menu - View commit details
-
Copy full SHA for abd4883 - Browse repository at this point
Copy the full SHA abd4883View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b5e15 - Browse repository at this point
Copy the full SHA 54b5e15View commit details
Commits on Jul 23, 2023
-
Change on_connect API to send sender before calling start (#35)
* return sender by OnConnect callback * update tests * Connection friend MsgSender * ignore all level of .idea * use substr api of string_view in try_send * fast return on empty bytes in send_block api * add submodule concurrentqueue * add an echo-server example
Configuration menu - View commit details
-
Copy full SHA for 22dc0b7 - Browse repository at this point
Copy the full SHA 22dc0b7View commit details
Commits on Jul 25, 2023
-
* return sender by OnConnect callback * update tests * Connection friend MsgSender * ignore all level of .idea * use substr api of string_view in try_send * fast return on empty bytes in send_block api * add submodule concurrentqueue * add submodule concurrentqueue * add an echo-server example * fix an integer cast error * allow on_msg to suspend thus providing back pressure and etc. * fix fall through bug * update tests to async on_message api * make the old api compatible * Revert "update tests to async on_message api" This reverts commit 7aa91dd. * make the old api compatible (fix) * fix missing recv_waker.h * make receiver use shared_ptr for better sharing * add a PENDING const in socket_manager * move a RcvWaker to reduce allocation receiving message * fix copy move semantics * remove allocation in recv_waker * separate Waker class to send_waker.h * add a NoopWaker * use unique_ptr instead of raw pointers * make waker methods private * correctly define move semantics for recv_waker * simplify echo server with new API * add empty RcvWaker * reduce allocation in echo server example * remove unused import * clean aftermerge * remove unused example header * clear up after merging * move submodule queue to tests * add some comment about connect_to_addr * add doc for recv_waker.h * rename waker for sender to SendWaker * add fmt and clippy * rename RcvWaker to RecvWaker * doc recv_waker.rs * some renaming for connection.rs * renaming msg_sender c_api * return 1 instead of -1 to represent error * rename waker and notifier * document async_api module * simplify the async send api algorithm * refactor callbacks and extern_c.rs * cargo fmt * inline some async_ffi functions * cargo fmt * simplify Optional flush duration logic * fix a clippy warning in notifier * document async control flow of send and receive * generate the new c header * add doc for msg_receiver.h * rename recv_waker to waker * default notifier clone/release to noop * rename CMsgSender to MsgSender * rename NoopWaker to NoopNotifier * fix renaming CMsgSender * updating msg_sender interface * update connection h/cc * rename CSocketManager to SocketManager * update socket_manager h/cc * rename recv_waker in ffi * update conn_callback.h * update c_api impl * update tests * remove busy loop test * unify block async send logic * fix CMakeLists.txt * move registration of notifier to start of connection * fix cmake include issue * clarify noop empty waker * update tests and examples * fix potential async test deadlock * improve header doc * remove shared_from_this of connection.h * documenting socket_manager.h memory behavior * update the echo_server example to fix memory leak * add note on Waker resource management * add instructions on memory model * fix the test where send_block might through exception * Add CI for building examples * fix CI macos brew env
Configuration menu - View commit details
-
Copy full SHA for 233ec0a - Browse repository at this point
Copy the full SHA 233ec0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cda811 - Browse repository at this point
Copy the full SHA 5cda811View commit details -
* remove a mis-comment * refactor msg-sender source code * use cbindgen for c++ * implement send_nonblock by chained ring_buf * implement c++ interface for send_nonblock * add tests for send_nonblock * flush if break on sender cmd=None * fix compile bug * remove perf comment
Configuration menu - View commit details
-
Copy full SHA for 04f09cf - Browse repository at this point
Copy the full SHA 04f09cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b0be6f - Browse repository at this point
Copy the full SHA 2b0be6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5d66e - Browse repository at this point
Copy the full SHA 6a5d66eView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.2...v0.3.0