cb8841c36e
move some tests from end2end.go to clientconn_test.go
2015-11-06 11:33:13 -08:00
1d6b82a645
Merge pull request #423 from iamqizhao/master
...
Cancel the contexts of all active streams when a server connection is closed
2015-10-30 19:07:26 -07:00
1c2c309b25
Cancel all active streams when a server connection is closed
2015-10-30 15:52:41 -07:00
174192fc93
Merge pull request #420 from iamqizhao/master
...
regenerated the code for route_guide.proto
2015-10-29 14:42:30 -07:00
bf42086a4b
regenerated the code for route_guide.proto
2015-10-29 14:26:16 -07:00
bba8442c8e
Merge pull request #418 from iamqizhao/master
...
put ctx cancel into the right place
2015-10-29 11:12:25 -07:00
054d03a130
put ctx cancel into the right place
2015-10-29 10:55:53 -07:00
1f1a4999ca
Merge pull request #396 from nuss-justin/master
...
Remove an allocation when encoding messages
2015-10-22 14:00:00 -07:00
3419a330ad
Merge pull request #411 from iamqizhao/master
...
Improve rpc cancellation when there is no pending I/O
2015-10-22 13:21:37 -07:00
afca514667
Improve rpc cancellation when there is no pending I/O
2015-10-22 13:07:13 -07:00
b6b5c015ee
Merge pull request #410 from iamqizhao/master
...
clean up a test
2015-10-22 12:01:04 -07:00
f13f7f6db6
cleanup a test
2015-10-22 11:56:32 -07:00
78e8635e67
cleanup a test
2015-10-22 11:55:01 -07:00
6c9d3cd8d7
Merge pull request #409 from iamqizhao/master
...
fix a counting race for max streams.
2015-10-22 11:07:05 -07:00
7fcfcfa816
fix a counting race for max streams.
2015-10-22 11:00:21 -07:00
da435e3a08
Keep length as uint for overflow check
2015-10-22 12:21:04 +02:00
fe95b02c13
Merge pull request #407 from ashishgandhi/master
...
picker: fix capitalization in comment
2015-10-21 15:29:33 -07:00
aa4c260378
Merge pull request #408 from iamqizhao/master
...
fix a bug in test
2015-10-21 15:29:22 -07:00
17b181003d
remove debug info
2015-10-21 15:24:16 -07:00
e18e2c8054
fix a bug in test
2015-10-21 15:21:58 -07:00
52ecf7e5d5
picker: fix capitalization in comment
2015-10-21 14:33:59 -07:00
cbdc43cf9a
Fix variable name in comment
2015-10-21 20:47:16 +02:00
20ed1e924e
Replace bytes.Buffer with properly sized []byte in encode
2015-10-21 20:47:16 +02:00
0142d18c83
Merge pull request #406 from iamqizhao/master
...
rename some interop client flags
2015-10-20 19:12:33 -07:00
7afe4e5cec
rename some interop client flags
2015-10-20 16:49:37 -07:00
8309464e39
Merge pull request #405 from iamqizhao/master
...
recover the content-type check
2015-10-20 16:27:30 -07:00
6a026b9f10
recover the content-type check
2015-10-20 16:20:52 -07:00
fe63ec9c80
Merge pull request #404 from iamqizhao/master
...
attach content-type to trailer if the trailer is the only response.
2015-10-20 16:13:42 -07:00
9439d59e26
attach content-type to trailer if the trailer is the only response.
2015-10-20 16:05:38 -07:00
9210c87f85
Merge pull request #402 from iamqizhao/master
...
change the type of length from uint32 to uint
2015-10-15 13:29:51 -07:00
984280ba37
change the type of length
2015-10-15 13:22:54 -07:00
a90aeac84e
Merge pull request #401 from iamqizhao/master
...
some cleanup
2015-10-15 11:07:02 -07:00
61c1259226
some cleanup
2015-10-15 10:59:39 -07:00
ebeb34ad2f
Merge pull request #400 from dsymonds/master
...
Fix decoding of message headers for messages with lengths >= 2^24.
2015-10-15 01:16:43 -07:00
d3cb35a50a
Fix decoding of message headers for messages with lengths >= 2^24.
...
recvMsg was interpreting buf[1] as the payload format instead of buf[0];
since compressionNone (the only thing supported) == 0, recvMsg got lucky
for message lengths under 2^24, which has buf[1] == 0.
Fix the error, and ditch the constants in recvMsg. I think they were the
cause of the bug.
Also make encode fail more clearly if someone tries to transmit a
message that exceeds 2^32 bytes.
Fixes #399 .
2015-10-15 18:56:48 +11:00
f7d1653e30
Merge pull request #394 from iamqizhao/master
...
fix a comment
2015-10-08 14:29:52 -07:00
c0d1abc00e
fix a comment
2015-10-08 14:22:00 -07:00
471376a2ac
Merge pull request #393 from iamqizhao/master
...
Part1: revise Picker API
2015-10-08 11:18:22 -07:00
2097711be8
add picker.go
2015-10-08 11:12:04 -07:00
390cd42894
revise Picker API
2015-10-08 11:05:59 -07:00
1e4205e370
Merge pull request #392 from iamqizhao/master
...
bug fix: stop busy wait on new transport
2015-10-08 09:14:54 -07:00
ec8414396c
bug fix: stop busy wait on new transport
2015-10-08 09:09:06 -07:00
86d9dff62d
Merge pull request #390 from iamqizhao/master
...
refactor naming package
2015-10-07 17:37:29 -07:00
a80cf8dfe9
add a mutex to guard w.kv
2015-10-07 16:56:15 -07:00
8d7cb9253d
refactor naming package
2015-10-07 16:40:10 -07:00
6c8d213d08
Merge pull request #385 from nuss-justin/master
...
Avoid some allocations in recvMsg
2015-10-06 22:39:18 -07:00
e2cb78fabb
Combine const declarations into one block
2015-10-07 06:37:58 +02:00
02fd7b3ab4
Merge pull request #389 from iamqizhao/master
...
remove sync.WaitGroup param from ServerTransport.HandleStream
2015-10-06 16:58:19 -07:00
63a6c4155a
remove sync.WaitGroup param from ServerTransport.HandleStream
2015-10-06 16:44:30 -07:00
b36fcbe215
Merge pull request #388 from iamqizhao/master
...
fix the wrong reference link
2015-10-06 16:10:44 -07:00