| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|\
| |
| | |
Deliver data up from tcp immediately
|
|\ \
| | |
| | | |
Another round of win32 fixes and documentation.
|
| | | |
|
|/ /
| |
| |
| |
| | |
-) Fixed a few more (much more rare) race conditions on shutdown.
-) Fixed a degenerate case if we create a server but never start it.
|
| |
| |
| |
| | |
Fixing a very edge case where the tcp_client can crash due to race conditions on connection abortion.
|
| |
| |
| |
| |
| | |
-) tcp client and server should no longer starve waiting on orphans
-) proper server shutdown sequence to prevent use-after-free.
|
| |\
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/core/iomgr/tcp_posix.c
src/core/profiling/basic_timers.c
|
| |\ \
| |/ /
|/| |
| | |
| | |
| | | |
Conflicts:
src/core/iomgr/tcp_posix.c
src/core/profiling/basic_timers.c
|
| | |\
| |_|/
|/| | |
|
| | |\ |
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Added ptag ignore annotation threshold
- prefixed everythig with grpc_
- removed spurious annotations in channel_create.c and client_channel.c
- removed stap_probes.h (it's generated from stap_probes.d by make)
- Updated Makefile and its template with the right way to generate stap
probe headers from its .d definition.
|
| | |/ |
|
|/ /
| |
| |
| | |
This commit includes a faulty Makefile to be fixed in a follow commit.
|
| | |
|
|/ |
|
|\
| |
| | |
Fix errors and warnings breaking compilation under GCC+Windows (MSYS2/MinGW)
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fix race on shutdown
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\
| | |
| | | |
Remove the current poller from the watch list to avoid immediately kicki...
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
This is potentially unsafe since checking the deadline involves more than 1 word
read.
|
| |
| |
| |
| |
| | |
attempting
the trylock. This shaves the number of g_mu and g_checker_mu uses dramatically in perf test workload and all tests still pass.
|
| |
| |
| |
| |
| |
| | |
-) Introduce a wait-loop with a 100ms delay on iomgr shutdown, so that background threads have the chance to place last minute callbacks without having to stall for the whole 10 seconds deadline.
-) io completion ports will get notifications on socket shutdowns, so we need to delay their deletions for after we get a notification for them.
-) we need to keep some sense of how many orphan sockets are in, so we can properly collect them - let's not shutdown the iocp loop until after all orphans have been collected.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
|
| |
| |
| |
| | |
it when notifying of an event
|
|/
|
|
|
| |
Use this to relax the acq_loads in some fd_posix assertions. The primary
goal here is to avoid masking potential iomgr races from tsan.
|
|
|
|
|
|
|
|
| |
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.
Issue #231
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
|
| |
|
| |
|