Craig Tiller
d1bec03fa1
Call list progress
9 years ago
Craig Tiller
33825118df
Cleanup
9 years ago
Craig Tiller
3cd6a5158d
Getting stuff working
9 years ago
Craig Tiller
7d57ba138f
Tests compile
9 years ago
Robbie Shade
e388ed3a45
Remove arguments from on_read in test
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
9 years ago
Craig Tiller
32ca48ce0b
Core compiles with -Wsign-conversion
9 years ago
Craig Tiller
73b6606629
Workqueue: interface, test, and posix implementation
9 years ago
Craig Tiller
f406f6c448
Fixed build
9 years ago
Robbie Shade
c8cb4ed45d
Removed on_connect callback from udp_server_test
9 years ago
Craig Tiller
9f80fcf8e7
Cleaning up Windows endpoint code
...
- removed the need to track some state
- fixed chttp2 transport endpoint shutdown management
- made a bunch of tests pass
9 years ago
yang-g
edd4667348
Reduce a timeout causing overflow
9 years ago
Craig Tiller
ae69ad1bcf
Add a portable test of endpoint pairs
9 years ago
Craig Tiller
b029859e58
Revert "Revert "Refactor Endpoint API""
9 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
9 years ago
Craig Tiller
be95249350
Cleanup test, initialize correctly
...
Test was failing on mac because gpr time code was not initialized. Whilst here, clean up the test so that I can understand it again.
9 years ago
Craig Tiller
592e7f2dd0
Refactor Endpoint API
...
- Allow reads to complete immediately
- Unify read/write signatures
- Simplify memory management to allow future optimization work
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Robbie Shade
00436a256d
Update to latest API changes.
9 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
9 years ago
Robbie Shade
2b10767bf3
Read from the UDP FD, verify number of bytes read
9 years ago
Robbie Shade
aeb386ce7b
Ensure connect happens to server address
9 years ago
Paul Marks
63541a1de1
Return normalized IPv4 addresses from grpc_sockaddr_to_uri().
...
Users of the high-level API should not care whether we're using AF_INET
or AF_INET6 sockets internally.
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).
10 years ago
Craig Tiller
1b22b9db94
Add grpc_call_get_peer
10 years ago
Craig Tiller
6a7626c98f
Move alarm subsystem to monotonic time
10 years ago
Nicolas "Pixel" Noble
aff4f2a0cc
Changing a very long (4000s) deadline to 10s.
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
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
Robbie Shade
4b70e03d00
Store read_cb in one place
10 years ago
Craig Tiller
f1bff01631
clang-format changed files
10 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Craig Tiller
079a11bb9b
clang-format affected files
10 years ago
Craig Tiller
ee98d84a02
Add an fd conservation test to verify that fds actually close
10 years ago
Craig Tiller
9a57633233
clang-format affected files
10 years ago
Craig Tiller
4b678bd722
Fix threading problem on early orphaning
10 years ago
Craig Tiller
0317b3d082
Fix TSAN reported errors
10 years ago
Craig Tiller
fa275a97b9
Label all iomgr objects
...
This allows a list of them to be dumped to isolate where memory leaks
are occuring.
10 years ago
David Garcia Quintas
a30020f009
Comments addressed.
10 years ago
David Garcia Quintas
5f228f5001
Adapted the following to the new iomgr's cb API:
...
alarm_test, tcp_posix, fd_posix, pollset_posix, credentials, call,
channel, server, child_channel
10 years ago
Craig Tiller
2430f5236d
Fix memory leak
10 years ago
Craig Tiller
0c1d27833e
Refactor pollset_kick
...
Allow multiple threads to be polling
Remove unnecessary windows stubs
10 years ago
Craig Tiller
356961916d
Remove all uses of __FUNCTION__
10 years ago
Craig Tiller
69c7092751
Port fd_posix_test to pollsets
10 years ago
Craig Tiller
9d9735f7d9
Port endpoint tests to pollsets
10 years ago
Craig Tiller
cb63a9be76
Port tcp_client_posix_test to pollsets
10 years ago