Xiao Hang
9243157898
Fix broken interop test, using new StreamObserver API.
2015-08-31 13:54:54 -07:00
Carl Mastrangelo
396f0606f3
Add test to prove RST closes stream, and remove hack from transport to force closure.
2015-08-31 13:26:49 -07:00
Kun Zhang
5bb0ea9899
Annotate method descritpor files in the generated code with ExperimentalApi
2015-08-31 09:56:44 -07:00
Kun Zhang
bd23a8d693
Upgrade to protobuf-3.0.0-beta-1
2015-08-31 09:26:20 -07:00
Carl Mastrangelo
d678498ca7
Add unit tests for AbstractServerStream
2015-08-28 13:00:27 -07:00
Xudong Ma
0958fd407e
Fix flakiness in test timeoutOnSleepingServer
2015-08-27 22:52:01 -07:00
Eric Anderson
3620243509
Merge pull request #891 from stanley-cheung/move_grpc_common_examples
...
Move grpc common examples
2015-08-27 17:00:01 -07:00
Stanley Cheung
46687fe705
update android example readme
2015-08-27 16:28:38 -07:00
Xudong Ma
1f0cad21e5
Implement per_rpc_creds test
2015-08-27 16:28:31 -07:00
Stanley Cheung
61422d6295
add back protos and update references
2015-08-27 16:24:04 -07:00
Xiao Hang
3c79c52427
Implement timeout_on_sleeping_server test
2015-08-27 16:21:52 -07:00
Stanley Cheung
e4987cd1f2
update reference to grpc-common to examples
2015-08-27 16:10:33 -07:00
Stanley Cheung
fe3f964317
move grpc-common stuff to right location
2015-08-27 16:07:41 -07:00
Stanley Cheung
990fdf3523
Merge branch 'move_java_examples' of /usr/local/google/home/stanleycheung/grpc-common into move_grpc_common_examples
2015-08-27 16:07:16 -07:00
Xudong Ma
edbb237e84
Remove the unnecessary code example of using TLS on Anroid
2015-08-27 15:18:58 -07:00
Xudong Ma
a3f2f6249e
OkHttp: Fix race condition between sendCancel and sendFrame
2015-08-27 15:11:23 -07:00
Carl Mastrangelo
080190c753
Make ServerCall.Listener methods Nops
2015-08-27 13:13:42 -07:00
Xiao Hang
7fc86e5549
Implement unimplemented_method test
2015-08-27 12:56:50 -07:00
Carl Mastrangelo
5ade1b726f
Make ClientCall listener methods noops
2015-08-27 11:36:59 -07:00
Nathan Mittler
fc13535a8b
Merge pull request #884 from nmittler/unused_method
...
Removing unused method in ServerImpl
2015-08-27 11:24:04 -07:00
nmittler
bcdef34c52
Removing unused method in ServerImpl
2015-08-27 10:26:56 -07:00
Louis Ryan
a4c821d94e
Rename onValue to onNext in StreamObserver to align with the naming in Rx & the proposed Flow API in
...
Java9
2015-08-26 17:38:22 -07:00
nmittler
15f02ba19c
Adding maxMessageSize config option
...
Fixes #832
2015-08-26 15:32:33 -07:00
Nathan Mittler
40c66a17a9
Merge pull request #881 from nmittler/fix_benchmarks
...
Fixing the benchmarks
2015-08-26 14:31:09 -07:00
nmittler
d5977c4552
Fixing the benchmarks
...
Fixes #873
2015-08-26 13:55:39 -07:00
Carl Mastrangelo
4221f5a81c
Change ExperimentalApi field 'comment' to 'value'
2015-08-26 13:40:11 -07:00
Carl Mastrangelo
cb734e3049
Document equals and hashCode on Status
2015-08-26 13:31:13 -07:00
Carl Mastrangelo
b5eaaf378e
Add @ExperimentalApi annotation to compression methods
2015-08-26 13:25:21 -07:00
Kun Zhang
8225d2a6a6
Add comment field to ExperimentalApi
2015-08-26 10:42:08 -07:00
Carl Mastrangelo
0d9ac41bdd
Minor cleanup in deframer
2015-08-26 09:58:15 -07:00
nmittler
777e928536
Removing transport shutdown hooks from channel builder
...
The current process of building a channel is a bit complicated in that transports have to provide a own shutdown hook to the channel builder in order to close shared executors. This somewhat entagled creation pattern makes it difficult to separate the process of channel building from transport building. Better separating these two should make the code more readable and maintainable moving forward.
2015-08-25 08:38:39 -07:00
Xudong Ma
2247ad2a2b
Makes application-provided string comes first in User-Agent
2015-08-24 19:42:16 -07:00
Kun Zhang
68c82bc2f3
Make ServerImpl constructor pakcage-private
2015-08-24 15:13:25 -07:00
Xudong Ma
c5ea5c78cf
Update Java doc for a508c1d4f5
2015-08-24 13:49:51 -07:00
Xudong Ma
485bc9c83c
OkHttp: Make sure TransportListener.transportReady() can only be called once.
2015-08-24 13:39:37 -07:00
Xudong Ma
76b410de39
Remove size restriction when parsing nano protos
2015-08-24 13:32:17 -07:00
Carl Mastrangelo
345773504c
Quick work around for Rst bug
2015-08-24 11:42:35 -07:00
Carl Mastrangelo
a508c1d4f5
Remove Headers
2015-08-24 11:41:10 -07:00
Xudong Ma
13c14df055
Netty: Call ClientTransport.Listener.transportReady() after receiving SETTINGS frame.
2015-08-24 10:57:05 -07:00
Kun Zhang
7b6a498eff
Annotate ServerEssentials, buildEssentials() and ServerImpl's constructor with @Internal
2015-08-24 10:17:00 -07:00
Xudong Ma
37b1a8c6d9
Update the code example to use our own API
2015-08-24 09:44:46 -07:00
nmittler
0b57f56bf0
Reducing the size of the "large" proto in ProtoUtilsTest.
...
Hoping to eliminate flakes on Travis.
Fixes #859
2015-08-24 08:40:58 -07:00
nmittler
e2f88fa904
Moving a few common utilities to GrpcUtil.
2015-08-24 07:53:32 -07:00
Xudong Ma
21f9b44d14
Use status UNAVAILABLE for IOException thrown by OkHttp reading path, which can also be triggered by HTTP/2 issues.
2015-08-21 16:42:22 -07:00
nmittler
aeae7a8e74
Rename HttpUtil to GrpcUtil.
...
It's not really just for HTTP, it has becoming a dumping ground for many internal constants/utilities.
2015-08-21 14:02:26 -07:00
nmittler
9f7cb80108
Adding handling for stream exhaustion in Netty.
2015-08-21 13:01:17 -07:00
Kun Zhang
d68c101a55
Fix documentation on ClientCall.request().
...
request() is allowed after halfClose(), and is not necessarily forbidden
after cancel() (current implementation does not).
2015-08-21 08:59:49 -07:00
Carl Mastrangelo
701bbe509f
Add unit tests to AbstractClientStream
2015-08-20 17:14:08 -07:00
Kun Zhang
042b278256
Remove the first MethodDescriptor constructor.
...
that takes the service name and method name separately.
Also fix tests that are still using the old full qualified method name
format.
2015-08-20 14:19:50 -07:00
nmittler
573f79a06d
Remove proto size restriction when parsing protos.
2015-08-20 14:10:49 -07:00