1308 Commits

Author SHA1 Message Date
aecdccadd2 Merge pull request #683 from mwitkow/feature/propagate-authority
make :authority propagate to MD
2016-06-01 18:18:23 -07:00
89e77e914d Merge pull request #706 from menghanl/fix_golint
Fix golint
2016-06-01 18:12:45 -07:00
fc590f40e9 Fix golint errors 2016-06-01 16:40:26 -07:00
8213ee577a Merge pull request #684 from bdarnell/listener-leak
Fix a listener leak when a server is stopped before it starts
2016-05-25 15:49:35 -07:00
eec6ad361b authority: address comments from PR 2016-05-25 11:38:25 +01:00
bab01e8e85 Fix a listener leak when a server is stopped before it starts
If server.Stop() and server.Serve() race, Serve() can return without
closing the listener. This in turn can lead to clients timing out trying
to connect to a server that is neither accepting nor rejecting
connections.
2016-05-22 14:52:40 -04:00
b0b7afa173 Merge pull request #688 from menghanl/disable_grpc_tracing_in_benchmark
Disable grpc tracing in benchmark
2016-05-17 15:15:47 -07:00
de5d3de2fe Disable grpc tracing in benchmark 2016-05-17 14:06:45 -07:00
b564fc98e0 Merge pull request #677 from menghanl/multiple_histogram
Multiple histogram
2016-05-17 13:47:24 -07:00
613465d739 Use pointer receiver for locking histogram 2016-05-17 11:08:03 -07:00
71a11ef208 Wrap for lockingHistogram.add swap mergeInto 2016-05-17 10:59:28 -07:00
1ef2c5293f fix TestCompressOK and client reserved HTTP header handling 2016-05-17 14:35:18 +01:00
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
551c49844f Specify cap of slices 2016-05-16 18:30:58 -07:00
6c97293712 Use a struct of mutex and histogram in client 2016-05-16 18:29:06 -07:00
8ca2706d37 Address review comments 2016-05-16 18:28:16 -07:00
e54a726f0a make :authority propagate to MD 2016-05-16 18:10:00 +01:00
577b4b0d4c Address review comments 2016-05-13 10:36:50 -07:00
7bb7ec5e30 Reset lastResetTime after merging histograms 2016-05-13 10:01:46 -07:00
4c4ed377c7 Merge pull request #678 from menghanl/change_defalut_gomaxprocs
Use all cpu cores available on machine by default
2016-05-12 19:30:22 -07:00
15e50a43c6 Merge pull request #680 from heyitsanthony/client-retry-wakeup-shutdown
Interrupt retry Sleep() on client connection shutdown
2016-05-12 17:43:39 -07:00
2b2e776a9d Temporarily disable handler-tls for TestStreamServerInterceptor due to #619 2016-05-12 16:28:03 -07:00
8bdfd5961d Set number of cores explicitly if it is not specified and add TODO for core list 2016-05-12 15:03:42 -07:00
83e628beaa Merge pull request #679 from gyuho/example_typo
Documentation: fix metadata.FromContext example
2016-05-12 13:56:35 -07:00
46f2afd293 Interrupt retry Sleep() on client connection shutdown
Otherwise transportMonitor hangs around long enough after Close() that it
looks like a goroutine leak.
2016-05-12 13:14:22 -07:00
a5e20f67d1 Merge pull request #676 from iamqizhao/master
Release the quota taken in streamsQuota when an rpc is timeout or canceled
2016-05-12 11:48:33 -07:00
c4adca718a Documentation: fix metadata.FromContext example
metadata.FromContext returns additional boolean value.
This fixes the example in metadata documentation.
2016-05-12 11:07:32 -07:00
31cbd9ae6f Use all cpu cores available on machine by default 2016-05-12 11:03:29 -07:00
0dc39fe27f Golint and histogram opts compare 2016-05-11 17:57:59 -07:00
423a9dea78 Change getStats to do reseting if required. 2016-05-11 17:20:16 -07:00
09176558b4 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 15:50:31 -07:00
8d1806945e Release the quota taken in streamsQuota when an rpc is timeout or canceled. 2016-05-11 15:50:22 -07:00
54222d50cc Merge pull request #673 from iamqizhao/master
Change some compression related error code
2016-05-11 15:47:18 -07:00
9521f8ddae Change RWMutex to Mutex 2016-05-11 12:02:39 -07:00
e1243883d6 Merge histograms into one histogram in getStats 2016-05-11 11:51:36 -07:00
e0f9f26e85 remove the checking of empty string for recvCompress 2016-05-11 11:01:26 -07:00
b506f13d5b change the error code when the required decompressor is not installed 2016-05-11 10:46:23 -07:00
113bf2f219 Change some compression related error code 2016-05-10 13:54:10 -07:00
ab0be5212f Merge pull request #672 from iamqizhao/master
skip more go runtime goroutines in leak check.
2016-05-06 15:58:34 -07:00
af817236f6 skip more go runtime goroutines in leak check. 2016-05-06 15:20:15 -07:00
04f4ff6a1c Merge pull request #671 from iamqizhao/master
Fix a race of onRead couting
2016-05-06 14:29:59 -07:00
9ccc0dd988 Add histogram Merge function 2016-05-06 14:26:07 -07:00
4e30886378 Create a histogram for each goroutine 2016-05-06 14:19:32 -07:00
660a65ba7c Minor fixes
Move code around
2016-05-06 14:18:57 -07:00
dc1dd06ebe Fix a race of onRead couting 2016-05-06 12:01:14 -07:00
9604a2bb7d Revert "Fix onRead race"
This reverts commit 973c6ff04de19fa90e3ccb7029a591d6d782002f.
2016-05-06 11:57:52 -07:00
973c6ff04d Fix onRead race 2016-05-06 11:49:49 -07:00
43b6e14060 Add comments for exported fields 2016-05-05 10:48:20 -07:00
7bc11a0c29 Remove histogramValue 2016-05-04 18:09:24 -07:00
d846ac94b3 Simplify histogram 2016-05-04 17:54:34 -07:00