Yash Tibrewal
24c232009c
Merge branch 'master' into out_of_bounds_tests
2019-06-17 16:48:42 -07:00
Yash Tibrewal
8a310e5063
Clang tidy
2019-06-17 16:48:30 -07:00
Yash Tibrewal
c8233e108d
Merge pull request #19360 from yashykt/bad_client_fix
...
Add gtest dependency to the test instead of library
2019-06-17 13:26:33 -07:00
Yash Tibrewal
9f10ab5377
Add gtest dependency to the test instead of library
2019-06-14 16:24:12 -07:00
Yash Tibrewal
e60c43ff3e
Add out of bounds frame tests
2019-06-14 16:13:19 -07:00
Vijay Pai
f05c475f01
Fix Python3 incompatibility
2019-06-14 14:34:37 -07:00
Yash Tibrewal
ea427791d3
Reviewer comments
2019-06-10 16:24:42 -07:00
Yash Tibrewal
597a67a2b5
Covert to GTEST
2019-06-06 18:18:30 -07:00
Yash Tibrewal
7994ea53fc
Add detailed unknown frame type tests
2019-06-06 11:49:57 -07:00
Yash Tibrewal
9345b7e276
s/atleast/at\ least
2019-04-25 17:15:30 -07:00
Soheil Hassas Yeganeh
18b19105f2
Implement TCP_INQ for gRPC in Linux
...
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.
Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.
This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:
Before:
l_50: 61.3584984733
l_90: 94.8328711277
l_99: 126.211351174
l_999: 158.722406029
After:
l_50: 51.3546011488 (-16%)
l_90: 72.3420731581 (-23%)
l_99: 103.280218974 (-18%)
l_999: 130.905689996 (-17%)
2019-03-06 22:15:53 -05:00
Jan Tattermusch
486b1fe320
Fix bad_client_simple_request test.
...
The data of 0xffffffff is actually not illegal, the top bit should be
ingored according to the spec.
2019-02-07 10:21:09 +01:00
yang-g
038a71d826
Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util
2018-12-17 08:52:20 -08:00
ncteisen
7b81ae14a7
clang tidy and clang format
2018-12-07 14:59:04 -08:00
yang-g
e00ca0371a
Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first
2018-12-06 13:40:12 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
ncteisen
e35f24da4d
reviewer feedback
2018-10-04 15:25:49 -07:00
Yash Tibrewal
8d47cd4992
Revert "Revert "Fathom tcp changes""
2018-08-27 14:56:01 -07:00
Jan Tattermusch
97ba943f17
Revert "Fathom tcp changes"
2018-08-27 12:43:20 +02:00
Yash Tibrewal
f0397933b0
Fathom TCP level changes. TracedBuffer for keeping track of all buffers
...
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
2018-07-16 16:28:15 -07:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Vijay Pai
58a62755fc
Remove support for detached threads. All threads must be joined.
2018-02-15 21:30:13 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
adelez
39307d23c3
Revert "Revert "Define the tests as grpc_cc_test to automatically test against all po…""
2018-02-07 11:13:52 -08:00
Mehrdad Afshari
b9335ebe47
Upmerge branch 'v1.9.x' into 'master'
2018-02-05 23:23:42 -08:00
adelez
18a356c9fa
Revert "Define the tests as grpc_cc_test to automatically test against all po…"
2018-02-06 14:34:35 -08:00
Adele Zhou
5b30e46854
Define the tests as grpc_cc_test to automatically test against all polling strategies
2018-02-05 14:22:37 -08:00
Yash Tibrewal
83ad85e2fa
Remove unnecessary check and few more comments
2018-01-30 15:25:05 -08:00
Yash Tibrewal
54f6092eff
Force the client to shutdown so that the server write can complete
2018-01-30 12:17:14 -08:00
Ken Payson
1dc0833bed
Don't segfault on header replay
2018-01-26 10:58:18 -08:00
Yash Tibrewal
153ebda1ba
reduce send size for window overflow test
2018-01-24 17:35:54 -08:00
Yash Tibrewal
b9a34339a7
Make the thread wait so that write can complete too
2018-01-24 14:33:46 -08:00
Yash Tibrewal
ea8027a0b1
Merge branch 'master' into badclient
2018-01-24 10:58:25 -08:00
Yash Tibrewal
7cbbee745e
remove unnecessary assert
2018-01-24 10:57:36 -08:00
Yash Tibrewal
0d8b21e100
Add helper function for rst_stream
2018-01-23 19:46:42 -08:00
Yash Tibrewal
eea1d9ba70
nullptr check
2018-01-22 12:14:56 -08:00
Yash Tibrewal
1791df0a72
Bad client changes to make large metadata test to work again
2018-01-22 03:18:38 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
a3df36cc25
Merge pull request #13058 from yashykt/execctx
...
All instances of exec_ctx being passed around in src/core removed
2017-12-05 21:19:52 -08:00
Vijay Pai
9dbb6e3a28
Merge pull request #13559 from dmaclach/threadnames
...
Add thread naming support on platforms that support it.
2017-12-05 19:00:11 -08:00
Yash Tibrewal
73bb67d054
Merge master into execctx
2017-12-05 17:49:11 -08:00
Dave MacLachlan
da341bcb89
Fix up review comments
2017-11-30 12:48:22 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
Dave MacLachlan
af5c54de9c
Add thread naming support on platforms that support it.
...
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
2017-11-29 16:25:10 -08:00
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
2017-11-28 13:23:36 -08:00
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
2017-11-21 19:38:09 -08:00