Nicolas "Pixel" Noble
d86115e2f6
Renaming dual_stack_second_port to sibling.
9 years ago
Nicolas "Pixel" Noble
c6a7c6e02c
Fixing use after free under Posix (was already fixed for Windows.)
9 years ago
Nicolas Noble
8f714620b2
Renaming server_port to grpc_tcp_listener - there's no need for casting...
9 years ago
Nicolas Noble
5eb4e1caef
Adding grpc_tcp_listener as an actual object being returned.
9 years ago
Craig Tiller
6b80d4913b
Edge case cleanup
9 years ago
Julien Boeuf
e32075fd8a
Fixing tests.
9 years ago
Craig Tiller
47b48459f3
Robustness work for lb_policies_test
9 years ago
Julien Boeuf
334314b888
Updating the server1 cert so that it can be used with Go.
...
The encoding of the issuer field in this cert is now a PRINTABLESTRING
as opposed to UTF8STRING in the previous server1.pem which was causing
the Go issue.
Fixes #4086 .
9 years ago
Craig Tiller
892f2d3726
Commentary
9 years ago
Craig Tiller
e9c216ee23
Sending empty trailing metadata to a closed stream is ok - it means close this already closed stream
9 years ago
Craig Tiller
7be556e728
Transport memory management fixes
9 years ago
Craig Tiller
20df14ef6d
Fix flow control for 0-byte messages
9 years ago
Craig Tiller
1726e83fe2
Add a test with a large negative deadline
...
Mirrors a node test, and fix a bug that it found
9 years ago
Craig Tiller
46714f9d51
Fix pollsets on Windows
...
Needed to properly implement pollset reset
9 years ago
Jan Tattermusch
04f4054546
use QueryPerformanceCounter as precise clock for windows
9 years ago
Craig Tiller
4b65b1dec3
Fix for returned status
...
If we already have a status from the wire when we're disconnecting,
leave it in place - don't overwrite it. Fixes disappearing_server_test.
9 years ago
Craig Tiller
5925603101
stream_op cleanup: miscellany
9 years ago
Craig Tiller
c7e1a2a38d
stream_op cleanup: surface layer
9 years ago
Craig Tiller
9d35a1f9ce
stream_op cleanup: transport changes
9 years ago
Craig Tiller
e8b5f627cc
stream_op cleanup: pollset changes
9 years ago
Craig Tiller
48db18f910
stream_op cleanup: iomgr closure, executor changes
9 years ago
Craig Tiller
577c9b2f11
stream_op cleanup: channel, client_config changes
9 years ago
Craig Tiller
0581d129f5
stream_op cleanup: security changes
9 years ago
Craig Tiller
66197ca25d
Fix nap condition for pollset wakeup
...
If:
- one thread issues a kick forcing pollset re-evaluation
- concurrently with a second thread forcing a specific poller to be awoken
And:
- both threads kicks are processed as a single wakeup
Then:
- since we enqueue nothing to the exec_ctx in this situation, we responded to the wakeup by doing another poll until the timeout, ignoring urgent work up the stack
Fix this by flagging that a specific worker was designated to be awoken (since this is a good signal that we really really need to wake up), and use that to still re-evaluate the poll set, but with an immediate deadline so that we fall out of the poll loop as soon as possible.
9 years ago
David Garcia Quintas
6eb3925a70
Added grpc_byte_buffer_reader_readall
9 years ago
vjpai
119c103ab0
Split up into a new service proto, use proper service suffix, add a
...
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
9 years ago
David Garcia Quintas
fbb6b92ea2
Fixed an inexplicable wrong handling of a lock
9 years ago
Julien Boeuf
b73cbc2709
Addressing comments.
...
The composite channel credentials creation does not change the passed-in
channel creds anymore.
9 years ago
David Garcia Quintas
85ccb8cc61
added grpc_client_uchannel_set_subchannel func
9 years ago
David Garcia Quintas
c22adbcd1f
Merged with #3788
9 years ago
David Garcia Quintas
661ad7fc85
We need the iomgr_init for winsocks initialization.
...
Also fixed (thanks @nicolasnoble ) wrong construction of error msg.
9 years ago
Hongyu Chen
738e91e8d1
Fix call data init in census grpc filter.
9 years ago
David Garcia Quintas
706b70f498
Updated Windows resolver
9 years ago
David Garcia Quintas
9e76e7aa3a
removed unused local var
9 years ago
David Garcia Quintas
249e9bf116
Flush exec_ctx work within loop
9 years ago
Vijay Pai
b1004103a8
Stop using atm operations on fd->shutdown since that is already used
...
within fd->mu anyway (and is not the right size for atm in some cases)
9 years ago
Craig Tiller
b8e82670ce
Fix race conditions
9 years ago
Julien Boeuf
26bf71ce37
Fixing mem leak and compilation error in tsan.
9 years ago
Julien Boeuf
4e02e84062
Got the core test passing.
9 years ago
Julien Boeuf
441176d161
Got core to compile (without the tests)
9 years ago
Craig Tiller
8344daa1df
Make getting metadata user data a lock free operation
9 years ago
Craig Tiller
63bda56884
Make metadata unref atomic
...
We used to need to lock the metadata context to unref an mdelem. This
change makes it possible to lock only when the mdelem refcount would
reach zero.
9 years ago
Craig Tiller
8e30e25b14
Fix asan compile error
9 years ago
Craig Tiller
0ba432d445
Move profiling system to gpr
9 years ago
David Garcia Quintas
5994bd167a
Avoid lock/unlock for common client channel pick.
9 years ago
Craig Tiller
cb7bf8a057
Set current worker for longer
...
==> Less self kicking
==> Double performance for sync_unary_ping_pong_test on my machine
9 years ago
Craig Tiller
44011e8ab3
More markup
9 years ago
Craig Tiller
ce1f19e531
More markup
9 years ago
Julien Boeuf
01ac4f0e46
Removing warnings when using boringssl.
...
boringssl and openssl do not have the same method signatures (integer
types differ).
9 years ago
Craig Tiller
3ff2754738
Enable cache for encodings accepted by peer
9 years ago