Craig Tiller
a7957f50af
Exclude uds from default hostname tests
9 years ago
Craig Tiller
5ddbb9d405
Allow specific pollers to be woken
...
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).
9 years ago
Nicolas "Pixel" Noble
9a123df2cd
Fixing C/C++ tests.
9 years ago
Craig Tiller
8a67d39ada
Integration compile fix
9 years ago
yang-g
c5eccd45f4
Fix clock type mismatch
9 years ago
yang-g
fc8d8d6a43
add support for detecting spurious outside connection.
9 years ago
yang-g
c9c69e27da
Add reconnect interop test client and server
9 years ago
Craig Tiller
c4b56b67a2
Make passing NULL for host not crash
9 years ago
Julien Boeuf
fe4c3f4f14
Renaming jwt_credentials to service_account_jwt_access_credentials.
9 years ago
Craig Tiller
6999c096d8
Canonicalize metadata keys in core
9 years ago
Julien Boeuf
5029b30d1c
Adding option to force client auth on the server SSL creds.
9 years ago
David Garcia Quintas
8ec09f6530
Added tests (and bugfix) for grpc_compression_algorithm_parse
9 years ago
Julien Boeuf
66a27daef6
Putting the auth metadata processor on the server creds.
9 years ago
Craig Tiller
4a4f1496c1
Rename grpc_channel_create to grpc_insecure_channel_create
9 years ago
Hongwei Wang
479532ab48
Minor fix on uri_parser_test
9 years ago
Craig Tiller
1b22b9db94
Add grpc_call_get_peer
9 years ago
Craig Tiller
698d00c60e
Add ipv4:, ipv6: schemes
9 years ago
Craig Tiller
6a7626c98f
Move alarm subsystem to monotonic time
9 years ago
Craig Tiller
0dc5e6cf16
User agent string support
9 years ago
Hongwei Wang
f0e9fecbe0
Update uri_parser
9 years ago
Julien Boeuf
a87d6c2af6
Cannot figure out server filter logic for error in auth md processing.
...
- Positive tests pass even if we will have to change the interface to
add the processor to the server credentials (will be done in a
separate pull request).
- ASAN leaks for the error case.
- The client should get a GRPC_STATUS_UNAUTHENTICATED as opposed to
GPRC_STATUS_INTERNAL.
9 years ago
David Garcia Quintas
cadbf22467
Removed compression levels from clients and _experimental_'d signature of methods manipulating compression algorithms
9 years ago
Nicolas "Pixel" Noble
aff4f2a0cc
Changing a very long (4000s) deadline to 10s.
10 years ago
Julien Boeuf
ea456fc2bf
Server auth metadata processor.
...
- Right now it is a global function: would be better to have this per
(secure) port.
- Changed the interface of the auth_context slightly to make it more
friendly.
- Positive tests pass. Still need some work on error case (have a
negative case as well).
- Fixing cpp auth context tests so that they use the shiny new C API.
10 years ago
Craig Tiller
1ada6ad8e5
Added connectivity tests, fixed bugs
10 years ago
Hongwei Wang
d423f3c2fd
Fix authority in uri_parser
10 years ago
David Garcia Quintas
e3988dbbbd
Added more tests for GPR_BITCOUNT
10 years ago
David Garcia Quintas
e091af881a
Implementation of the accepted encodings propagation mechanism.
10 years ago
David Garcia Quintas
541d5823d2
rewrote bitcount function as a macro
10 years ago
David Garcia Quintas
6b8d1aef89
rewrote bitcount function as a macro
10 years ago
David Garcia Quintas
b80479ec27
Added population count function
10 years ago
David Garcia Quintas
699b0f999e
Require a pointer + macro arg protection
10 years ago
David Garcia Quintas
ed7e8550f5
Require a pointer + macro arg protection
10 years ago
David Garcia Quintas
305e3bd635
Added bitset macro ops
10 years ago
Robbie Shade
1cef6dccde
Adding 10 client test, fiddling with pollsets
10 years ago
Robbie Shade
4cde25cd01
grpc_udp_server_write method
10 years ago
Craig Tiller
e95933587a
Fix tcp_client_posix_test on mac
10 years ago
Hongwei Wang
d65009d84f
Support JSON format of Zookeeper node.
...
If a node does not contain IP or port, consider its children.
10 years ago
Vijay Pai
d54c3e6b39
clang-format changed files
10 years ago
yang-g
76fcaeeeb5
resolve comments
10 years ago
Nicolas "Pixel" Noble
e1d95d6e98
Adding a handler for abort().
...
We want to have a chance to debug a call to abort() in case we have a debugger attached.
10 years ago
Craig Tiller
ffe27b98b9
Implement test for stack initial push edge
10 years ago
yang-g
be5f059219
Add oauth2_auth_token test case in interop test
10 years ago
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
10 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
Nicolas "Pixel" Noble
717ea0eb74
Install simple Windows exception handlers.
...
Will prevent Windows tests to display a pop-up message in case of a failure. Essential for Jenkins testing.
10 years ago
Vijay Pai
10a6546cb9
Multithreaded test of stack
10 years ago
vjpai
f5d2138389
Test code
10 years ago
Craig Tiller
bd54ec4192
1 != 10
10 years ago
Robbie Shade
4b70e03d00
Store read_cb in one place
10 years ago