Commit Graph

238 Commits

Author SHA1 Message Date
Mark D. Roth 96ba68d7cd Fix more allocation bugs. 2016-12-09 17:21:26 +00:00
Muxi Yan cf6eaa7071 Add <string.h> to test_config.c 2016-11-28 13:43:42 -08:00
Craig Tiller 96583a39a9 Remove file dependency to simplify build graph 2016-11-28 09:36:17 -08:00
Craig Tiller f2876ea1e0 Up timeouts for poll-cv polling strategy, seems to make things more stable 2016-11-28 08:57:48 -08:00
David Garcia Quintas 8fe2a4285c clang-format 2016-11-23 20:05:59 -08:00
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.)
2016-11-22 20:54:54 -08:00
Yuchen Zeng a5da0ef0b6 Merge pull request #8486 from y-zeng/get_tos
Add grpc_endpoint_get_fd and grpc_transport_get_endpoint
2016-11-10 10:53:12 -08:00
Craig Tiller b720b609ea Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:20:27 -08:00
Craig Tiller a947f1c32e Make resource_quota a real object 2016-11-04 13:53:17 -07:00
Yuchen Zeng 1c0b7a2d18 Merge remote-tracking branch 'upstream/master' into get_tos 2016-11-02 12:06:57 -07:00
Yuchen Zeng 68413c221e Remove GRPC_SOCKET 2016-11-02 11:57:37 -07:00
Craig Tiller 28b72428a8 clang-format 2016-10-26 21:15:29 -07:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00
Craig Tiller b37d53ebc0 Bulk update #includes 2016-10-26 16:16:35 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Yuchen Zeng e5ec9ac9e2 Add grpc_endpoint_get_socket and GRPC_SOCKET 2016-10-24 14:43:12 -07:00
Craig Tiller afcc8752f3 clang-format 2016-10-18 16:10:06 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
murgatroid99 aa9c578b07 Clean up code after merge with master 2016-10-10 18:03:03 -07:00
murgatroid99 2c287ca750 UV tests pass on linux 2016-10-07 09:55:35 -07:00
murgatroid99 c36f6ea745 Compile and link core tests with libuv 2016-10-03 09:24:09 -07:00
Craig Tiller 08d297e375 Make all tests build again 2016-09-28 10:35:53 -07:00
Craig Tiller ef6b97659e Add tracing, fix some transport bugs wrt buffer_pools 2016-09-28 08:37:51 -07:00
Craig Tiller ed9dc8d956 Fix leaks 2016-09-27 14:49:49 -07:00
Craig Tiller 4b3b5d0e82 Fixes for destruction 2016-09-27 13:55:24 -07:00
murgatroid99 dedb923b6e Clang format 2016-09-26 13:54:04 -07:00
Michael Lumish 77c6ccef18 Updated changes for Windows, removed unistd.h from test files 2016-09-26 13:51:57 -07:00
Craig Tiller 61ecb9259b TCP buffer pool integration done 2016-09-26 13:22:12 -07:00
Craig Tiller d4673484c7 Update tests 2016-09-23 13:50:04 -07:00
murgatroid99 7871f736ce Remove sockaddr type structs and socklen_t from internal core APIs, update POSIX tests 2016-09-23 13:49:05 -07:00
murgatroid99 bcc60f75d4 Merge branch 'master' into uv_core_transport 2016-09-16 13:44:28 -07:00
murgatroid99 623dd4f556 Renamed GPR_ constants to GRPC_ in iomgr/port.h 2016-08-08 17:31:27 -07:00
murgatroid99 5407089b37 Separate out iomgr-specific constants into a separate header 2016-08-08 17:01:18 -07:00
David Garcia Quintas 8c5424f0d5 added gpr_types.h 2016-08-01 22:49:00 -07:00
Craig Tiller 70bd4839bc Allow returning a workqueue somehow associated with an endpoint 2016-06-30 14:20:46 -07:00
Craig Tiller e63246d100 clang-format 2016-06-21 09:03:11 -07:00
Craig Tiller a4d2d0c798 Merge github.com:grpc/grpc into reuse_port 2016-06-20 08:09:52 -07:00
Craig Tiller 1d39a06d06 Merge github.com:grpc/grpc into error 2016-06-13 10:29:32 -07:00
Craig Tiller 8da8511762 Expand corpus, make one-shot runners not self-check leaks (to give ASAN a chance) 2016-06-10 09:13:10 -07:00
Craig Tiller c97065da86 Merge github.com:grpc/grpc into error 2016-06-07 13:00:14 -07:00
David Garcia Quintas c4d5112719 moar renamings 2016-06-06 14:56:02 -07:00
David Garcia Quintas 2a50dfefdc s/grpc_pops/grpc_polling_entity 2016-05-31 15:10:58 -07:00
David Garcia Quintas 8bec6f6a55 Merge branch 'master' of github.com:grpc/grpc into lb_pollset_propagation 2016-05-31 13:59:37 -07:00
Craig Tiller 77c983dc87 clang-format 2016-05-24 13:23:14 -07:00
Craig Tiller 332f1b35d5 Rename functions 2016-05-24 13:21:21 -07:00
Craig Tiller ccc8ec54b0 Merge branch 'error' into reuse_port 2016-05-24 06:55:47 -07:00
Craig Tiller 48abdde197 Merge github.com:grpc/grpc into error 2016-05-24 06:55:28 -07:00
Craig Tiller 29dc490b94 clang-format 2016-05-20 08:43:48 -07:00