99c9776beb
add more comments
2016-07-13 18:18:35 -07:00
48068bbe62
remove debugging info
2016-07-13 18:13:28 -07:00
6205cb25ab
fix some bugs
2016-07-13 18:05:02 -07:00
47de9c3564
server: close only non-closed listeners
...
The listener can be closed twice: in Close and in Serve. It might lead to
pretty bad things, for example, https://golang.org/src/net/unixsock_posix.go#L340
can delete a file which created by another listener.
Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
2016-07-12 21:16:45 -07:00
f53faa647d
minor fix
2016-07-12 19:26:12 -07:00
2e7aa9a2b1
Error out the send call for a client streaming rpc if the server has returned an error.
2016-07-12 19:24:33 -07:00
42a2879989
Modify comments
2016-07-11 16:25:52 -07:00
13edeeffde
Merge pull request #749 from menghanl/streams_in_serviceinfo
...
Split methods and streams in service info
2016-07-11 16:17:12 -07:00
bc8885608f
Merge unary RPC info and streaming RPC info
2016-07-11 13:09:50 -07:00
0ea9f970c0
Add StreamInfo for streaming types
2016-07-11 12:09:05 -07:00
a518fa911d
Split methods and streams in service info
2016-07-11 12:09:05 -07:00
565b602168
Merge pull request #755 from menghanl/errorf_pointer
...
Make grpc.Errorf return struct pointer
2016-07-11 10:11:51 -07:00
1b5902d709
Fix review comments
2016-07-08 14:15:16 -07:00
ffdfb592e8
Fix type assertion error after rebase
2016-07-08 10:35:38 -07:00
562a45da66
add test to verify that errors defined with same code and description are not considered equal via the error interface
2016-07-08 10:28:36 -07:00
d2125eeb91
fix error comparison
2016-07-08 10:28:36 -07:00
55fbdb44ea
compare error strings, not interfaces
2016-07-08 10:28:36 -07:00
3802318f46
Make Errorf return pointer to rpcError
2016-07-08 10:28:36 -07:00
461dac9997
Merge pull request #738 from iamqizhao/master
...
[Pre-1.0 Semantics Change] Support Fail-fast and make it the default setup
2016-07-08 10:28:17 -07:00
9a76919800
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-06 17:18:01 -07:00
4f14d195bf
Merge pull request #753 from iamqizhao/fix
...
Add the missing address metadata
2016-07-06 17:17:39 -07:00
f492622da4
rebase
2016-07-06 14:16:27 -07:00
daeb9cc0f2
Merge pull request #752 from tamird/dupe-balancer
...
remove duplicate balancer field
2016-07-06 14:09:59 -07:00
5688542ad1
Add the missing address metadata
2016-07-06 11:40:57 -07:00
ebd9633b55
remove duplicate balancer field
2016-07-05 14:52:25 -04:00
605ce23104
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-06-30 15:11:56 -07:00
a0ff1e78a9
Merge pull request #743 from menghanl/go_vet
...
Fix go vet
2016-06-30 15:10:19 -07:00
c477cb3b14
fix the flaky test
2016-06-30 14:26:31 -07:00
be59d023f2
refactor error handling a bit
2016-06-29 15:21:44 -07:00
78e558bbc1
fix Info passes lock by value
2016-06-29 14:08:23 -07:00
a6bacfe42c
Fix go vet
2016-06-29 13:36:10 -07:00
f38b9a9906
Merge pull request #741 from menghanl/reflection_import
...
Add comments to package reflection
2016-06-29 10:48:42 -07:00
e297a2401a
Add import comments to package reflection
2016-06-28 17:46:18 -07:00
213a20c4fe
bug fix, typo fix and slight error refactoring
2016-06-28 16:08:19 -07:00
b94a578d43
Merge pull request #726 from menghanl/reflection
...
Server reflection service
2016-06-28 15:26:25 -07:00
5c7e717663
Merge pull request #740 from idcmp/patch-1
...
Fix typo.
2016-06-28 11:12:29 -07:00
74a71a17ac
Fix typo.
2016-06-27 20:52:25 -07:00
01ef81a4d9
minor fix including removal of debugging logs, error code fix, etc.
2016-06-27 15:30:20 -07:00
078c90026f
Minor fixes
2016-06-27 14:51:09 -07:00
3e71fb360d
Support fail-fast mode and make it the default
2016-06-27 14:36:59 -07:00
26d2db5487
Add server.GetServiceInfo().
...
To replace server.ServiceMetadata() and server.AllServiceNames().
2016-06-27 12:01:05 -07:00
439f11e63d
Minor changes
...
Add copyright
Return proto.Marshal(fd)
Comments
2016-06-27 12:01:05 -07:00
69c7425a21
Change server.ServiceMetadata to take service name and method name.
...
And some minor changes.
2016-06-27 12:01:05 -07:00
1302eb9c41
Minor fixes
2016-06-27 12:01:05 -07:00
451a2e416b
Minor change in allExtensionNumbersForType(), add TestAllServiceNames()
2016-06-27 12:01:05 -07:00
3fe1c5b241
Add readme
2016-06-27 12:01:05 -07:00
cb12010c86
Remove return value idxs []int from fileDescForType()
2016-06-27 12:01:05 -07:00
99966b0e14
Remove t.Logf
2016-06-27 12:01:05 -07:00
965636a9b1
Minor changes, comments and test error message
2016-06-27 12:01:05 -07:00
ffd3d5874a
Add test for testListServices
2016-06-27 12:01:05 -07:00