Menghan Li
477d54e0c9
Do not send reset stream on context timeout
2016-09-02 14:15:23 -07:00
Menghan Li
5e734ab23e
Avoid creating transport stream error outside of transport
2016-09-02 11:57:42 -07:00
Qi Zhao
4c8d05f3b1
Merge pull request #864 from tamird/retry-timeout
...
transport: robustly detect temporary errors
2016-08-26 15:02:58 -07:00
iamqizhao
61f62e0da6
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-08-26 13:51:46 -07:00
iamqizhao
1e47e17230
Support client side interceptor
2016-08-26 13:50:38 -07:00
Qi Zhao
d736c1182a
Merge pull request #851 from menghanl/server_cred_return_nil_conn
...
Add credentials ErrConnDispatch to tell gRPC to keep rawConn open
2016-08-26 11:50:23 -07:00
Menghan Li
d4b6ce0cfe
Merge pull request #861 from iamqizhao/master
...
Add an err logging to testFailFast
2016-08-26 10:33:23 -07:00
Tamir Duberstein
e1b61502bc
test: remove useless local variable
2016-08-25 21:30:54 -04:00
Tamir Duberstein
4775d9da13
test: DRY
2016-08-25 21:30:54 -04:00
Tamir Duberstein
1689a9c9eb
test: output codes as strings in failure messages
2016-08-25 21:30:52 -04:00
iamqizhao
935fb215d6
fix
2016-08-25 16:30:04 -07:00
iamqizhao
42e031a928
Use fmt instead grpclog
2016-08-25 15:13:27 -07:00
iamqizhao
4c15c984f2
change to Printf
2016-08-25 15:04:02 -07:00
iamqizhao
152c95e0d8
add err logging to testFailFast
2016-08-24 16:34:37 -07:00
Menghan Li
0c58a17d6f
Add credentials ErrConnDispatch
2016-08-24 16:20:57 -07:00
Menghan Li
d3a6b8a57f
Add TestNonFailFastRPCSucceedOnTimeoutCreds
2016-08-24 15:38:04 -07:00
Tamir Duberstein
abe69848df
travis: update all the tools
...
Fix new golint complaints
2016-08-18 16:53:48 -04:00
Menghan Li
35896af9ad
Merge pull request #768 from menghanl/fatal_on_bad_certificates
...
Return error on bad certificates
2016-08-02 21:27:28 -07:00
Menghan Li
63e2ba4fce
Temporarily disable handler-tls for TestClientStreamingError due to #619
2016-08-01 16:52:41 -07:00
Menghan Li
f6b46c1787
Fix errors after rebasing
2016-08-01 16:01:10 -07:00
Menghan Li
4bbb9d8142
Add test env for no-balancer
2016-08-01 15:55:08 -07:00
Menghan Li
1a571b746a
Add TestFailFastRPCWithNoBalancerErrorOnBadCertificates TestNonFailFastRPCWithNoBalancerErrorOnBadCertificates
2016-08-01 15:55:08 -07:00
Menghan Li
7c6eabc607
Make Dial() return original error
2016-08-01 15:55:08 -07:00
Menghan Li
b41c9e8e14
Add TestFailFastRPCErrorOnBadCertificates
2016-08-01 15:55:08 -07:00
Menghan Li
779083c633
Change TestDialWithBlockErrorOnBadCertificates error check
2016-08-01 15:55:08 -07:00
Menghan Li
e9e6ae6215
Make Dial() withblock error on bad certificates
2016-08-01 15:55:08 -07:00
Tamir Duberstein
5a423e610f
test: fix log noise
2016-08-01 16:28:14 -04:00
iamqizhao
21c5a43e47
fix a race condition causing http2Client.controller leaking
2016-08-01 11:51:20 -07:00
iamqizhao
058603d782
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-30 11:40:40 -07:00
iamqizhao
2f16a90cc7
tune a end2end test
2016-07-30 11:18:58 -07:00
iamqizhao
fc500c24f6
fix go vet error
2016-07-29 18:08:00 -07:00
iamqizhao
a4c08780d5
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-29 10:10:58 -07:00
Tamir Duberstein
069ed42115
Fix deadlock when GracefulStop()ing multiple times
...
Fixes #793 .
2016-07-29 12:26:26 -04:00
iamqizhao
5876dcba5e
a minor fix
2016-07-28 18:57:53 -07:00
Menghan Li
f255f72742
Merge pull request #784 from iamqizhao/race-fix
...
Fix a couple of races when goaway lives with connection shutdown.
2016-07-28 15:40:27 -07:00
Tamir Duberstein
096e703537
WithDialer doesn't support cancellation
...
This maintains cancellation for the default dialer, but external users
will have to opt in via a future API.
2016-07-28 17:00:23 -04:00
iamqizhao
b128e7465a
merge the conflict
2016-07-28 13:17:23 -07:00
iamqizhao
c3a89f91a6
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-28 13:04:50 -07:00
Qi Zhao
38383692ba
Merge pull request #778 from tamird/golint-govet
...
*: enforce various linters
2016-07-28 11:22:02 -07:00
iamqizhao
cd4ca4d808
Tune transport Monitor, modify the test and add more comments
2016-07-28 11:07:42 -07:00
Tamir Duberstein
220b464e81
*: golint
2016-07-27 23:38:59 -04:00
iamqizhao
63fcabeec5
some polish
2016-07-27 17:41:43 -07:00
iamqizhao
110450d45e
fix races introduce by goaway
2016-07-27 17:27:10 -07:00
Tamir Duberstein
61f3f61ef0
cancel outgoing net.Dial when ClientConn is closed
2016-07-27 17:34:40 -04:00
Tamir Duberstein
2342e38669
test,transport: simplify
2016-07-27 17:20:55 -04:00
iamqizhao
8c908a8c1d
Reject over-sized requests on server
2016-07-26 16:44:49 -07:00
iamqizhao
b12fa98959
small touchup
2016-07-25 17:41:47 -07:00
iamqizhao
f1e4d3b180
allow multiple GoAways and retrying on illegal streams
2016-07-25 16:35:32 -07:00
iamqizhao
046e606dc5
clean up
2016-07-21 18:12:01 -07:00
iamqizhao
9ad4c58355
Make it work for streaming
2016-07-21 16:19:34 -07:00
iamqizhao
873cc272c2
support goaway
2016-07-20 18:48:49 -07:00
iamqizhao
1ea428008b
add the missing close(s.done)
2016-07-15 16:55:51 -07:00
iamqizhao
ec7eacfcc4
some fix
2016-07-15 11:02:03 -07:00
iamqizhao
7b7cb1ae8c
fix bugs and flaky tests
2016-07-14 17:12:11 -07:00
iamqizhao
48068bbe62
remove debugging info
2016-07-13 18:13:28 -07:00
iamqizhao
6205cb25ab
fix some bugs
2016-07-13 18:05:02 -07:00
iamqizhao
f53faa647d
minor fix
2016-07-12 19:26:12 -07:00
iamqizhao
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
Menghan Li
1b5902d709
Fix review comments
2016-07-08 14:15:16 -07:00
Daniel Ruehle
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
Daniel Ruehle
d2125eeb91
fix error comparison
2016-07-08 10:28:36 -07:00
Daniel Ruehle
55fbdb44ea
compare error strings, not interfaces
2016-07-08 10:28:36 -07:00
iamqizhao
605ce23104
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-06-30 15:11:56 -07:00
iamqizhao
c477cb3b14
fix the flaky test
2016-06-30 14:26:31 -07:00
Menghan Li
a6bacfe42c
Fix go vet
2016-06-29 13:36:10 -07:00
iamqizhao
213a20c4fe
bug fix, typo fix and slight error refactoring
2016-06-28 16:08:19 -07:00
iamqizhao
01ef81a4d9
minor fix including removal of debugging logs, error code fix, etc.
2016-06-27 15:30:20 -07:00
iamqizhao
3e71fb360d
Support fail-fast mode and make it the default
2016-06-27 14:36:59 -07:00
Menghan Li
0f84d515bb
Remove printing context from end2end_test UnaryCall()
2016-06-07 16:43:16 -07:00
iamqizhao
404e9b67de
dial time out
2016-06-06 12:08:11 -07:00
iamqizhao
aa08f14740
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-06-01 18:18:43 -07:00
Qi Zhao
aecdccadd2
Merge pull request #683 from mwitkow/feature/propagate-authority
...
make :authority propagate to MD
2016-06-01 18:18:23 -07:00
iamqizhao
5d62215b41
some minor fixes
2016-05-18 16:26:12 -07:00
iamqizhao
162d8d2d33
Tune Invoke behavior for the new Balancer.
2016-05-18 11:18:10 -07:00
Michal Witkowski
1ef2c5293f
fix `TestCompressOK` and client reserved HTTP header handling
2016-05-17 14:35:18 +01:00
iamqizhao
5dafdb0a17
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-05-16 18:54:48 -07:00
Qi Zhao
e802f420af
Merge pull request #681 from menghanl/disable_handlertls_streamserverhandler
...
Temporarily disable handler-tls for TestStreamServerInterceptor due to #619
2016-05-16 18:51:03 -07:00
iamqizhao
73ff8375a6
Remove debugging logs and add license.
2016-05-16 15:47:46 -07:00
iamqizhao
aa532d5baf
Fix some issues and remove garbbage files
2016-05-16 15:31:00 -07:00
iamqizhao
03cdc42949
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-05-12 17:02:23 -07:00
Menghan Li
2b2e776a9d
Temporarily disable handler-tls for TestStreamServerInterceptor due to #619
2016-05-12 16:28:03 -07:00
iamqizhao
5cb0ac1fcc
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-05-11 17:09:07 -07:00
iamqizhao
09176558b4
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-05-11 15:50:31 -07:00
iamqizhao
8d1806945e
Release the quota taken in streamsQuota when an rpc is timeout or canceled.
2016-05-11 15:50:22 -07:00
iamqizhao
113bf2f219
Change some compression related error code
2016-05-10 13:54:10 -07:00
iamqizhao
64ed38ebed
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-05-06 16:30:45 -07:00
iamqizhao
9c2d8546bf
load balancer
2016-05-06 15:47:09 -07:00
iamqizhao
af817236f6
skip more go runtime goroutines in leak check.
2016-05-06 15:20:15 -07:00
iamqizhao
e4bb85b43f
Support the stream interceptor on server side.
2016-04-21 14:58:45 -07:00
iamqizhao
293b2f9fa8
Close errorChan even when there is no pending I/O
2016-04-21 13:42:59 -07:00
iamqizhao
310ca08496
gofmt -w
2016-04-19 16:04:09 -07:00
iamqizhao
c321387fd9
the installation of server unary interceptor
2016-04-19 15:54:30 -07:00
iamqizhao
eae2b52e5d
Temporarily disable handler-tls for TestHealthCheckOff due to #619
2016-04-07 16:01:36 -07:00
iamqizhao
b0a5402a2a
fix a test error msg
2016-03-30 11:10:27 -07:00
iamqizhao
a31af4bde2
Add some comments to the new test.
2016-03-22 10:56:29 -07:00
iamqizhao
a098b2c182
Specialize http2.StreamError when the server reads frames
2016-03-21 18:23:30 -07:00
Victor Vieux
047af78181
fix a few typos
2016-03-16 16:40:16 -07:00
Qi Zhao
b4b62c5f29
Merge pull request #571 from bradfitz/internal
...
Remove test-only methods from grpc package.
2016-02-26 14:33:54 -08:00
iamqizhao
a5e4790bfe
coalesce runtime_mcall cases
2016-02-25 17:36:29 -08:00
iamqizhao
d5c0571ebc
skip all goroutines in C code for the leak detector
2016-02-25 16:55:22 -08:00
iamqizhao
47353752e9
add more uninteresting goroutines for the leak detector
2016-02-25 14:03:22 -08:00
Brad Fitzpatrick
0f80f5b995
Remove test-only methods from grpc package.
...
Move the test-only methods to a new internal package so as to not
pollute the godoc, and to prevent people from using them. (Packages
named internal or under internal are private, and enforced by the go
tool)
2016-02-25 13:30:19 -08:00
Qi Zhao
89f694edb4
Merge pull request #569 from bradfitz/error_map
...
Fix crashes where transports returned errors unhandled by the message parser
2016-02-24 18:22:25 -08:00
Brad Fitzpatrick
110fd99e30
Fix crashes where transports returned errors unhandled by the message parser.
...
The http.Handler-based transport body reader was returning error types
not understood by the recvMsg parser. See #557 for some background and
examples.
Fix the http.Handler transport and add tests. I copied in a subset of
the http2 package's serverTest type, adapted slightly to work with
grpc. In the process of adding tests, I discovered that
ErrUnexpectedEOF was also not handled by the regular server
transport. Document the rules and fix that crash as well.
Unrelated stuff in this CL:
* make tests listen on localhost:0 instead of :0, to avoid Mac firewall
pop-up dialogs.
* rename parser.s field to parser.r, to be more idiomatic that it's an
io.Reader and not anything fancier. (it's not acting like type
stream, even if that's the typical concrete type)
* move 5 byte temp buffer into parser, rather than allocating it for
each new message. (drop in the bucket improvement in garbage; more
to do later)
* rename http2RSTErrConvTab to http2ErrConvTab, per Qi's earlier
CL. Also add the HTTP/1.1-required error mapping for completeness,
not that it should ever arise with gRPC, also per Qi's earlier CL
referenced in #557 .
2016-02-24 15:09:17 -08:00
iamqizhao
91254844e8
add more uninteresting goroutines for leak checker
2016-02-23 16:01:42 -08:00
iamqizhao
3839435526
change health check package name
2016-02-18 13:10:06 -08:00
Brad Fitzpatrick
b1097423a0
test: improve test readability; use newTest helper everywhere
...
This removes serverSetUp and clientSetUp. They had too many positional
parameters and weren't readable at the call sites.
With this change, it's now much more obvious how a test differs from
others just be looking at what is tinkered with after newTest.
Change-Id: I59bb06f8029af166002033f2c3f7b8f0b2d20940
2016-02-16 11:15:16 +00:00
Qi Zhao
01de3de50a
Merge pull request #546 from bradfitz/quiet
...
test: reduce end2end log spam
2016-02-16 01:02:10 -08:00
Brad Fitzpatrick
ffa8131f46
test: reduce end2end log spam
...
Filter expected log output by default, unless a flag is provided, or a
test fails.
This makes it possible to see unexpected things. Having noisy tests
makes it too easy to miss actual problems.
2016-02-13 00:33:23 +00:00
Brad Fitzpatrick
d2d9c0a73a
Fix flakiness of TestCancelNoIO with http.Handler-based server transport.
...
It wasn't closing the recvBuffer body in all cases during shutdown.
This change also:
* adds a new test with concurrent streams doing their own serial sends.
This test was part of earlier debugging, but exists now to add more
test coverage around concurrency.
* starts a cleanup of the end2end testing code, to be continued later.
but the cleanup was necessary when writing the new test to be clean
and not add more positional parameters.
* documents the concurrency expectations of the ServerTransport
interface, cleaning up some other nearby documentation in the
process.
* speeds up TestCancelNoIO to cancel some contexts once no longer
needed, adding some comments about what the test is doing, adds some
TODOs, and reduces some overly-long sleeps.
2016-02-12 23:24:53 +00:00
Brad Fitzpatrick
7346c871b0
Add a ServeHTTP method to *grpc.Server
...
This adds new http.Handler-based ServerTransport in the process,
reusing the HTTP/2 server code in x/net/http2 or Go 1.6+.
All end2end tests pass with this new ServerTransport.
Fixes grpc/grpc-go#75
Also:
Updates grpc/grpc-go#495 (lets user fix it with middleware in front)
Updates grpc/grpc-go#468 (x/net/http2 validates)
Updates grpc/grpc-go#147 (possible with x/net/http2)
Updates grpc/grpc-go#104 (x/net/http2 does this)
2016-02-12 00:16:28 +00:00
Qi Zhao
3c4302b713
Merge pull request #543 from bradfitz/teststuff
...
test: misc cleanups
2016-02-10 16:46:20 -08:00
Brad Fitzpatrick
a62244ef28
test: misc cleanups
...
* test header and metadata separately
* fix an incorrect error message
* ignore optional header fields in response (date, trailer)
2016-02-10 21:37:18 +00:00
Brad Fitzpatrick
3d9421a8e5
test: shorten goroutine-heavy test in race mode
...
The go race detector has a limit on how many goroutines it can track.
This test is only barely acceptable and the presence of any new
goroutines push it over the edge. Shorten this test is race mode.
2016-02-10 21:30:19 +00:00
iamqizhao
6079240b2c
remove fail_on_leak flag
2016-02-08 14:50:27 -08:00
iamqizhao
77ccaa8fb2
Close ServerTransport instead of the raw connection
2016-02-08 14:27:06 -08:00
Brad Fitzpatrick
fc0c458b89
Fix test-only goroutine leaks; add leak checker to end2end tests.
...
Some leaks remain, so this is disabled for now.
Updates grpc/grpc-go#528
2016-02-08 15:03:15 +00:00
Qi Zhao
a0f854fec2
Merge pull request #515 from bradfitz/fatalf
...
Don't call t.FailNow in goroutines started by tests.
2016-02-01 12:50:34 -08:00
Brad Fitzpatrick
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
iamqizhao
af8888dc8d
remove Compressor/DecompressorGenerator
2016-01-29 14:38:20 -08:00
iamqizhao
6d87263bd5
add test
2016-01-27 18:34:24 -08:00
iamqizhao
61d7c39d4c
comments and gofmt
2016-01-25 11:18:41 -08:00
iamqizhao
da3bb0c9f7
Support compression
2016-01-22 18:21:41 -08:00
iamqizhao
6ef6ed778a
test peer addr
2016-01-06 19:04:19 -08:00
iamqizhao
b36c5c6fd9
Expose peer info
2016-01-06 18:20:01 -08:00
iamqizhao
a98f0170cf
fix some print format errors
2015-12-16 11:36:52 -08:00
iamqizhao
330d8f958c
i) revise picker API and channel state API; ii) add unicastNamingPicker which supports custom name resolving.
2015-12-14 14:32:43 -08:00
iamqizhao
cb8841c36e
move some tests from end2end.go to clientconn_test.go
2015-11-06 11:33:13 -08:00
iamqizhao
afca514667
Improve rpc cancellation when there is no pending I/O
2015-10-22 13:07:13 -07:00
iamqizhao
f13f7f6db6
cleanup a test
2015-10-22 11:56:32 -07:00
iamqizhao
78e8635e67
cleanup a test
2015-10-22 11:55:01 -07:00
iamqizhao
7fcfcfa816
fix a counting race for max streams.
2015-10-22 11:00:21 -07:00
iamqizhao
17b181003d
remove debug info
2015-10-21 15:24:16 -07:00
iamqizhao
e18e2c8054
fix a bug in test
2015-10-21 15:21:58 -07:00
iamqizhao
67646dc278
update health check to the latest version
2015-09-17 14:36:11 -07:00
Tamir Duberstein
fe58c815dd
tests: use `testing.{B,T}` or return errors instead of crashing
2015-09-11 14:27:38 -04:00
Tamir Duberstein
a6fe03ae2e
credentials.TLSInfo: export State
2015-09-08 14:30:17 -04:00
iamqizhao
9ba820ef6a
add tests
2015-08-28 13:50:04 -07:00
iamqizhao
87c361b5a5
check transport security when using oauth2-based credentials
2015-08-28 13:19:36 -07:00
iamqizhao
996538ab4b
Insecure ClientConn made explicit
2015-08-27 17:21:52 -07:00
iamqizhao
f49ac9d0df
rename Type()
2015-08-26 13:43:04 -07:00
iamqizhao
ef3d58fc04
add test
2015-08-26 13:11:34 -07:00
iamqizhao
c0e23d7ef3
make the tests happy
2015-08-26 12:40:24 -07:00
iamqizhao
97574c6499
make the test happy
2015-08-24 11:40:40 -07:00
yangzhouhan
e1eaac2884
add empty string check
2015-08-13 18:15:11 -07:00
yangzhouhan
5a78be3dbb
update healthCheck service
2015-08-13 15:16:59 -07:00
yangzhouhan
1f14f6f0c5
gofmt
2015-08-10 17:34:20 -07:00
yangzhouhan
bf963e1bb3
change end2end test
2015-08-10 16:59:16 -07:00
yangzhouhan
54f53f005e
remove unused code
2015-08-10 16:10:19 -07:00
yangzhouhan
484e2d96e5
change the metadata datastructure
2015-08-10 16:06:27 -07:00
iamqizhao
7fbf442f72
gofmt -w
2015-08-03 13:24:14 -07:00
iamqizhao
aefa16d77f
add a bit more test
2015-08-03 13:09:15 -07:00
iamqizhao
14702f8b6a
channel state API
2015-07-31 19:00:43 -07:00
iamqizhao
a95e7d874d
allow space-delimited application-provided user agent
2015-07-24 17:29:42 -07:00
iamqizhao
9fc076dd02
fix a flaky end2end test due to PR#248
2015-07-24 14:31:04 -07:00
iamqizhao
c33d1609af
refactor a bit
2015-07-24 11:39:27 -07:00
iamqizhao
611d960757
support user-agent and allow users attach their own application user agent string
2015-07-24 11:19:08 -07:00
yangzhouhan
b022c50ebe
modify something
2015-07-23 18:06:59 -07:00
yangzhouhan
e6a0e51ad1
modify the status map type
2015-07-23 18:01:20 -07:00
yangzhouhan
a09d93d316
fix fatal message
2015-07-23 17:47:32 -07:00
yangzhouhan
89139c920f
format
2015-07-23 17:41:57 -07:00
yangzhouhan
cdea3603c3
add space
2015-07-23 17:40:49 -07:00
yangzhouhan
8e88badc72
modify the fatal message
2015-07-23 17:35:44 -07:00
yangzhouhan
a5348d9bde
change error information
2015-07-23 17:14:27 -07:00
yangzhouhan
9d4ac0cac5
fix mutex problems and merge multiple servingstatus to one single test
2015-07-23 14:45:27 -07:00
yangzhouhan
dc36cdbfdd
add mutex and create newHealthServer Function
2015-07-22 16:26:16 -07:00
yangzhouhan
901c3e574c
remove redundent space
2015-07-22 16:06:15 -07:00
yangzhouhan
34f97a03ae
minor changes
2015-07-22 16:04:53 -07:00
yangzhouhan
58e5eda3f4
update health check service and corresponding end2end test
2015-07-22 10:32:39 -07:00
yangzhouhan
bd29c7cc2a
change healthcheck end2end test
2015-06-16 17:11:12 -07:00
yangzhouhan
272079efe3
change the implementation of healthcheck and corresponding tests
2015-06-16 16:13:51 -07:00
yangzhouhan
dbf1048b08
change the health check implementation
2015-06-16 12:16:25 -07:00
yangzhouhan
89311abb67
delet
2015-06-15 16:49:54 -07:00
yangzhouhan
39c37122c8
change back the test env parameters
2015-06-15 16:46:38 -07:00
yangzhouhan
33b85530fb
add HealthCheck feature and corresponding end2end tests
2015-06-15 16:37:18 -07:00
Qi Zhao
4a6b2accdd
Merge pull request #211 from iamqizhao/master
...
use more realistic timeout value in the test
2015-06-05 15:26:00 -07:00
iamqizhao
2768cd33c8
use more realistic timeout value in the test
2015-06-05 15:21:31 -07:00
Qi Zhao
d94dcabef2
Merge pull request #200 from peter-edge/makefile
...
Makefile
2015-06-05 14:27:22 -07:00
iamqizhao
ec20a7b857
make dialing nonblocking by default. Add a DialOption to force blocking operation.
2015-06-04 15:45:06 -07:00
iamqizhao
8df7c3fd84
i) update streamsQuota only if streamsQuota is there when the stream is created; ii) move ops of streamsQuota out of mutex of the transport (except acquire())
2015-05-28 13:43:27 -07:00
iamqizhao
458d514e70
new streams block when the max concurrent stram limit is reached.
2015-05-27 19:03:21 -07:00
iamqizhao
c3c8cfb2da
fix tests
2015-05-27 16:01:18 -07:00
iamqizhao
1b5f15dda8
blocking when max concurrent stream limit is reached.
2015-05-26 18:14:05 -07:00
Peter Edge
f5bae617c6
Add a Makefile to show development commands
...
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-05-24 16:05:35 +02:00
iamqizhao
3617cd5ab3
revert handshaker changes
2015-05-12 17:59:20 -07:00
Peter Edge
7c025e8694
move log package references to grpclog
2015-05-09 11:43:59 +02:00
Peter Edge
101c1e1935
change log package references to grpc/log
2015-05-09 01:16:40 +02:00
iamqizhao
2cf2d0871b
remove WithNetwork and add WithDialer to have more flexibility on dialing
2015-04-21 16:19:29 -07:00
iamqizhao
755059ebd3
remove some logging
2015-04-17 14:03:53 -07:00
iamqizhao
1b6e3a9200
gofmt
2015-04-17 14:00:21 -07:00
iamqizhao
3259049490
fix some typos and run gofmt
2015-04-17 13:50:18 -07:00
iamqizhao
319a8b74a7
close the ClientConn when a test case is done.
2015-03-25 18:39:17 -07:00
iamqizhao
591c1176bc
modify a comment
2015-03-23 12:36:08 -07:00
iamqizhao
9c6754e004
fix a malformed error status
2015-03-23 11:47:27 -07:00
iamqizhao
51496073b8
enlarge the dial timeout in a test case because travis might not be able to finish it in time.
2015-03-13 00:50:16 -07:00
iamqizhao
e10de7abd1
fix some bugs
2015-03-13 00:16:18 -07:00
iamqizhao
e6b45390ca
Remove a debug log
2015-03-06 17:35:54 -08:00
iamqizhao
85034d5828
fix double wrapping of rpc status
2015-03-05 18:52:06 -08:00
iamqizhao
1182c6e87c
minor polish
2015-03-05 14:24:32 -08:00
iamqizhao
57c1951dc9
tightened some rpcErr loose ends and revised some tests
2015-03-05 13:56:48 -08:00