iamqizhao
bcd6f37972
Attach the payload from ping frame to ping ack
2015-11-06 13:57:51 -08:00
iamqizhao
1c2c309b25
Cancel all active streams when a server connection is closed
2015-10-30 15:52:41 -07:00
iamqizhao
63a6c4155a
remove sync.WaitGroup param from ServerTransport.HandleStream
2015-10-06 16:44:30 -07:00
iamqizhao
bc49d12737
refactor servier side trace again
2015-10-05 17:49:53 -07:00
iamqizhao
d84ff12005
trace refactoring
2015-10-01 17:24:39 -07:00
David Symonds
eb3bd654cd
Switch from github.com/bradfitz/http2 to golang.org/x/net/http2.
...
The latter is now the official HTTP2 package for Go.
2015-09-24 18:12:31 +10:00
Tamir Duberstein
fe58c815dd
tests: use `testing.{B,T}` or return errors instead of crashing
2015-09-11 14:27:38 -04:00
iamqizhao
451c959f0d
fix transport_test
2015-08-24 14:09:09 -07:00
iamqizhao
3d051227b2
gofmt -w
2015-07-29 11:41:19 -07:00
iamqizhao
671e92a55a
fix typo
2015-07-29 11:40:08 -07:00
iamqizhao
4179d89d53
polish the newly added transport test
2015-07-29 11:15:58 -07:00
iamqizhao
199ad57e0d
update
2015-07-29 10:51:07 -07:00
iamqizhao
bf5381cf0e
fix transport_test
2015-05-29 11:16:24 -07:00
iamqizhao
042308eaf8
New streams block when max concurrent stream limit is reached.
2015-05-27 19:15:54 -07:00
Qi Zhao
e8c8cd8235
Revert "New streams are blocking when max concurrent stream limit is reached."
2015-05-27 18:02:55 -07:00
iamqizhao
c3c8cfb2da
fix tests
2015-05-27 16:01:18 -07: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
Peter Edge
5700d19d0e
Fix golint errors for non-generated code
2015-05-08 21:46:16 +02:00
iamqizhao
e8768ecbf0
add the missing transport_test.go
2015-04-21 16:37:22 -07:00
iamqizhao
9e7b7b143a
fix some logging
2015-04-17 15:37:08 -07:00
iamqizhao
888a267c6d
fix a typo
2015-04-17 14:41:18 -07:00
iamqizhao
24de319e1c
fix transport_test.go
2015-04-17 14:16:21 -07:00
iamqizhao
a8375891a8
inbound flow control fix
2015-04-12 14:45:59 -07:00
Qi Zhao
2d286d72e4
Revert "remove restoreConn because it is not needed"
2015-04-12 11:39:22 -07:00
iamqizhao
bb5e5536ed
remove restoreConn because it is not needed
2015-04-11 23:53:50 -07:00
iamqizhao
e64f63b025
small fix
2015-04-03 18:04:23 -07:00
iamqizhao
9dd6a107d8
fix a race in transport_test.go
2015-04-03 17:53:58 -07:00
iamqizhao
fba61d1bde
small fix
2015-04-03 16:46:27 -07:00
iamqizhao
51bc46aaf8
small fix
2015-04-03 16:34:18 -07:00
iamqizhao
c257e93ee2
small fix
2015-04-03 16:27:08 -07:00
iamqizhao
4320b5b158
support inbound flow control checking to protect against misbehaved peers
2015-04-03 15:25:00 -07:00
iamqizhao
9a5de0e954
make Codec configurable when creating grpc.ClientConn and grpc.Server
2015-04-01 14:02:26 -07:00
iamqizhao
c71f1d16c1
deflak a transport test
2015-03-22 13:57:37 -07:00
iamqizhao
e10de7abd1
fix some bugs
2015-03-13 00:16:18 -07:00
iamqizhao
c73e40b804
address some review comments
2015-03-04 11:15:10 -08:00
iamqizhao
fa215c2d4b
gofmt -w
2015-03-03 17:10:14 -08:00
iamqizhao
a5ca6e56d2
Support timeout for grpc.Dial
2015-03-03 17:08:39 -08:00
Matt T. Proud
6340c9ec1d
Gracefully deny supplemental transport shutdowns.
...
This commit ensures that transport shutdowns do not panic on
supplemental shutdowns, even if users should not attempt multiple
shutdowns. This is done to make the surface for users a little more
forgiving.
The _transport suffix in these implementation filenames are dropped
since they are already part of the transport package, which makes
the specification both redundant and adds stutter.
TEST=``go test ./...``
2015-02-25 21:42:08 +01:00
Matt T. Proud
a720ae6f48
Make error conveyance more idiomatic.
...
This commit applies two bulk changes to the grpc error reporting
mechanisms:
(1.) Error strings for errors that originate within grpc are prefixed
with the package name for better clarity for where they originate
since they could percolate up in the users call chains to the
originator.
(2.) Errors that are, in fact, singletons have been converted from
fmt.Errorf to errors.New and assigned as package-level variables.
This bodes particularly well for enabling API customers to elect to
handle these errors upon receipt via equality comparison. This had
been previous impossible with the original API.
Supplementarily, ``gofmt -w -s=true`` has been run on the repository to
cleanup residual defects, and it has detected and repaired a few.
TEST=Manual go test ./...
2015-02-19 13:17:17 +01:00
David Symonds
416f68f4b3
Update import paths to use the new official location of the Go gRPC package.
2015-02-09 11:46:20 +11:00
David Symonds
e71095e0ec
Move source files up one level.
...
The top-level directory in this repository is going to be
the main "grpc" package.
2015-02-09 11:33:38 +11:00