aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr
Commit message (Collapse)AuthorAge
* clang-format affected filesGravatar Craig Tiller2015-06-17
|
* Fix threading problem on early orphaningGravatar Craig Tiller2015-06-02
|
* Fix TSAN reported errorsGravatar Craig Tiller2015-06-01
|
* Merge branch 'count-the-things' into we-dont-need-no-backupGravatar Craig Tiller2015-06-01
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/core/iomgr/pollset_posix.c src/core/surface/call.c src/core/surface/channel.c src/core/surface/server.c src/python/src/grpc/_adapter/_low_test.py tools/doxygen/Doxyfile.core.internal
| * Merge github.com:grpc/grpc into count-the-thingsGravatar Craig Tiller2015-06-01
| |\ | | | | | | | | | | | | | | | Conflicts: src/core/iomgr/fd_posix.h src/core/iomgr/iomgr.c
* | | Merge branch 'count-the-things' into we-dont-need-no-backupGravatar Craig Tiller2015-06-01
|\| |
| * | Label all iomgr objectsGravatar Craig Tiller2015-06-01
| | | | | | | | | | | | | | | This allows a list of them to be dumped to isolate where memory leaks are occuring.
| | * Comments addressed.Gravatar David Garcia Quintas2015-05-31
| | |
| | * Adapted the following to the new iomgr's cb API:Gravatar David Garcia Quintas2015-05-31
| |/ | | | | | | | | alarm_test, tcp_posix, fd_posix, pollset_posix, credentials, call, channel, server, child_channel
* | Fix memory leakGravatar Craig Tiller2015-05-29
| |
* | Refactor pollset_kickGravatar Craig Tiller2015-05-28
| | | | | | | | | | Allow multiple threads to be polling Remove unnecessary windows stubs
* | 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 fd_posix_test to pollsetsGravatar Craig Tiller2015-05-13
| |
* | Port endpoint tests to pollsetsGravatar Craig Tiller2015-05-13
| |
* | Port tcp_client_posix_test to pollsetsGravatar Craig Tiller2015-05-13
| |
* | Port tcp_server_posix_testGravatar Craig Tiller2015-05-12
| |
* | Initial refactoring of a few testsGravatar Craig Tiller2015-05-11
|/
* Making the gRPC C tests building under Windows.Gravatar Nicolas Noble2015-05-09
|
* Fix test for multiple readsGravatar Craig Tiller2015-04-28
| | | | | | Previously this test assumed all bytes would be read in one request. Also update test to use grpc_init() so that we can enable tracing.
* Merge github.com:grpc/grpc into windows-fixesGravatar Craig Tiller2015-04-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: BUILD src/core/iomgr/tcp_server.h src/core/iomgr/tcp_server_posix.c src/core/iomgr/tcp_server_windows.c src/core/security/server_secure_chttp2.c src/core/surface/completion_queue.c src/core/surface/completion_queue.h src/core/surface/server.c test/core/end2end/tests/cancel_after_invoke.c test/core/end2end/tests/cancel_test_helpers.h tools/run_tests/tests.json vsprojects/vs2013/Grpc.mak
| * Merge branch 'master' of github.com:grpc/grpc into freebsdGravatar Nicolas "Pixel" Noble2015-04-10
| |\
* | | Clean up alarm_test.c includesGravatar Craig Tiller2015-04-08
| | |
| | * Fix server shutdownGravatar Craig Tiller2015-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open. This change: - adds a callback to TCP server shutdown to signal that the server is completely shutdown - wait for that callback before destroying listeners in the server (and before destroying the server) - handles fallout
* | | Fix server shutdownGravatar Craig Tiller2015-04-07
| |/ |/| | | | | | | | | | | | | | | A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open. This change: - adds a callback to TCP server shutdown to signal that the server is completely shutdown - wait for that callback before destroying listeners in the server (and before destroying the server) - handles fallout
| * FreeBSD preliminary work.Gravatar Nicolas Noble2015-03-16
|/ | | | | | | | -) You can't assume bash is installed. Scripts needs to be cleaned out of bashisms. -) You can't assume python is in /usr/bin. Use env instead. -) AF_INET is in sys/socket.h -) Added port_platform's basic structure for FreeBSD, based off Darwin. -) FreeBSD doesn't have and doesn't need libdl for OpenSSL.
* Guard headers tool.Gravatar Nicolas "Pixel" Noble2015-03-01
|
* Introduce slowdown factor for unit test deadlinesGravatar Craig Tiller2015-02-25
| | | | Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
* Merge pull request #592 from ctiller/chex2Gravatar Nicolas Noble2015-02-20
|\ | | | | Fix TSAN reported error in fd_posix.c
* | 32 bit compilation fixes for coreGravatar Craig Tiller2015-02-19
| |
| * Fix a TSAN reported errorGravatar Craig Tiller2015-02-18
|/ | | | | | | | | | We now pass down pointers to closures instead of (callback, arg) pair elements separately. This allows us to store one word atomically, fixing a race condition. All call sites have been updated to the new API. No new allocations are incurred. grpc_fd_state is deleted to avoid any temptation to ever add anything there again.
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* Multi-completion-queue-serverGravatar Craig Tiller2015-02-12
| | | | | | Allow binding a different completion queue to each registered method. This will allow multiplexing for the C++ server between sync & async methods more easily.
* Epoll based multipollerGravatar David Klempner2015-02-10
| | | | | | | | | | | | | | This is a multipoller based on epoll rather than poll. Note that this implementation is aimed at correctness rather than performance, although it should immediately have better scalability to large numbers of FDs, both due to epoll's O(1) sized API and due to not needing to wake up polling threads to do interest set changes. One notable difference here is that we directly attach a wakeup fd rather than using the freelisting kick mechanism that the poll() based implementations use, because modifying the epoll set to use a different kick fd each time isn't free.
* Fix poll_kick_posix_test under asanGravatar David Klempner2015-02-02
| | | | | 1. Init the freelist_mu in the forced-fallback path 2. Free allocated memory in the test_over_free test case.
* Re-enabling errors on warning, disabling unused parameter warning, and ↵Gravatar Nicolas "Pixel" Noble2015-01-30
| | | | fixing all subsequent errors.
* Merge pull request #157 from dklempner/eventfdGravatar Craig Tiller2015-01-27
|\ | | | | Add support for eventfd based kicking on linux.
| * Rename poll_kick_test to poll_kick_posix_testGravatar David Klempner2015-01-26
| |
| * Merge branch 'master' into eventfdGravatar David Klempner2015-01-26
| |\ | | | | | | | | | | | | This includes nuking the special pollset_kick_windows.h, since it is no longer relevant.
| * | Refactor the pipe/eventfd abstractionGravatar David Klempner2015-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the wakeup fd interface, corresponding approximately to the existing Google version, complete with a ported giant detailed usage comment. The implementation has two layers, "specialized" and "fallback". The specialized layer is intended to be a suitable platform specific implementation like eventfd, whereas "fallback" is probably pipe, with runtime detection of whether the specialized version works on this system (currently stubbed out).
* | | run clang-formatGravatar Yang Gao2015-01-26
| |/ |/|
* | Bugfix connection code in testGravatar Craig Tiller2015-01-21
| |
* | Must init iomgrGravatar Craig Tiller2015-01-21
| |
| * Add support for eventfd based kicking on linux.Gravatar David Klempner2015-01-21
| | | | | | | | | | This adds support for eventfd based kicking, with the skeleton of support for runtime selection between eventfds and pipes.
* | Make this socket creation portableGravatar Craig Tiller2015-01-21
| |
* | This field is 8 bits on MacGravatar Craig Tiller2015-01-21
|/
* Cap the size of the poll kick freelist.Gravatar David Klempner2015-01-20
| | | | | This caps the size of the poll kick freelist at the arbitrary value of 25.
* Use clang-format-3.5Gravatar Craig Tiller2015-01-18
|
* Factor out the pollset kicking mechanism and eliminate shardingGravatar David Klempner2015-01-16
| | | | | | | | | This change pulls out a separate pollset_kick module, which currently uses a freelist of pipes dynamically assigned to pollsets when they enter polling rather than the previous racy sharding mechanism. We ultimately may wish to eliminate the dynamic assignment for multipoll sets, but this should be sufficient for the moment.