Commit Graph

2760 Commits

Author SHA1 Message Date
Michael Rebello 9c926f325d Resolve Swift warnings by specifying void arguments
The following functions in the `fork.h` file cause a `This function declaration is not a prototype` warning in Swift:
```
void grpc_prefork(void);

void grpc_postfork_parent(void);

void grpc_postfork_child(void);

void grpc_fork_handlers_auto_register(void);
```

Explicitly specifying `void` as the argument resolves the warnings.

Reproducible using Xcode 9.2 with `SwiftGRPC`/`gRPC-Core` via CocoaPods.
2018-05-10 13:27:23 -07:00
apolcyn 57ed055f2f
Merge pull request #15283 from apolcyn/server_consume_socket_mutator
Consume socket mutators on posix servers
2018-05-08 21:04:36 -07:00
Alexander Polcyn ac8b72f75b Add a test that tcp server posix consumes socket mutators 2018-05-08 11:49:55 -07:00
Yash Tibrewal a3ba733a84 Add GPR_DEBUG_ASSERT 2018-04-26 16:35:41 -07:00
Yihua Zhang fe2fa0c1c8 Add C++ experimental API extensions for ALTS C stack 2018-04-16 15:11:32 -07:00
ncteisen 92c4e0fee0 Rename ProtoBuffer helpers 2018-04-12 17:19:54 -07:00
Yash Tibrewal 794edb3207 use GPR_UNLIKELY in GPR_ASSERT 2018-04-12 12:37:48 -07:00
Yash Tibrewal 344a2b2559
Merge pull request #15009 from yashykt/gprlikely
Add support for GPR_LIKELY and GPR_UNLIKELY
2018-04-12 12:32:42 -07:00
Jan Tattermusch 749f923c5b
Merge pull request #14945 from ara-ayvazyan/improve_log_perf
Avoid low severity log message construction
2018-04-12 08:56:40 +02:00
Yash Tibrewal 1ed62388dc Revert change to GPR_ASSERT 2018-04-10 18:20:58 -07:00
Yash Tibrewal e771f9ba84 Add mising GPR_UNLIKELY definition 2018-04-10 17:31:00 -07:00
Yash Tibrewal 20019ceef3 Add support for GPR_LIKELY and GPR_UNLIKELY 2018-04-10 17:21:03 -07:00
Noah Eisen e91cfed3a2
Merge pull request #14934 from ncteisen/typos
Fix typos
2018-04-09 10:36:10 -07:00
ncteisen cf5b2666e1 Make GrpcProtoBufferReaderWriter public 2018-04-06 07:05:27 -07:00
Ara Ayvazyan e7995f213c Avoid low severity log message construction 2018-04-04 17:37:40 -07:00
ncteisen 4a719088ca Fix typos 2018-04-04 10:26:57 -07:00
Noah Eisen 0b49467404
Merge pull request #14883 from ara-ayvazyan/fix_serverinterface_bytebuffer
Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer
2018-04-02 13:56:31 -07:00
Ara Ayvazyan 2e3d410846 fixup! Use bbuf_ptr 2018-04-02 11:16:41 -07:00
Ara Ayvazyan 8016d35aca fixup! Fix formatting 2018-04-02 10:56:45 -07:00
Muxi Yan dfbf607ccb Introduce channel arg to disable authority filter 2018-04-01 22:51:02 -07:00
Ara Ayvazyan f76069a593 fixup! Fix the payload ownership issue 2018-03-30 10:44:43 -07:00
Ara Ayvazyan 4df7438960 Fix ServerInterface::PayloadAsyncRequest to work with ByteBuffer 2018-03-30 10:15:27 -07:00
Vijay Pai a4da2d2a54 Eliminate existence of SneakyCallOpSet, some server cleanup 2018-03-22 19:09:01 -07:00
Noah Eisen dc93b71e53
Merge pull request #14751 from ncteisen/channel-tracing
[Fix Forward]: Channel Tracing Implementation; Part 1
2018-03-21 16:49:12 -07:00
Vijay Pai 7959f7d248
Merge pull request #14759 from vjpai/desneak
C++: Desneak client async unary call
2018-03-21 10:10:43 -07:00
Ruslan Nigmatullin 7ae3733cab [grpc] Add SSL session client cache support 2018-03-20 09:17:28 -07:00
Vijay Pai cdddc8ce42 Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity) 2018-03-20 08:46:28 -07:00
ncteisen 3b42f83068 Revert "Revert "Channel Tracing Implementation; Part 1""
This reverts commit f2bea3725f.
2018-03-19 13:22:35 -07:00
Noah Eisen f2bea3725f
Revert "Channel Tracing Implementation; Part 1" 2018-03-19 12:05:18 -07:00
Noah Eisen 1571abdb7f
Merge pull request #13883 from ncteisen/channel-tracing
Channel Tracing Implementation; Part 1
2018-03-16 07:55:43 -10:00
ncteisen b93a006d64 Merge branch 'master' of https://github.com/grpc/grpc into channel-tracing 2018-03-15 13:46:28 -10:00
Vijay Pai ba46afe3e2 Delete status_test that has no coverage; replace with static_asserts 2018-03-15 11:30:59 -07:00
kpayson64 7518ce9773
Merge pull request #14599 from kpayson64/abstract_libuv_stuff
Abstract libuv event loop
2018-03-13 15:28:39 -07:00
Nicolas Noble 129f38a8a5
Merge pull request #14517 from makdharma/extensible_api
Remove "final" keyword and make methods protected.
2018-03-13 09:58:59 -07:00
Vijay Pai 3c3c4c913a
Update server.h 2018-03-13 09:53:28 -07:00
Vijay Pai 589e2cfe09
Update completion_queue.h 2018-03-13 09:52:00 -07:00
makdharma 626a65e877 Added protected default constructor 2018-03-13 09:46:08 -07:00
makdharma dbf4b71a00 added Experimental in comments
For "struct Port" and friends, since they are now protected instead of
private.
2018-03-13 09:06:40 -07:00
kpayson64 539f5068bd Abstract libuv implementation
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
2018-03-13 01:21:42 -07:00
Muxi Yan 60aa27884f Remove include of inttypes.h completely 2018-03-12 11:50:09 -07:00
Muxi Yan 4b37fb0e4c Stop including inttypes.h in gRPC core public header in Apple platforms 2018-03-12 11:43:00 -07:00
makdharma d10c4e1e8e added "Experimental" and returned raw pointers
Added experimental in the comment and removed reference_wrapper in favor
of the raw pointer.
2018-03-12 11:07:35 -07:00
makdharma 1d603248f2 forgot to add completion_queue.h doh! 2018-03-12 10:37:52 -07:00
makdharma c8e523351e clang-format 2018-03-09 13:47:46 -08:00
makdharma 757af97ad0 added ///Experimental in comment for c_server
Please enter the commit message for your changes. Lines starting
2018-03-09 10:46:35 -08:00
makdharma 838af3eb6c moved member variables from protected to private
Per style guide, the member variables are not protected but private and
accessed through methods.
2018-03-09 09:39:42 -08:00
ncteisen ac945eba98 Reviewer comments 2018-03-05 22:23:23 -08:00
ncteisen cd6755b13c Re write rendered 2018-03-02 15:16:50 -08:00
ncteisen ee013d25b3 Fix build and sanity 2018-03-02 11:38:32 -08:00
ncteisen bf5237a723 reviewer comments 2018-03-01 20:45:26 -08:00