David Klempner
dbb4f942d0
Add support for eventfd based kicking on linux.
...
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
10 years ago
Craig Tiller
5d8fbe2663
Make this socket creation portable
10 years ago
Craig Tiller
d19d850357
This field is 8 bits on Mac
10 years ago
Craig Tiller
0c0b60c322
Add platform ifdefs, fix up some MSVC warnings
10 years ago
Craig Tiller
e005d22146
Const correctness fixes
10 years ago
Craig Tiller
59963419c4
Clean up formatting
10 years ago
Craig Tiller
3948412b15
Have echo server serve up some html
10 years ago
Craig Tiller
8a84be382a
Echo server gets security
10 years ago
Craig Tiller
724b7c693a
clang-format
10 years ago
Julien Boeuf
8fbcc4391e
Changing the SSL (Server) Credentials API.
...
- Changed the unsigned char * + size to NULL terminated strings which
makes sense for the PEM format. I may change TSI later (but the impact
will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
option to not specify the roots which will then be derived from the
environment (well-known platform dependent locations and/or
environment variable).
- Fixed the php build which is the only one added in the run_test.py.
This change will certainly break node, python and ruby.
10 years ago
David Klempner
fd99dd3475
Cap the size of the poll kick freelist.
...
This caps the size of the poll kick freelist at the arbitrary value of
25.
10 years ago
Craig Tiller
bcfa267b5f
Release server creds
10 years ago
Craig Tiller
64761f8af6
clang-format
10 years ago
Craig Tiller
64f65458e3
Allow secure connections with fling server
10 years ago
Craig Tiller
ecd49345b5
Use clang-format-3.5
10 years ago
Craig Tiller
59140fc116
Explicitly name the target language.
...
Instead of C++ or not C++, name C++ and C, in preparation for being able to name other languages in the future.
10 years ago
David Klempner
7f3ed1eda1
Factor out the pollset kicking mechanism and eliminate sharding
...
This change pulls out a separate pollset_kick module, which currently
uses a freelist of pipes dynamically assigned to pollsets when they
enter polling rather than the previous racy sharding mechanism.
We ultimately may wish to eliminate the dynamic assignment for multipoll
sets, but this should be sufficient for the moment.
10 years ago
Craig Tiller
29fa1c2fa4
Compile fix
10 years ago
Craig Tiller
33a0b83af3
clang compile fixes
10 years ago
Craig Tiller
4ffdcd56ce
Add an optional server shutdown event.
...
Allows servers to expedite shutdown once all in-progress calls are
completed. We may want to eventually remove grpc_server_shutdown in
preference to this.
10 years ago
Craig Tiller
4853791a84
Build fix
10 years ago
Craig Tiller
7b01878736
Fix returned status
...
The client should return status deadline exceeded when the deadline is
exceeded (not cancelled status)
10 years ago
Craig Tiller
7132d51b2e
Include some useful help text
10 years ago
Julien Boeuf
b222b4d978
Changing size type in Transport Security (TSI) from uint32_t to size_t:
...
Will remove grpc impedance mismatch.
10 years ago
Craig Tiller
297fafa078
Opportunistically use perftools if installed.
...
Allows us to collect profiles of the open source build using gprof.
10 years ago
Craig Tiller
3eef2c4bcb
clang-format
10 years ago
Craig Tiller
32946d37e0
() --> (void)
10 years ago
Craig Tiller
d7f2c2b1c7
clang-format
10 years ago
Craig Tiller
a2075b90d7
Remove calls to grpc_call_accept from C core tests.
...
This call is deprecated.
10 years ago
Craig Tiller
408c7383cc
clang-format
10 years ago
Craig Tiller
ca75796811
Fling test uses grpc_call_invoke
10 years ago
Craig Tiller
240d02c076
Echo test uses grpc_call_invoke
10 years ago
Craig Tiller
09b637538f
clang-format
10 years ago
Craig Tiller
6046dc35ef
clang-format
10 years ago
Yang Gao
5680ff4687
Run clang-format-all.sh
10 years ago
Craig Tiller
e1e2475b69
Unify signal handling in C
10 years ago
Nicolas "Pixel" Noble
80d68c09c4
Fixing test_config.c
...
Now all the gpr tests build and run under win32.
10 years ago
Craig Tiller
5c35008ea1
Unify signal handling in C
10 years ago
Craig Tiller
bf444937c6
Fix ordering problem leading to flaky test
10 years ago
Craig Tiller
fc84e7b28e
Fix tag matching bug
10 years ago
Craig Tiller
9c0307bd4f
Update test to grpc_call_invoke
10 years ago
Craig Tiller
97f7fca5ff
Remove calls to grpc_call_start_invoke
10 years ago
Craig Tiller
cbbac9b10d
Compile fix
10 years ago
Craig Tiller
40fc7a6632
clang-format codebase
10 years ago
Craig Tiller
80fa15c151
Moving prototype from Google to GitHub
...
I'd started some prototyping work on this change before the move to
GitHub; this change restores things.
10 years ago
Craig Tiller
21b19a552c
Fix formatting
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago
nnoble
5f2ecb355d
Splitting grpc_test_util into gpr_test_util.
...
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83801564
10 years ago
ctiller
570d1f4425
Return bound port number from grpc_server_add_http2_port.
...
Allows tests to bind to port 0 and still have clients connect to them.
Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83800669
10 years ago
Craig Tiller
edd10d2596
Make this file usable from C++
10 years ago