8024a575aa
Don't call t.FailNow in goroutines started by tests.
...
The docs at https://golang.org/pkg/testing/#T.FailNow say:
> FailNow must be called from the goroutine running the test or
> benchmark function, not from other goroutines created during the
> test.
(Fatalf is documented as "Fatalf is equivalent to Logf followed by
FailNow.")
This was manifesting itself as a race with two concurrently failing
goroutines in my other CL, masking whatever the real problem was.
2016-02-01 19:15:37 +00:00
93591e7568
Merge pull request #508 from bradfitz/master
...
server: break up the Server.Serve method into some reusable parts
2016-01-29 15:51:48 -08:00
9d2ecf553a
server: break up the Server.Serve method into some reusable parts
...
Updates grpc/grpc-go#75
2016-01-29 23:20:54 +00:00
2e0ced7711
Merge pull request #513 from iamqizhao/master
...
Simplify compression API
2016-01-29 15:17:11 -08:00
af8888dc8d
remove Compressor/DecompressorGenerator
2016-01-29 14:38:20 -08:00
3f30c980d6
Merge pull request #509 from iamqizhao/master
...
Tune the server accepting code
2016-01-29 10:31:52 -08:00
9ec0eadc55
fix a nil map access bug
2016-01-28 18:51:38 -08:00
35db64de36
Tune the server accepting code
2016-01-28 15:59:36 -08:00
23d551898c
Merge pull request #505 from iamqizhao/master
...
Force flush headers frame for bi-di streaming
2016-01-27 19:03:04 -08:00
6d87263bd5
add test
2016-01-27 18:34:24 -08:00
086f6de8a8
force flush headers frame for server streaming and bi-di streaming
2016-01-27 16:39:34 -08:00
1147a9f0e9
Merge pull request #504 from iamqizhao/master
...
remove some commented code left from previous PRs
2016-01-26 17:49:40 -08:00
48d3f37c1f
remove some commented code left from previous PR
2016-01-26 16:21:22 -08:00
e29d659177
Merge pull request #500 from iamqizhao/master
...
Support connection level compression
2016-01-25 14:39:43 -08:00
8ced3f96cb
gofmt
2016-01-25 12:48:13 -08:00
6ad5faf0d7
more comments
2016-01-25 12:46:28 -08:00
a9cd71320c
add more comments
2016-01-25 11:52:24 -08:00
4258b32de7
Don't create buffer if compressor is nil
2016-01-25 11:47:04 -08:00
61d7c39d4c
comments and gofmt
2016-01-25 11:18:41 -08:00
da3bb0c9f7
Support compression
2016-01-22 18:21:41 -08:00
5da22b92e9
Merge pull request #492 from iamqizhao/master
...
Add missing trace finish on an uncommon code path
2016-01-14 17:41:25 -08:00
8e76d451dd
Add missing trace finish on an uncommon code path
2016-01-14 17:01:22 -08:00
b24c357536
Merge pull request #491 from iamqizhao/master
...
Finish tracing when failing to create a client stream
2016-01-14 15:03:58 -08:00
7172d5c7a6
Still show trace for the client streams which failed to create
2016-01-14 14:53:07 -08:00
59c74732bb
Don't trace when failing to create a cleint stream
2016-01-14 14:38:45 -08:00
9fafaa3e4f
Merge pull request #490 from iamqizhao/master
...
Specialize connection error handling
2016-01-14 12:27:47 -08:00
47fc4a2936
Specialize connection error handling to avoid goroutine leaking in some cases
2016-01-14 12:24:00 -08:00
7ed4629849
Merge pull request #488 from iamqizhao/master
...
Move callInfo into the right position
2016-01-07 14:58:23 -08:00
ea6e7189de
Move callInfo into the right position
2016-01-07 14:44:36 -08:00
0770c49273
Merge pull request #487 from iamqizhao/master
...
some missing comments
2016-01-07 14:43:47 -08:00
c1330e18aa
some missing comments
2016-01-07 14:18:20 -08:00
512086ed5b
Merge pull request #486 from xfxyjwf/doc
...
Fix the link to protoc installation instructions.
2016-01-07 14:10:24 -08:00
d89e41fc99
Fix the link to protoc installation instructions.
...
To install protoc, users should follow instructions in the README.md
file (INSTALL.txt has been removed because it misses crucial info
and confuses users).
2016-01-07 13:59:55 -08:00
843cf83608
Merge pull request #485 from iamqizhao/master
...
Expose peer info on server side
2016-01-07 11:41:41 -08:00
6ef6ed778a
test peer addr
2016-01-06 19:04:19 -08:00
350615a335
gofmt
2016-01-06 18:30:38 -08:00
2e9f81b418
fix comment
2016-01-06 18:30:03 -08:00
76515fa9fd
Remove context related functions in credentials
2016-01-06 18:26:33 -08:00
b36c5c6fd9
Expose peer info
2016-01-06 18:20:01 -08:00
78905999da
Merge pull request #480 from iamqizhao/master
...
Fix the benchmark client
2015-12-22 15:13:58 -08:00
3497fcb768
Fix the benchmark client
2015-12-22 15:00:37 -08:00
b9a4f2b9f9
Merge pull request #477 from iamqizhao/master
...
fix some comments and function names
2015-12-18 18:35:59 -08:00
855235934b
fix some comments
2015-12-18 18:25:28 -08:00
c414be5bc7
Merge pull request #476 from iamqizhao/master
...
deflake a test and interop test format fix
2015-12-18 18:15:55 -08:00
43952c57fa
remove garbbage file
2015-12-18 17:53:28 -08:00
fc710f297d
deflake a test
2015-12-18 17:51:05 -08:00
453b255dda
gofmt
2015-12-18 16:50:38 -08:00
9d7063767a
Merge pull request #475 from iamqizhao/master
...
Refactor interop tests
2015-12-18 16:37:39 -08:00
7239e4afea
Refactor interop tests
2015-12-18 16:26:06 -08:00
b937145520
Merge pull request #474 from iamqizhao/master
...
Allow HTML output for test coverage
2015-12-17 16:26:36 -08:00