8afb9cb8f3
vet.sh: set PATH to force downloaded binaries to be run ( #1529 )
2017-09-20 11:19:09 -07:00
4768575235
Fix format error on travis ( #1527 )
2017-09-20 09:30:13 -07:00
dce316936b
Move primitives benchmarks to package primitives_test ( #1522 )
2017-09-19 16:43:00 -07:00
a7dba25a82
Speed up end to end tests by removing an unnecessary sleep ( #1521 )
2017-09-18 11:48:03 -07:00
bb78878767
Change quota version to uint32 instead on uint64 ( #1517 )
2017-09-14 17:40:38 -07:00
35170916ff
Fix deadline error on grpclb streams ( #1511 )
2017-09-14 15:03:22 -07:00
894322f00c
Dedicated goroutine for writing. ( #1498 )
2017-09-14 13:44:14 -07:00
c443156028
benchmark: add primitives benchmarks for informational purposes ( #1501 )
2017-09-11 10:49:50 -07:00
3214f767e5
Truncate payload trace string, and turn trace off by default ( #1509 )
2017-09-08 11:13:41 -07:00
d46a3655c4
Add leak goroutine checking to grpc/balancer tests ( #1497 )
2017-09-07 14:30:05 -07:00
067cb1fcbf
Add RegisterIgnoreGoroutine to leakcheck package ( #1507 )
2017-09-07 09:57:31 -07:00
4bbe223b12
remove a debug print that causes deadlock ( #1505 )
2017-09-05 11:07:52 -07:00
91999f444f
vet.sh: fix protoc installation ( #1502 )
2017-09-01 16:45:41 -07:00
8233e124e4
Add new Resolver and Balancer APIs (gRFC L9) ( #1408 )
...
- Add package balancer and resolver.
- Change ClientConn internals to new APIs and adds a wrapper for v1 balancer.
2017-08-31 10:59:09 -07:00
1ea63c9e71
Fix to avoid annoying firewall dialog on macOS ( #1499 )
...
macOS throws up an annoying firewall dialog with the following
question every time you start the route_guide/server:
Do you want the application “server” to accept incoming network connections?
This simple fix of actually typing out `localhost` seems to fix
this problem.
2017-08-31 10:24:01 -07:00
e67952ee26
Move leak check into a separate leakcheck package ( #1445 )
2017-08-31 10:16:06 -07:00
3a378f9deb
Change version to 1.7.0-dev ( #1496 )
2017-08-30 13:32:29 -07:00
47d8591b12
Run Go1.9 and 386 on Travis ( #1475 )
2017-08-29 16:29:31 -07:00
d6870035ab
Check "x/net/context" with go vet
like "context" ( #1490 )
...
* Check "x/net/context" with `go vet` like "context"
Includes a signficant revamp of .travis.yml to execute a separate script for
all of the things we check before allowing a merge.
* fix bug in benchmain
2017-08-29 15:40:57 -07:00
85a1e381f1
benchmain: add nop compressor and other usability tweaks ( #1489 )
2017-08-29 11:41:55 -07:00
e60698345e
Fix context warnings from govet. ( #1486 )
...
Pre-req work for #1484
2017-08-29 11:04:15 -07:00
7fd9c2c66f
benchmain: minor bug fixes ( #1488 )
2017-08-29 10:55:39 -07:00
2be1bca94f
Update proto generation commands in example doc ( #1481 )
2017-08-28 12:27:18 -07:00
e696c3d4da
Remove expiration_interval from grpclb message ( #1477 )
2017-08-28 10:30:49 -07:00
41127174ce
balancer_test: possible ctx leak, cancel before break ( #1479 )
2017-08-28 08:51:54 -07:00
5db24c9758
Merge pull request #1476 from dfawley/pkg
...
Rename packages for grpclb messages/service to match directory name
2017-08-25 15:20:53 -07:00
2b9fb51017
Fix for 32-bit architectures ( #1471 )
2017-08-25 15:09:36 -07:00
39596153a9
When sending a non heads-up goaway close the connection if there are no active streams. ( #1474 )
2017-08-25 14:57:41 -07:00
526ef32890
Rename packages for grpclb messages/service to match directory name
2017-08-25 14:34:15 -07:00
fa59b779e8
Remove unnecessary function handleStreamSuspension ( #1468 )
2017-08-25 13:51:53 -07:00
e98913eca1
fix grpclb protos to not cause re-registration of types ( #1466 )
2017-08-25 13:32:10 -07:00
0b4b292f3a
transport: fix handling of InTapHandle's returned context ( #1461 )
2017-08-25 13:18:45 -07:00
8336807293
the cancel function should be called to avoid ctx leak ( #1465 )
2017-08-25 13:10:07 -07:00
051e7013db
add comment ( #1464 )
2017-08-25 13:09:52 -07:00
01089b2972
Remove buf copy when the compressor exist ( #1427 )
2017-08-25 12:26:38 -07:00
c29d6389e6
transport: Fix deadlock in client keepalive. ( #1460 )
...
When gRPC keepalives are enabled (which isn't the case by default at
this time) and PermitWithoutStream is false (the default), the client
can deadlock when transitioning between having no active stream and
having one active stream. Subsequent attempts to create a new stream
or to close the client will hang on the transport's mutex, while the
keepalive goroutine is waiting indefinitely on a channel while holding
the transport's mutex.
This fixes #1459 .
2017-08-25 11:18:52 -07:00
7db1564ba1
benchmark: add benchmain/main.go to run benchmark with flag set ( #1352 )
2017-08-24 10:08:43 -07:00
69abda08b5
stats: add methods to allow setting grpc-trace-bin and grpc-tags-bin headers ( #1404 )
...
This is in preparation for preventing any user-supplied metadata starting with "grpc-", which is reserved.
* stats: add methods to allow setting grpc-trace-bin and grpc-tags-bin headers
Pick these up in grpc's transport when sending and fill them when receiving.
* Add tags/trace to metadata and tests for that behavior
This is temporary to maintain compatibility and provide a migration strategy.
2017-08-24 10:00:40 -07:00
9b6ac7ddb7
deduplicate dns record in lookup ( #1454 )
...
deduplicate dns record in lookup
2017-08-23 13:45:01 -07:00
25d6e52b68
Add -u to installation command ( #1451 )
2017-08-23 10:39:14 -07:00
2308131c44
addrConn: change address to slice of address ( #1376 )
...
* addrConn: change address to slice of address
* add pickfirst balancer to test new addrconn
2017-08-21 12:27:04 -07:00
25b4a426b4
go-generate pb.go files and check in Travis to make sure they don't change ( #1426 )
2017-08-17 16:00:51 -07:00
5d9b09e422
Fix host string passed to PerRPCCredentials ( #1433 )
2017-08-17 15:59:03 -07:00
596a6acc87
metadata: Remove NewContext and FromContext for gRFC L7 ( #1392 )
2017-08-17 13:10:28 -07:00
bfaf042346
Add status details support to server HTTP handler ( #1438 )
2017-08-15 10:45:05 -07:00
1308414496
put *gzip.Writer back to pool ( #1441 )
2017-08-14 15:23:10 -07:00
9d99afc2fd
Automatic WriteStatus for RecvMsg/SendMsg error on server side ( #1409 )
...
automatically WriteStatus if there's any error when RecvMsg/SendMsg on server side.
2017-08-14 12:24:23 -07:00
43d1787a0c
Update ServerInHandle comments ( #1437 )
...
* Update ServerInHandle comments
* Include code string not code number for RST_STREAM
2017-08-14 10:05:02 -07:00
7657092a13
Server should send 2 goaway messages to gracefully shutdown the connection. ( #1403 )
...
* First commit.
* Basic implementation
* Server should send two GoAways to gracefully shutdown the connection.
* mend
* Post-review updates
* Fixed issue after rebase
* Fixing typo
2017-08-09 14:16:03 -07:00
e81b5698fd
Add and use connectivity package for states ( #1430 )
...
* Add and use connectivity package
* Mark cc state APIs as experimental
2017-08-09 10:31:12 -07:00