960 Commits

Author SHA1 Message Date
cbff74bfce Patching the rest of the test certs in the repo. 2015-11-11 15:27:42 -08:00
123c91d04f Updating the test SSL certs.
- For interoperability testing, we need the same certs everywhere.
- This was not possible before because Go could not deal with some field
  being encoded as PRINTABLESTRING in the CA and UTF8STRING in the
  server1 cert. However, the certs have been fixed in:
  https://github.com/grpc/grpc/pull/4096
- Also changed the go root testdata cert to avoid confusion (maybe there
  should not be that many copy of the certs in the repo but I will leave
  this to the repo maintainers).
2015-11-11 14:50:21 -08:00
3490323066 Merge pull request #438 from alexanderfahlke/fix-push-to-coveralls
removed automatic push to coveralls fixes grpc/grpc-go#436
2015-11-09 13:47:31 -08:00
5feafb6c20 removed automatic push to coveralls fixes grpc/grpc-go#436 2015-11-09 13:02:03 +01:00
1684e4a49b Merge pull request #433 from iamqizhao/master
Attach the payload from ping frame to ping ack
2015-11-06 14:19:32 -08:00
bcd6f37972 Attach the payload from ping frame to ping ack 2015-11-06 13:57:51 -08:00
93a9ed0baa Merge pull request #431 from iamqizhao/master
move some tests from end2end.go to clientconn_test.go
2015-11-06 13:42:42 -08:00
0be6721c85 coverage on multiple packages 2015-11-06 13:26:24 -08:00
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