Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
iamqizhao bf5381cf0e fix transport_test 2015-05-29 11:16:24 -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 042308eaf8 New streams block when max concurrent stream limit is reached. 2015-05-27 19:15:54 -07:00
iamqizhao 458d514e70 new streams block when the max concurrent stram limit is reached. 2015-05-27 19:03:21 -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 5f91fa6426 gofmt -w 2015-05-27 16:03:26 -07:00
iamqizhao c3c8cfb2da fix tests 2015-05-27 16:01:18 -07:00
iamqizhao a1baa00131 add some comments 2015-05-27 15:45:19 -07:00
iamqizhao 1b5f15dda8 blocking when max concurrent stream limit is reached. 2015-05-26 18:14:05 -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
Qi Zhao a5c8905c33 Merge pull request #191 from peter-edge/lint
Fix golint errors for non-generated code
2015-05-08 13:29:01 -07:00
Peter Edge 5700d19d0e Fix golint errors for non-generated code 2015-05-08 21:46:16 +02:00
iamqizhao fc103b0421 Do not set stream state in RST handler. Otherwise, cancel won't be called if a stream gets cancelled. 2015-05-08 12:24:46 -07:00
Qi Zhao 5a3d0652b6 Merge pull request #180 from gxb5443/master
Implements GoAway frame handler
2015-05-04 12:51:28 -07:00
Gian Biondi fd6bf94947 Makes GoAway Handler no-op 2015-05-04 14:52:15 -04:00
iamqizhao 9d59a879e1 Add handshaker option to ClientConn 2015-05-01 18:10:40 -07:00
Gian Biondi a91c7abef5 Adds logging on receipt of GOAWAY frame 2015-04-30 15:03:19 -04:00
Gian Biondi 3ea7cd9385 Adds mutex when reading goaway flag 2015-04-30 14:04:47 -04:00
Gian Biondi 6fa6f0b130 Moves return on goaway to ensure header decoding 2015-04-30 12:18:09 -04:00
Gian Biondi dbe74dd6c5 Adds mutex lock on setting goaway flag 2015-04-29 15:13:31 -04:00
Gian Biondi 4067e7affb Changes verbage in comment for goaway flag 2015-04-29 15:09:42 -04:00
Gian Biondi ad09fc55aa Sets goaway flag when goaway is received 2015-04-28 23:16:42 -04:00
Gian Biondi fa7e768dee Stops creating streams on transport when goaway is receieved 2015-04-28 23:12:17 -04:00
Gian Biondi f9835aff3d Implements GoAway frame handler 2015-04-28 18:10:35 -04:00
iamqizhao 03b78f7e01 Ack Ping frame 2015-04-24 13:55:46 -07:00
iamqizhao 71c0864854 a small fix 2015-04-21 17:25:53 -07:00
iamqizhao dfe197d91f remove dialing work from TransportAuthenticator 2015-04-21 17:22:15 -07:00
iamqizhao e8768ecbf0 add the missing transport_test.go 2015-04-21 16:37:22 -07:00
iamqizhao 2cf2d0871b remove WithNetwork and add WithDialer to have more flexibility on dialing 2015-04-21 16:19:29 -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 3259049490 fix some typos and run gofmt 2015-04-17 13:50:18 -07:00
iamqizhao d52d8e2d40 gofmt 2015-04-15 15:42:15 -07:00
iamqizhao b8cfe25c6e bug fix: processing header fields regardless in order to keep HPACK tables consistent 2015-04-14 18:50:32 -07:00
David Symonds 80c301c396 Fix mutex error in (*inFlow).connOnRead. 2015-04-13 09:24:25 +10:00
iamqizhao b5774fd760 some additonal fix 2015-04-12 15:55:29 -07:00
iamqizhao 43ba5d8e47 gofmt 2015-04-12 14:53:00 -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
Qi Zhao df42939017 Merge pull request #159 from poopoothegorilla/b/fix-typo-for-error
fix small typo in HandleStreams error messages
2015-04-12 00:00:20 -07:00
iamqizhao bb5e5536ed remove restoreConn because it is not needed 2015-04-11 23:53:50 -07:00
poopoothegorilla 009f834632 fix small typo in HandleStreams error messages 2015-04-11 18:52:18 -04: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