Craig Tiller
91031dacb1
Changes to exec_ctx/closure/combiner/workqueue interfaces
...
- make closures know where they should be executed (eg, on a workqueue,
or a combiner, or on an exec_ctx)
- this allows removal of a large number of trampoline functions that
were appearing whenever we used combiners, and should allow for a much
easier interface to combiner locks
8 years ago
Mark D. Roth
96ba68d7cd
Fix more allocation bugs.
8 years ago
Muxi Yan
cf6eaa7071
Add <string.h> to test_config.c
8 years ago
Craig Tiller
96583a39a9
Remove file dependency to simplify build graph
8 years ago
Craig Tiller
f2876ea1e0
Up timeouts for poll-cv polling strategy, seems to make things more stable
8 years ago
David Garcia Quintas
8fe2a4285c
clang-format
8 years ago
Paul Marks
366a0515c9
port_posix: use IPv4+IPv6 sockets to check for a free port.
...
This allows the port picker to function across dual-stack and
IPv4/IPv6-only environments.
For a port to be considered available, the kernel must support at least
one of (IPv6, IPv4), and the port must be available on each supported
family.
Also use the bool type where feasible.
This is based on http://cl/97155408 (for those who can read it.)
8 years ago
Craig Tiller
a947f1c32e
Make resource_quota a real object
8 years ago
Yuchen Zeng
68413c221e
Remove GRPC_SOCKET
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
618e67d655
s/GPR_SLICE/GRPC_SLICE/g
8 years ago
Craig Tiller
b37d53ebc0
Bulk update #includes
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Yuchen Zeng
e5ec9ac9e2
Add grpc_endpoint_get_socket and GRPC_SOCKET
9 years ago
Craig Tiller
afcc8752f3
clang-format
9 years ago
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
9 years ago
murgatroid99
aa9c578b07
Clean up code after merge with master
9 years ago
murgatroid99
2c287ca750
UV tests pass on linux
9 years ago
murgatroid99
c36f6ea745
Compile and link core tests with libuv
9 years ago
Craig Tiller
08d297e375
Make all tests build again
9 years ago
Craig Tiller
ef6b97659e
Add tracing, fix some transport bugs wrt buffer_pools
9 years ago
Craig Tiller
ed9dc8d956
Fix leaks
9 years ago
Craig Tiller
4b3b5d0e82
Fixes for destruction
9 years ago
murgatroid99
dedb923b6e
Clang format
9 years ago
Michael Lumish
77c6ccef18
Updated changes for Windows, removed unistd.h from test files
9 years ago
Craig Tiller
61ecb9259b
TCP buffer pool integration done
9 years ago
Craig Tiller
d4673484c7
Update tests
9 years ago
murgatroid99
7871f736ce
Remove sockaddr type structs and socklen_t from internal core APIs, update POSIX tests
9 years ago
murgatroid99
623dd4f556
Renamed GPR_ constants to GRPC_ in iomgr/port.h
9 years ago
murgatroid99
5407089b37
Separate out iomgr-specific constants into a separate header
9 years ago
David Garcia Quintas
8c5424f0d5
added gpr_types.h
9 years ago
Craig Tiller
5ca7e47493
Merge pull request #6737 from ctiller/delayed-write
...
Delay beginning most writes until we enter poll()
9 years ago
Craig Tiller
70bd4839bc
Allow returning a workqueue somehow associated with an endpoint
9 years ago
Craig Tiller
e63246d100
clang-format
9 years ago
Craig Tiller
8da8511762
Expand corpus, make one-shot runners not self-check leaks (to give ASAN a chance)
9 years ago
David Garcia Quintas
c4d5112719
moar renamings
9 years ago
David Garcia Quintas
2a50dfefdc
s/grpc_pops/grpc_polling_entity
9 years ago
Craig Tiller
77c983dc87
clang-format
9 years ago
Craig Tiller
332f1b35d5
Rename functions
9 years ago
Craig Tiller
29dc490b94
clang-format
9 years ago
Craig Tiller
644da98573
Fixes
9 years ago
Craig Tiller
8517886c6a
Move load_file into iomgr
9 years ago
Craig Tiller
7a1a389062
Fix compile errors
9 years ago
Craig Tiller
9be075c911
Fix leak in port deallocation
9 years ago
Craig Tiller
3b842de003
Fix leak in dualstack_socket_test
9 years ago
Craig Tiller
cf2cce661d
Bug fixes
9 years ago
David Klempner
948afddffe
Run clang-format against port_posix.c and port_windows.c
9 years ago
David Klempner
c7614cf277
Fix declarations in port.h to not be ambiguous in C due to K&R.
...
Also actually add the port parameter to grpc_recycle_unused_port.
Also remove the downsizing gpr_realloc in the recycle codepath, which is
unnecessary and can free the pointer.
9 years ago
David Klempner
2754c91fee
Add an API to return an unused port to the portserver
9 years ago
Craig Tiller
45fe17fb76
Fix leak
9 years ago