Craig Tiller
988db27275
Spam cleanup
10 years ago
Craig Tiller
d1345ded70
Fix shutdown race in CHTTP2
...
After we have called closed() ensure that no other callbacks are ever made.
10 years ago
Craig Tiller
b5a79f62de
Fix mac build
10 years ago
Julien Boeuf
d43f0c3713
Addressing comments.
10 years ago
Julien Boeuf
8d6ec91241
Using HTTP2 compliant cipher suites by default.
...
- Added a way to override the cipher suites with an environment
variable so that we can still do interop testing with java7.
- Takes care of #681 .
10 years ago
Julien Boeuf
7fa3f41226
Removing port from checked ssl target name.
...
- Should fix #746 .
10 years ago
Masood Malekghassemi
59d9ff4d9f
Updated Python protoc plugin testing.
10 years ago
Julien Boeuf
0170a6c662
Addressing another round of comments.
10 years ago
David Klempner
c6bccc24d3
Move close() to when the fd refcount goes to zero
...
Instead, we do a shutdown() at the point we are currently closing, to
kick off socket teardown while ensuring an fd ref is sufficient to make
concurrent syscalls like epoll_ctl safe.
10 years ago
Craig Tiller
5c6f21eda4
Also get rid of CHTTP2 settings spam
10 years ago
Craig Tiller
2c04a53450
Spam cleanup
10 years ago
murgatroid99
042e63ca36
Fixed import of google-auth-library
10 years ago
Nicolas Noble
085603c112
Second batch of feedback.
10 years ago
Julien Boeuf
9fff77e4f8
Addressing comments.
10 years ago
Craig Tiller
d50e565cda
Add HTTP2 header tracing
...
HPACK makes headers on the wire very difficult to read. Add a trace facility to print them on the receive path.
Later this will be expanded no doubt for sending headers, stream creation, etc...
10 years ago
Tim Emiola
18180f0e84
Temporarily suspend some tests that started failing because during the final shutdown
10 years ago
Craig Tiller
9b070fa2de
Remove unused variable
10 years ago
Craig Tiller
4090993657
Remove redundant variable set
10 years ago
Craig Tiller
3be76ac74f
Fix potential leak
10 years ago
Craig Tiller
6e57b9edb1
Add Server.Wait
10 years ago
Tim Emiola
957537e016
Reflect a C-api name change
10 years ago
murgatroid99
e4939830c0
Fixed reference to grpc_default_credentials_create
10 years ago
David Klempner
b505661b1a
Add a shutdown API to pollset
...
This allows us to safely asynchronously add FDs in the
possibly-promoting unary add case.
Also fix the unary add async path to properly handle more of the extra
cases it needs to handle.
10 years ago
Nathaniel Manista
f4e3f3f8d6
Avoid CANCELLATION ticket kind for back-to-front tickets.
...
It's not (yet, see issue 752) allowed and code at the higher
level doesn't know how to deal with it.
10 years ago
murgatroid99
7d2adf0e11
Updated interop proto for compatibility with proto3 servers
10 years ago
murgatroid99
b0028270e6
Fixed copyright format in some example files
10 years ago
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
10 years ago
Jan Tattermusch
5b141669e6
Added some measurement numbers to comments.
10 years ago
Jan Tattermusch
a0fcfcc1fa
Fixed formatting
10 years ago
murgatroid99
99885c9834
Fixed old lint errors
10 years ago
murgatroid99
98cbc5a496
Fixed old lint errors
10 years ago
murgatroid99
4075f2a0b6
Return error status as actual errors to client callbacks
10 years ago
Nathaniel Manista
4ad01246e3
Propagate ForeLink-joining to the inner RearLink.
...
rear._ActivatedRearLink's inner RearLink should of
course send its tickets to whatever ForeLink was joined
to the rear._ActivatedRearLink.
10 years ago
Julien Boeuf
597a4f2273
Verifying the peer name on the X509 Certs correctly.
...
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
the SANs. Will fix the test cert another time...
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Nathaniel Manista
de16e4c755
Add a port method to assembly-level servers.
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Craig Tiller
7d0f9ea29a
Fix memory leak
10 years ago
Julien Boeuf
c66f2a816e
Addressing iniitial feedback.
...
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
- Adding Cpp wrapping for JWT Tokens.
- Renaming ComposeCredentials -> CompositeCredentials.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Jan Tattermusch
4d703268ad
Fix exception unwrapping for unary call
10 years ago
Jan Tattermusch
50faa8f78b
Added support for true synchronous unary call and added some performance tests.
10 years ago
Yang Gao
b8d04d0e97
remove stale comment
10 years ago
Craig Tiller
ad9d0c472d
Remove dynamic_cast
10 years ago
Nicolas Noble
a7b8b69d23
Addressing security concerns.
...
-) 0x7f (Backspace) isn't a printable character.
-) use sizeof(var) instead of sizeof(type).
10 years ago
murgatroid99
2822e9ad75
Added pubsub demo client
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Craig Tiller
759026cbf0
Server API simplification
...
Remove 'secure_serer_create', and instead attach credentials to ports, meaning different ports can serve different credentials.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago
Tim Emiola
a16d2ae325
Fixes a missed old module name reference in the interop client
10 years ago