aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/endpoint_tests.c
Commit message (Collapse)AuthorAge
* Update copyrightsGravatar Craig Tiller2016-01-28
|
* Preparatory changes for work sheddingGravatar Craig Tiller2016-01-28
| | | | | | | | - cleanup: change grpc_iomgr_cb_func to take a bool instead of int success - cleanup: follow through with iomgr callback scheduling functions - prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue* functions
* Eliminate gpr_ int types - and insist on C99 variants insteadGravatar Craig Tiller2015-12-22
|
* clang-format all core filesGravatar Craig Tiller2015-09-22
|
* Final patches for renameGravatar Craig Tiller2015-09-22
|
* Move argument passing to start of listGravatar Craig Tiller2015-09-22
|
* Rename initGravatar Craig Tiller2015-09-22
|
* Rename runGravatar Craig Tiller2015-09-22
|
* Move argument passing to start of listGravatar Craig Tiller2015-09-22
|
* Move arguments to the start of listsGravatar Craig Tiller2015-09-22
|
* indent pass to get logical source lines on one physical lineGravatar Craig Tiller2015-09-22
|
* Rename call_list to closure_listGravatar Craig Tiller2015-09-22
|
* Fix testsGravatar Craig Tiller2015-09-22
|
* Call list progressGravatar Craig Tiller2015-09-21
|
* Call list progressGravatar Craig Tiller2015-09-18
|
* CleanupGravatar Craig Tiller2015-09-18
|
* Enable -WconversionGravatar Craig Tiller2015-09-10
|
* Fixed buildGravatar Craig Tiller2015-09-01
|
* Cleaning up Windows endpoint codeGravatar Craig Tiller2015-08-28
| | | | | | - removed the need to track some state - fixed chttp2 transport endpoint shutdown management - made a bunch of tests pass
* Revert "Revert "Refactor Endpoint API""Gravatar Craig Tiller2015-08-27
|
* Revert "Refactor Endpoint API"Gravatar Craig Tiller2015-08-27
|
* Merge github.com:grpc/grpc into endpointsGravatar Craig Tiller2015-08-24
|\
* | Refactor Endpoint APIGravatar Craig Tiller2015-08-21
| | | | | | | | | | | | - Allow reads to complete immediately - Unify read/write signatures - Simplify memory management to allow future optimization work
| * Add a test of non-blocking API behaviorGravatar Craig Tiller2015-08-06
|/ | | | ... also fix things that were broken :)
* Allow specific pollers to be wokenGravatar Craig Tiller2015-07-29
| | | | | | | | | | | | | | | | | | | Currently, if two threads call grpc_completion_queue_pluck on the same completion queue for different tags, there is a 50% chance that we deliver the completion wakeup to the wrong poller - forcing the correct poller to wait until its polling times out before it can return an event up to the application. This change tweaks our polling interfaces so that we can indeed wake a specific poller. Nothing has been performance tuned yet. It's definitely sub-optimal in a number of places. Wakeup file-descriptors should be recycled. We should have a path that avoids calling poll() followed by epoll(). We can probably live without it right at the second though. This code will fail on Windows at least (I'll do that port when I'm in the office and have a Windows machine).
* Move alarm subsystem to monotonic timeGravatar Craig Tiller2015-07-19
|
* Introduce multiple clocks to GPRGravatar Craig Tiller2015-07-01
|
* clang-format affected filesGravatar Craig Tiller2015-06-17
|
* Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-05-24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/core/surface/call.c test/core/end2end/dualstack_socket_test.c test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c test/core/end2end/tests/early_server_shutdown_finishes_tags.c test/core/end2end/tests/graceful_server_shutdown.c test/core/end2end/tests/invoke_large_request.c test/core/end2end/tests/max_concurrent_streams.c test/core/end2end/tests/max_message_length.c test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c test/core/end2end/tests/request_response_with_metadata_and_payload.c test/core/end2end/tests/request_response_with_payload.c test/core/end2end/tests/request_response_with_payload_and_call_creds.c test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c test/core/end2end/tests/request_with_large_metadata.c test/core/end2end/tests/request_with_payload.c test/core/httpcli/httpcli_test.c tools/run_tests/run_tests.py
| * Remove all uses of __FUNCTION__Gravatar Craig Tiller2015-05-24
| |
* | Port endpoint tests to pollsetsGravatar Craig Tiller2015-05-13
|/
* Introduce slowdown factor for unit test deadlinesGravatar Craig Tiller2015-02-25
| | | | Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* run clang-formatGravatar Yang Gao2015-01-26
|
* Use clang-format-3.5Gravatar Craig Tiller2015-01-18
|
* Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
* Remove libevent.Gravatar ctiller2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Remove endpoint/ directories.Gravatar ctiller2014-12-17
Fold endpoint interface into iomgr, move secure_endpoint into security/. This will make it easier for endpoint to rely on some iomgr defined types (like pollset). Change on 2014/12/17 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82338036