Commit Graph

2619 Commits

Author SHA1 Message Date
Vijay Pai 4db3b7413d
Merge pull request #13697 from vjpai/nostdthread
Stop using std::thread in C++ library since it can trigger exceptions
2018-01-11 13:53:37 -08:00
Vijay Pai 1d91362f81 exec_ctx_fwd.h should never have been in public headers 2018-01-10 15:59:05 -08:00
Vijay Pai b4b0ac7049 Resolve leak by freeing request payload if resources exhausted 2018-01-10 14:40:40 -08:00
Vijay Pai fd4884a768 Address review comments 2018-01-10 18:47:09 +00:00
Yuchen Zeng 32d077e7e1
Merge pull request #13922 from y-zeng/openssl_1_1_0
Silence openssl 1.1.0 warnings
2018-01-08 17:19:51 -08:00
Vijay Pai 5dd32268be Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism 2018-01-08 10:02:38 -08:00
Vijay Pai 91bab37129 When building with bazel on a Mac, workaround bazelbuild/bazel#4341 2018-01-05 09:59:34 -08:00
Yuchen Zeng c6ae9b562b Silence openssl 1.1.0 warnings 2018-01-04 16:29:06 -08:00
Vijay Pai 832bd00163
Merge pull request #13874 from vjpai/allow_no_message
C++: Allow no message on sync unary call, just like async
2018-01-02 15:40:34 -08:00
Yash Tibrewal 11d1ac4c0c Add an exception in TLS to use pthread library instead of __thread for Android NDK with GCC as the compiler 2017-12-28 15:37:03 -08:00
Vijay Pai d5730c6c22 Allow no message on sync unary call, just like async 2017-12-22 23:48:58 -08:00
ncteisen 934a3cebc4 Allow forward declaration of log args 2017-12-13 11:15:50 -08:00
yang-g 30ced5d09f Add comments for AsyncGenericService 2017-12-12 11:45:32 -08:00
yang-g 9c5d8267cd resolve comments 2017-12-11 17:00:33 -08:00
yang-g 69aec17562 Add dummy operator delete to make VS2015 not complain. 2017-12-11 15:52:50 -08:00
Noah Eisen 5b1a66cef1
Merge pull request #13413 from ncteisen/surfacing-error-details-wrapped
Surface Error String to Wrapped Languages
2017-12-08 13:44:37 -08:00
ncteisen 6193c63dab Reviewer feedback 2017-12-08 10:49:31 -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
Vijay Pai 30ccc944d6
Update port_platform.h 2017-12-05 18:30:52 -06:00
Mark D. Roth 6fa206de8f
Merge pull request #13336 from markdroth/server_connection_timeout
On server, include receiving HTTP/2 settings in handshake timeout
2017-12-04 14:28:49 -08:00
ncteisen 11f6780bfd Add comment with API 2017-12-04 13:29:33 -08:00
ncteisen 64e0b10a97 Variable name consistency 2017-12-04 13:26:26 -08:00
ncteisen b9cff78f9e Reviewer feedback 2017-12-04 13:17:01 -08:00
Noah Eisen 0d7f5e77c0 No null string ctor 2017-12-04 12:45:15 -08:00
ncteisen 74c106eff3 Add error string to C++ 2017-12-04 12:45:15 -08:00
yashkt d9f6407190 Merge master into execctx after removal of assert in tls_gcc 2017-12-04 09:41:12 -08:00
Vijay Pai 7d7babb689
Merge branch 'master' into threadnames 2017-12-02 22:20:50 -08:00
Yash Tibrewal e1e7db029f Remove asserts from tls_gcc.h 2017-12-01 13:01:01 -08:00
Mark D. Roth e109ddf89f Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-12-01 08:56:25 -08:00
Vijay Pai 764ef8c797
Merge pull request #13575 from vjpai/dehist
Move histogram to test/core/util
2017-11-30 18:02:44 -08:00
Yash Tibrewal 36522e9f80 Merge master after no Extern C changes 2017-11-30 17:47:36 -08:00
Vijay Pai 195cf1ebfd Move histogram to test/core/util 2017-11-30 15:02:04 -08:00
Yash Tibrewal 10f2790f7f Merge branch 'master' into execctx 2017-11-30 10:54:42 -08:00
ncteisen 43db24953a Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c 2017-11-29 16:46:07 -08:00
ncteisen 14b27b847d Merge commit 'aa358d5e43' into no-more-extern-c 2017-11-29 16:43:00 -08:00
Dave MacLachlan 8a631a2b05 Remove unused BSD thread name macro 2017-11-29 16:31:14 -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
Nicolas Noble 17a1431a37
Merge pull request #13466 from nicolasnoble/upmerge-from-v1.7
Upmerge from v1.7
2017-11-29 15:57:25 -08:00
Noah Eisen c49b24a7c0
Merge pull request #13549 from ncteisen/test-error-string-api
Add test for RecvStatus error_string API
2017-11-29 15:18:24 -08:00
Craig Tiller bf51c97fd6
Merge pull request #13529 from ctiller/api-cleanup
ServerBuilder interface cleanup
2017-11-29 14:43:25 -08:00
ncteisen 9b6283a952 Make API comment more specific: 2017-11-29 14:06:17 -08:00
Mark D. Roth c5d0df9e44 Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-29 12:04:37 -08:00
Nicolas "Pixel" Noble 361f8108e4 Merge branch 'master' of https://github.com/grpc/grpc into upmerge-from-v1.7 2017-11-29 19:31:42 +01:00
Craig Tiller e8c47036fb Update comments 2017-11-29 09:37:51 -08:00
Vijay Pai 3aeff224ed Remove some dead code from a previous iteration of internal::Call 2017-11-28 23:12:51 -08:00
Yash Tibrewal 03412ee9de Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests 2017-11-28 18:06:23 -08:00